4,588 Topics
| |
My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'( | |
I am writing a quiz program in C# in Visual Studio. When I build it it doesn;t return an errors or warnings. However when I debug, it just brings up a blank screen with no text or buttons etc. I have tchecked all the names match those in the forms … | |
hello i am tryna extract information from a chinese website but i dont know which keyword to use to extract certain information. the html code snippet is shown below .this is a result from running a query on c++ books i want to get the following information book title C++反汇编与逆向分析技术揭秘(《程序员》杂志“2011年度十大最具技术影响力图书”,好评如潮) … | |
I am trying to generate random points on the canvas. So i want to the random point on the screen to move to a new random location, when mouse touches it. How do i do this?? this is not happening with any of the mouse events. An example would be … | |
Hi every one, I just wondering how I can draw grid lines (Like Grids in Graphics and Cad Drawing files) on a Panel to better presentation for other Graphic objects on the panel? Is there any way that we can set the Offset and cell size and number base on … | |
Hello I'm relatively new to Microsoft Visual Studio. Now, the project that I am working consists of a GUI class and two separate classes (lets call them A and B). I am working on the GUI and one of the other classes (A). Basically, these classes interact woth some hardware … | |
How to convert this on CSharp? const char* data = "\x2D\x90\x01\x00\x00"; int version = 100; // is this 1.0? void* testAddress = (void*)0x4F77BB; if (memcmp(testAddress, data, 5)) | |
I have searched this forum and see that there are quite a bunch of topics related to files being used by another process. However, none of them seem to fit or work for me. This is my scenario - I have an XML file that is used as a template, … | |
Can some one tell me is there a way to convert vb.net code to c# in VS2010? | |
Could someone tell me why I can't use the following code? It kept saying 'string' does not contain a definition for 'Match' and no extension method 'Match'. string SearchText = "7,true,NA,false:67,false,NA,false:5,false,NA,false:5,false,NA,false"; string Regex = @"\btrue\b"; int NumberOfTrues = Regex.Match(SearchText, Regex).Count; | |
Hey Im trying to make a social network (local based, not anything to take on other social networks) but Im not going to reinvent the wheel and make everything from scratch. Thats why Im asking if there is any CMS/library/etc to make my life easier. Im going to use C#/ASP.NET … | |
Hi, I have created 2 forms. Form1 and Form2 Form1 contains button to open form 2 Form2 contains a check box and ok button When checkbox is checked and I click ok button, the TopMost property of form 1 is set true. But I m unable to see the change. … | |
I want to implement an event similar to taggin a photo in wpf. Wht functionality should i use to mark a certain area of an image in order to tag it. thakx in advance. ps: i have tried <pres:RadTransitionControl.ContentTemplate> <HierarchicalDataTemplate> </HierarchicalDataTemplate> </pres:RadTransitionControl.ContentTemplate> and <Image></Image> but those dont support that fuctionality | |
Hi Guys, I have created windows application project in framework 3.5, vs2008 with Access database when i changed target platform to x64 it will give me an error like 'The microsoft.jet.oledb.4.0 provider is not registered on the local machine'. How to solve this thread Thanks in advance. | |
hi there, I got a software hacking questions which I guess the files were written in C# ..Each of the files will pop out a dialog box which will ask us to enter a string or something..if the string we entered is correct, then the status will be changed into … | |
Hello, i am working on a section of a project, that uses large number of sum methods. These sum methods are applied on a Datatable To test the best method, i use the following **Datatable structure** Class ParseLog { public DataTable PGLStat_Table = new DataTable(); public LogParser() { PGLStat_Table.Columns.Add("type", typeof(string)); … | |
Hi, I've got 2 forms, after click on the button I'm hiding first and showing second.. How to put the second form to the same location as first one? I've tried: MMenu m = new MMenu(); // MMenu is the first form this.Width = m.Width; //Width and Height lines are … | |
hi eveyone i have to big problem so this problem have two datatable first table like column1----column2----column3 row11-----row21-----row31 row12-----row22-----row32 i want to inset to other table column1---row11 column1---row12 column2---row21 column2---row22 column3---row31 column3---row32 my code: DataTable orjiTable = new DataTable(); DataTable gecicitable = new DataTable(); adptr.Fill(gecicitable); // orjiTable.Columns.Add(gecicitable.Columns[0].ColumnName.ToString()); // MessageBox.Show(gecicitable.Columns[0].ColumnName.ToString()); foreach … | |
I have a text file which will look like this :Hand 1: :Hand 2: :Hand 4: :Hand 3: :Hand 3::Hand 1: :Hand 2: :Hand 1: :Hand 4: :Hand 4: :Hand 3: :Hand 3: :Hand 3::Hand 4: So now what I want to know is how do I get the maximum … | |
I have the following code that I cannot figure out how to get to work: namespace Project2 { public static class Variables { public static List<string[]> tran1; public static List<string[]> tran2; } } private void Submit_Click(object sender, EventArgs e) { //Find the schedules // Variables var; string[] transaction; transaction = … | |
Hello guys, Recently, I'm working on a project to develop voice activation detection for my predicative dialer system. I'm using a sample program called Ozeki VoIP SIP SDK and I'm quite satisfied with it. This SDK is very flexible as you can implement it to already existing systems. You can … | |
Hi there, I currently have a code that will search for a bitmap in a screenshot taken by this program, however, the bitmap exists three times in the screenshot and I want it to click the second time it finds it. Is there any way to do this? A lot … | |
Hi, Does anyone know how to create a delay in C#? I dont like to use Thread.Sleep because it makes the GUI unresponsive. Do you know of any good alternatives? | |
Alright. So I'm fairly new to C#. What i've down thus far is create the beginnings of my program: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace WindowsFormsApplication1 { public partial class BirdNumber : Form { public BirdNumber() { … | |
I have a big problem I dont know how to put unicode text (polish special chars) into myappointment.RTFBody Field. when i type myappointment.RTFBody = "{\\rtf1\\ansicpg1250\\b POWÓD\\b0}; I receive result "PO????" I dont know why it does not work..Especially when I've used "ansiscpg1250" which should change page of formmating to Estern … | |
I am using Webbrowser control to automate the data entry but there is a file upload control for which i am unable to upload file. The code of target page is : <form name="iform" style="margin:0px;" action="http://test.com" method="post" enctype="multipart/form-data"> <INPUT TYPE="button" value="Change Image" style="width:112px;"> <input id="file" name="image" type=file class=hiddenMask onchange="upload();" this.edit="false"> … | |
Hello. I have some problems with recieving text from ListBoxItem. My code is below: ListBox list = (ListBox)this.FindName(e.Parameter.ToString()); ListBoxItem item = (ListBoxItem)list.Items.GetItemAt(0); //****here is exception**** T.Text = item.Content.ToString(); list.Items.RemoveAt(0); The exception throws: Unable to cast object of type 'System.String' to type 'System.Windows.Controls.ListBoxItem'. My ListBox contains numbers, but it does not … | |
plz help me in solving this question & I need the answer quickly (Set of Integers) Create class IntegerSet. Each IntegerSet object can hold integers in the range 0100. The set is represented by an array of bools. Array element a[i] is TRue if integer i is in the set. … | |
Hi All, I am working on application with a MDI Form, i want to close all opened child forms while opening any of the child form. How can i do that?? Regards, Vidya | |
Recentlt, I need to insert comment in my pf document, but I never try it and finds little information from the intenet, but I found that the PDF has the function of showing the comment and hiding the comemnt, so I try to convert a word document that contains comment … |
The End.