Answer Questions
Sajjad Mussani combobox issue
Hi I have a problem regarding the combobox. I am using the dropdown style as dropdown.The length of the entries in the combobox is more than the length of the combobox.when i select an item in the combobox, the text that is selected is&nb ...Show All
nop Tutorial on writing to text files in notepad
Hi All! I am new to VB and this community. I am working on a VB.NET project for work where I need to be able to write data that is input by the user to a text file, and to do so every time the user clicks the appr ...Show All
Gyea How to create descriptions in IDE popups, and Object Browser
When I am coding in VB, and create a system object, the IDE gives me a tool tip listing of all of the methods, objects, properties etc. that is defined for that class. As part of the Pop-Up, it gives a short description of the&n ...Show All
TomC456 DataGridView: prevent column reorder for one column
It is more a beautification issue, but nevertheless what is a GUI for.... I have a DataGridView and it displays depending on the data different columns. I allow the user to reorder and resize columns, but also give him an "AutoSize" button to readjust the widths of the columns if he messes up. Because I do not know how long the data in the columns is, I start with sizing the columns by "AllCells" except the very last one ( ...Show All
Eren use a variable to cycle through textboxes
I have about 15 textboxes, all of which I want to save in a string array. Right now I just code: array[0] = txtbx1.text array[1] = txtbx2.text.... and so on. Is there a way that I can use a for loop and use x instead of 1 and 2. so it would look like this: For( x=0;x<=15;x++) { array[x]=txtbx + x.text; } instead of writing it 15 times Thanks. Just remember that the lead ar ...Show All
zograf Where is the DataForm Wizard?
I am a reletively new C# and VS programmer and I am looking for the DataForm Wizard to help me jump start a project. I found it in VS 2003 but cannot find it in VS 2005. Where is it Check out this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=114283&SiteId=1 Tony So there is no DataForm Wizard in VS2005. That is VERY unfortunate. The "samples" web site is interesting, ...Show All
Ariel Martin Properly exit an application that doesnt wanna die
Been asking a lot of questions lately, but I guess thats what these forums are made for so here goes another one... In my application I have an exit button, and also use the same code for the Form_Close event, incase the user clicks the X instead of my "Exit" button. What do I do to properly exit. If I do "this.close()" it closes, but if I open the Task Manager, I see my application still running, just not visible. If I throw an Application.E ...Show All
thesaint381 Setting form dirty for save when changing properties in ControlDesigner code
Annoying quirk of form designers that I've been trying to work around. I have a custom ControlDesigner class for my custom control. When I type new values into the property grid or make changes using SmartTags elements, I immediately see the name of the file change from "MyFile.vb" to "MyFile.vb *" to indicate that the IDE knows the file is dirty and needs to be saved. But I added a custom "edit" glyph to my co ...Show All
Molavi Help on forms
Hallo! I needs some help. I have two forms, the first one we will call "sdfjkgfwerngihfdnkgenm", the second one we will call "sdfjkgfwerugihfdnkgenm". Got it LOL No, a and b. Now, form "a" starts up, you press a button on it and then ...Show All
duke_ DataGridView KeyDown?
(VS2005 - beta 2) Hello, is there anyway to capture a keypress or keydown event in the DataGridView I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught. My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that. Thanks -Adam T ...Show All
fmoreau31 Double Click between Datagrid Columns to Expand Column
How does the datagrid know to expand the width of the column to the length of the content (text) in the column. I would like to programmatically mimic this behavior. My app allows the user to select the column that they would like&n ...Show All
Allan Hirt Controls on tab pages
Hi, I have a tab control and several tab pages within it. I have a set a controls like buttons, textboxes etc... that I want to appear on each of the tab pages. I want the same set of controls to appear on each of the tab pa ...Show All
Azin Master-Details using Listboxes
Hi, I am using Windows Forms, not Web Forms. My desire is to set up a Master-Details interface using 3 Listboxes. I have three Listboxes (not DataList and not DataGrid): 1) Listbox_A 2) Listbox_B 3) Listbox_C Listbox_A is the master of Listbox_B Listbox_B is the master ...Show All
Angelms how do you talk to another datagrid on a different form?
I have the main form with two datagrids (grida & gridb) Also on this form i have a button.. when you click the button another form opens.. now heres the problem.. when the user click exit on the newly opened form.. i want the&nbs ...Show All
David_bubu PROGRAMMING STUDENT NEEDING URGENT HELP FOR ASSIGNMENT
If anyone would be so kind as to help. I need to write the code of a button which will display the factors of a number (as entered in textbox by user) and display them in a listbox. Also need to code a button that will disp ...Show All
