Answer Questions
Vinay Kittur Top-level forms
My project uses two forms: the first form (frmLoading) appears at the starting of the program. Then I need to close "frmLoading" and to show "frmMain". I use this code to show "frmMain". frmMain* frm = new frmMain(); frm->Show(); And to close "ftmLoading" I use: this ->Close(); But when frmLoading closes, frmMain closes too. And I want to forbade the closing of frmMain, when I close frmLoading. How can I realise it ...Show All
KenLinder DataGridView Faq in vb.net ??
I've finished writing the first DataGridView FAQ. This isn't just a list of questions, but a comprehensive overview of the DataGridView. Please reply to this thread with addition Q/A questions, corrections, or suggestions for improvement. http://www.windowsclient.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc There are also a set of DataGridView samples that help with common areas available at http://ww ...Show All
dpghost Debugger doesn´t stop on breakpoint
HI! I´m developing a C# application using windows forms. I made a copy of my solution and saved it on another computer. Now when I try to debug my project on this computer I can set a breakpoint and the debugger stops at this certain& ...Show All
BASmith listbox formatting
Is it possible to format the contents of a listbox For example, have the a first name then tab then the surname on each row Cheers in advance You want multiple columns, right Then either use a multicolumn listbox, or a ListView control with view style set to 'details'. Cheers jvanderbeek & eligazit! Shall crack on with your suggestions and see which one I feel comfortable ...Show All
Bob Cohen To MDI or not to MDI
Hello, I am still in the throws of planning my first C# app., and have some fundamental questions about MDI behaviour. I am from a web app. background, so this is fuzzy for me. I would like to have a "Console" (or dashboard) type window that is always visible, which would serve as the primary starting point for my application and have a common menu and toolbar. From there, users would launch different windows based on their needs. However, I wou ...Show All
Jharker1987 jagged arrays don't serialise correctly as properties in the visual studio designer
Hi! I have a problem when using jagged arrays as properties. I'm using c# visual studio 2005 .NET 2.0. When I declare a propety as a jagged array, visual studio's designer seems to obmit a pair of square brackets when saving the property in the xxx.designer.cs file. Example: //my declaration public int [][] MyProperty2; //my ini ...Show All
kdlady1974 DataGrid - Unbound Mode?
I have an app that I am porting from VB5. In it, I used an unbound grid to display a seating arrangement. It allows people to be moved around the seating chart by right clicking a cell and selecting from a drop down list f ...Show All
mmarsh Assembly.GetTypes() call throwing exception
The following used to work: ISProject project = new ISProject(); Assembly treeAssembly = Assembly.GetAssembly(project.GetType()); System.Type [] treeTypes = treeAssembly.GetTypes(); Don't know what changed to the assembly that now causes the GetTypes() call to throw the following ReflectionTyp ...Show All
Craig Guyer About access
I have a table in access with CustomerID as primary key and autonumber. If i delete all rows and add a new the CustomerID value does not begin from 1. I any way to delete all rows and the CustomerID value to begin from 1 That happens with all autonumbersing in databases. The database keeps track of the current position of the number and increments it from that position, regardless of what the user does on the t ...Show All
gwong685 drawing a table in C#
Hi all, well, this is my situation: I want to draw a table on a user control with 2 cxolumns and x rows. Everything works fine, however, if I scroll up/down, the table looks quite strange as it is repainted all the time. Is there any way to solve this Thx for the help! Regards, Mel hi, well i am also trying to do the same i.e i want to draw a table on a RichText Control, can u tell me how to draw ...Show All
Tung Add User Control in Datagrid View
Hi All, I m stuck with a problem Can any body solve my problem , The problem is how we can add the custom control in the datagrid view column Means i want to show aa user control in the a datagrid view column lik ethe simple combo box , button etc, Thanks for ur great help in advance The DataGridView only supports showing a control (such as a user control) when you are editing a cell. If that is what you want, check out ...Show All
Dan Bunea MSDN dropdown and listbox
hi, i already populated my dropdownlist with data from database.i also have a textbox. what i would like to do is whenever the user choose from the dropdownlist it will place the data into my listbox then choose again then add data into the listbox again. then after the user chooses it will press button to create another table in my database with the value and text in my listbox. the name of the table would be the input i ...Show All
RadioDon Databinding to custom list-selector control
I'm trying to build a custom list selector control that has a collection of like objects in it (ie buttons). I'd like to be able to databind to this control where the page size matches the number of objects in the collection. This seems like it should be pretty straight forward, but for some reason I can't get my head around it. Any advice/samples/pointers would be appretiated. Thanks! -james OK - I think you'r ...Show All
Elena Kharitidi Forms / Web Integration
I have stumbled into the deep end of the pool and could use some help. I have a VB.Net 2003 WIndows Forms app that I need to integrate into a web environment. I need to perform the following: a) Validate that a good Internet connection exists b) Programmatically log onto a web site using userid & password provided by the windows app user. c) Authenticate that this is a valid account d) Pass data fields to a "program" on the web site to updat ...Show All
Treblent The v2 DatePicker doesn't support null databinding (bug?)
The following code (which is a simple test windows form - visual studio team 2005 system beta 3 refresh) demonstrates what I believe is a bug in the DatePicker control. When a datepicker is bound to a binding source set to an object, properties of type DateTime that are null are not updated when the user (at runtime) changes the date. This is a real pain; and, frankly, makes the date picker useless to bind to database-derived datatables w ...Show All
