Answer Questions
JennaG mess up lisbox during looping.
I don't know if it's a bug or not but i have a listbox with some items in there. on the click event of the listbox i put a while loop. what happens is that the listbox automatically highlite the last item. You can test that on ur VS2005. Is there a way to fix that simple infinite loop; private void listBox2_Click(object sender, EventArgs e) { bool inf = true; do{ Application.DoEvents() ...Show All
REdwards ToWords() in crystal report, Help !!!
hello ! Anyone know how to convert the currency to words by using in crystal report for example: $123.45 convert to --> one hundred and twenty three and cents fourty-five. I know that it will using the ToWords() funuction. But it will convert the $123 ...Show All
Greg Lewis How to fill dataset from satareader
Is there any direct way to fill DataSet from DataReader Yes, but why would you not use DataAdapter and Fill method If you need to though the basic steps are 1) Create a new dataset 2) Create a new Datatable 3) Assign the  ...Show All
jstfsklh211 Help: DataGridView.AutoSizeRows
hi, i was searching about datagridview tutorial and i found this page http://msdn.microsoft.com/vbasic/reference/windowsforms/default.aspx pull=/library/en-us/dnvsdev05/html/vs05a9.asp anyway it seems out of date i depened on intellisense to know the newly updates for this methods. i got this code to change the datagridview rows height but unfortunatly it didn't work can anyone tell me what is the problem in it Me .DataGridView1.Aut ...Show All
sigol please i need help
hello i have installed VS.net on windows xp professional,i have my windows application called archive and i build it and i run it then there is no problem but sometimes i add additonal forms or add some code to the previous forms so i make ...Show All
Kenneth Vernelen Splash Screen
I am creating a splash screen that will load up initially when my program opens up and closes when the main form behind it opens/loads. Similar to the Microsoft Office applications. The problem is I do not know how to close that spl ...Show All
OClaudiu Databinding to Combobox
I have a dataset with two columns, a Name and an ID. I bound the dataset to the combobox so that it displays the Name and the Value returned with a name is selected in the combobox is the ID. However, I also want to know wha ...Show All
Rupesh DropDownList SelectedIndexChanged not firing
Is there a trick to getting a SlectedIndexChanged event to fire on a DropDownlist control No matter how I select an item this event does not fire. I ahev checked my code, I can do even handling for any of the other controls in the form but nothing on this DropDownList. Thansk in advance. Hi I have the similar problem w/o the event firing for dropdownlist when i pass a function at selected change event ...Show All
sn1022 WebBrowser URL
Hey, Using the WebBrowser control how do you make it so that a textbox always has the URL you are at in it like if I was to make the default URL of the WebBrowser www.google.com and then the program is run, but the textbox dose not automaticly have the Url in it...How would I make it so the Url is always in the textbox Thanks :) thiswebpage.Document.Url.ToString(); // remove URLtextbox.Text = thiswebpage.Document.U ...Show All
HemlataArcot Setting the index = -1 in Databound combo box
HI, I am having a problem in a databound combobox , whenever I set the selectedindex value = -1 an error is poping up " There is no row at position -1". What I am doing here I have a text box on my form which is bo ...Show All
Paminboston BackgroundWorker IsRunning Property?
I'm trying to use the BackgroundWorker class and wanted to find out if my instance was currently busy. I was hoping for a IsRunning or similar type of property. But none exists. Using reflector I saw that a private field exists cal ...Show All
Muerte33 Calling Controls in Second From
I have two forms in my application. I used Form2 frm = new Form2 (); frm.Show(); to show the Second From. How Can I populate the Data in datagrid in from 2 from Form1 in Vb I can Write like From2.text1.text = form1.text1.text You could mark the controls as internal or public (they're protected by default), which would allow you to access them from other forms in your application. This can lead to a relatively brittle design chang ...Show All
James Collett Loading a form into a form ?
Hi, I'm stick with that problem for a while now and I don't know how to proceed. What I'm trying to do is very simple, in fact maybe to simple... I have an application using a main form that contains a menu strip. I want the rest of the form to act as a container to load other forms into it. So when I click a menu item, the appropriate controls fill in the container space (a bit like the tab control but without the tabs). I don ...Show All
miSolutions - Jason DataGridView CheckBoxCell Value Changed
How can I immediately know when a Checkbox in a DataGridView CheckBoxCell has been checked I am using the CellValueChanged event, but this fires too late - only after you navigate away from the row or hit Enter. I want the same behavior as in a ListView's ItemCheck event - which you get as soon as the checkbox is checked even before currently selected row changes. So when the value changes, I can handle the event immediate ...Show All
BarryBenight Execute a C# or vb script in .net
Hello Everyone, I'm looking to create a processing engine that will accept script files (vbs or c#) and run the script. How would I go about loading a script and running it vb or c# would be good. Thanks! Microsoft.CSharp.Comp ...Show All
