Answer Questions
RustyJCNC On Validation, Value is rounded!
I have a single datatype bound to a masked textbox in 2.0 (it's a gps coordinate). When I enter a value XXXX.XXXXX, it gets rounded to 3 decimal places, which I don't want. I tried a custom formatter - but I'm sure what interface implements the .Parse method that must get called when converting the string-->single. Help! Thanks, Nick. ...Show All
Dave Relyea GUI Guidlines
what are the latest gui guid lines to use is it 3D borders or Flat Borders ...Show All
Andrea Barbieri How to make the end of TextBox.Text in view?
I have a TextBox with WordWrap to false and Multiline to true. I am using it as a text editing box for my application. I can set the cursor to the end (SelectionStart and SelectionLength). But how do I programmatically make the TextBox to display the content with the last character (cursor) in view when the text is longer than the width of the control Thanks in advance. Have you tried the TextBox.Sc ...Show All
CWC1980 Adding BLOB images to a ImageList
Hello all, I'm using the code below to read a BLOB from a sql table and add it to an image list. When i run the code, i receive a "Parameter is not valid." error message. Anyone see anything wrong Dim myReader As SqlDataReader Dim mySqlConnection As SqlConnection Dim mySqlCommand As SqlCommand Dim ms As New MemoryStream() Dim im As Image = Image.FromStream(ms) 'ms.Close() 'OwnList ...Show All
JRafe Get the local account domain name
How can I get the windows domain name for the locally logged in user Try one of these .... m_Name = Environment.UserName m_Workstation = Environment.UserDomainName &nbs ...Show All
JeffSE Moving the input character position in a textbox
Requirement When I write a string to a text box from a datatable, the cursor position is at the beginning of the text. (By cursor position I mean the character position for entry of new characters typed in to the textbox by the user.) How do I move the cursor position to the end of the text so the user can automatically continue adding text to the end of the text already in the textbox Problem Cause My process handles new rows of a f ...Show All
sjb Strange Errors in VS.NET
Have any of you experienced the following error while compiling a windows forms application: The application fails to compile and the errors are on lines numbered 16707566 +/- . If you click on the error in the task list it doesn't take ...Show All
Rinoa Getting the number of a listview item
Hi, I've been scratching my head to try and get the number of a listview item when it is selected. For example I have three items in the listview and the user selects the second item. How can I determine that it is the second i ...Show All
topdoubledigit refresh() method
Whye does the refresh method cause the controls on the panel to "shake" and flimmer Anyone have a solution for this Hmmm...I think the problem only relates to groupboxs. Other controls looks to be ok... if you're ...Show All
Leonard Add/Remove programs UI
I have a quick question, How would i go about creating a menu to look similar to the add/remove programs in windows xp. I Want to display several titles and then when i click on one in the list, the area expands and has more information. Thank you Use a ListBox with DrawMode set to DrawMode.OwnerDrawVariable, and draw the items yourself. ...Show All
GaryHibb Remote Access
Hi, I have a windows forms application, developed under .Net 2003. This application mainly accesses a remote Oracle database to generate reports. To be able to run my application, I have to install it on every PC that needs to use it, along ...Show All
MikeCade XPanderControl
I see there is no code for the XPanderControl and there is no info available on it on the Vertigo site. Will this be made available or can I use the XpanderControl DLL in commercial projects We'll get this code out to you&n ...Show All
tv_3 form close reason
Hi! I would like my form to be hidden when the use clicks on the window close button (the X button on the top-right corner). The e.CloseReason does not provide a value to determine that this particular button is the reason that is closing the form. This was very simple in VB6: Private Sub Form_QueryUnload(Cancel As Integer , UnloadMode As Integer ) If UnloadMode = vbFormControlMenu Then   ...Show All
benzhi Draw a String Around a Circle
Does anyone know of a way to draw a string around a circle so that the base of each character is on the circle like a text path in illustrator. thanks <a href="http://weblogs.asp.net/justin_rogers/archive/2004/08/28/217716.aspx">http://weblogs.asp.net/justi ...Show All
Tommief c# getting crazy with a simple insert into....
Hi all :) Here is my problem: myCommand = new SqlCommand("insert into myTable values("@field1")", myConnection); myParam = new SqlParameter(); myParam.ParameterName = "@field1"; myParam.Value = myTextBox1.Text; myCommand.ExecuteNonQuery(); Whatever i write in myTextBox1.Text, in database i obtain ever a "null". If i modify my insert like:"insert into myTable values('" + myTextBox1.Text + "')"; it work...but we know that it ...Show All
