Answer Questions
Dean Wills MSFT datareader
hello is there is a method to count the number of rows in the datareader thank you for the time hello how can put the results into the datatable and i get the number of rows from the datatable iam sorry that i have disturb& ...Show All
lucasjam Pocket pc Recomendation
Who knows wich Pocked pc's can be used with .net compact FX, and wich one do you recommend Tnx Remco ...Show All
mesanjeeb How to access methods of MDI Child from by MDI Parent Toolbar?
Hi How can I access the methods (Add, Save,Delete, Record navigation methods such first, previous, next & last) of a MDI child from when clicking on a toolbar positioned in the MDI parent form So on the MDI parent I have this toolbar. When clicking on a button on this toolbar it must call a method from the current MDI child form. I am running there are several types of MDI child forms with keeping recordsets, but each contains (th ...Show All
INeedHelp2 Must I use visual studio .net for windows forms programming?
Hello, guys. I am just a beginner and I wonder must I use visul studio .net to learn winforms programming and develop an application Thanks in advance. You could also go for Visual Basic .NET or C# .NET, which are sold separately.&nb ...Show All
weathers2284 Automatically resize columns of controls
We've all seen it before - forms in Windows programs that exhibit columns of label and input pair controls. For resizing purposes, we can all anchor controls to the side they are closest to (left or right), but anchoring to the other side will only cause the middle to overlap each other. I am wondering what kind of good resizing strategies are in use to get the controls to resize dynamically to both sides when its container (be it the ...Show All
Vidya_s6 Com port Communication
Is there an easy way of communicating with the com port using VB .NET Sure is. I just did a Google search on <b>"serial port" "Visual basic" .net</b> and it found thousands of hits. And if you're going to&nb ...Show All
jbm ref a value on existing instance of a form
I am trying to get access from form2 (opened by form1) to a textbox value on form1. I created a public variable in form1 to store the value of the textbox in form1. I know how to get an instance of a new form and get that value, but it doesn't do me any good because the data is not loaded in the new instance. I need to get the value of the variable from the existing instance. I have found the following on google, but I ca ...Show All
Nate L rounding numbers
I am displaying numbers in several text boxes and one of the numbers is always large. I want to round the numbers to whole numbers and eliminate the decimal. Here is my calculation Private Sub Command5_Click(ByVal eventSender As System.Object, ByVal eve ...Show All
gwong685 RichTextBox LoadFile Method with RichTextBoxStreamType
VB 2005 Beta 2. I am loading a rich text box with the contents of a user selected file. It appears that depending on which RichTextBoxStreamType I specify, I get a different resulting view in the rich text box for a specific file. For example, if I try to load a .txt file using RichTextBoxStreamType.RichText, I get an error of: System.ArgumentException was unhandled Message="File format is not valid." If I try to load .rtf file usin ...Show All
Shirajul Alam Wizard control in WinForm 2.0
A new wizard control was introduced in ASP.NET 2.0, I'd like to know is there any wizard control builtin to WinForm 2.0 now If not, how can I create one for myown app Thanks, Hello, Do anyone know how to create "Wizard" in WinForm, just like what DotNetMagic Wizard does Thanks, There are a couple commercial ones available. One of them is below that we use on our ...Show All
johnfrost Eventhandling in Datagrid
Hallo, I want to know how to implement the Eventhandling such as doubleclick in Datagrids and how to display the record in the selected row. Can anybody please help me thanks n regards swingme Double click http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q869q I dont understand the second part of the question but you might find the answer in one of these links http://www.syncfusion.c ...Show All
Gethyn Drawing points and lines in forms using VisualBasic.NET
Please excuse my extreme ignorance, I'm very new to this .net thing. Can someone give me a shove in the right direction please. I want to display points on a form using VB.net and then, later be able to rotate them, zoom in/out etc. But, first things first... I've declared a Point object and set it's x, y co-ordinates. I want to be able to display it - How do I do this Dim pt As New Point Pt.X = 100 pt.Y = 100 -- Help needed ...Show All
Dan Holsonback Howto change color of buttons on Tab
Hi, Could anyone help me with changing the backcolor of buttons on a Tab Control.I am able to change the backcolor of tab pages,but cannot change the backcolor of the tab buttons. Regards, Supriya sorry, my fault. Please change the last line in tabControl1_DrawItem from e.Graphics.DrawString(tabTitle, font, System.Drawing. Brushes .Black, x, y); to e.Graphics.DrawString(tabTitle, font, Brushes .Black, e.Bounds); ...Show All
Leo Kent Form Position
I use the load routine of the form to position dialogs relative to the parent but when I use .Show instead of .ShowDialog to show a modeless form the load statement doesn't seem to execute The Load method should be called on ShowDialog and on Show methods. Did you break at the load method and got nothing while debugging My mistake - I returned to the project after your message and it seems to work n ...Show All
Mike Southerland Can't leave a bound combobox after deleting its content
I have a combobox (dropdown) that contains something that was loaded from a database. The selectedvalue of the combobox is bound to a typed dataset. The database's column that is displayed by the combobox allows null values. If I select the combobox text and delete it I'm not able to leave the control anymore. I have to enter anything. I experienced the same behaviour with a textbox that is bound to a money column using a format type ...Show All
