Answer Questions
Roland Hasenöhrl How would I create a control that looks like this?
Hi. Here is an example of something I want to create graphically: Now I think I can handle the content (i.e. get a datagrid and populate it :P) but want im after is information on how I would create the item. It needs to have the little button in the right to collapse and expand the 'mini-form', it needs to have the heading (table name) and it needs to be drag-able. Another criteria is this has to be able to go into a form... specifically PAR ...Show All
Eamorr Failed to load resources from resource file
Hi, I may just be being thick here but, after installation, setting up a new Terrarium, compiling the simple carnivore, and trying to indrocude the animal to the Terrarium, I am getteing the following error: "Setup Error Failed to load resources from res ...Show All
sadietz Reading ini file?
How can I read ini file using vb.net app. ini files are predominantly just simple text files. You can read an .ini file by using the normal way to read text files. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconr ...Show All
KrisJ A bug? Nobody answers this kind of question, MS Fellows?
I found quite a few question about initializing default value programly throught BindingSource in this forum,but noboby give a satisfied answer for it.We used only a bindingsourse,bindingnavigator,and a typed table with a rowguid pk column,and a few field needed to be initialized.I think this is a common scene in work. private void tableBindingSource_AddingNew(object sender, AddingNewEventArgs e) ...Show All
Daniele Balducci Freezing columns in DataGrid control?
Is there any way of freezing columns in Windows Forms Data Grid control Thanks If you're using Whidbey, this functionality is built into the new DataGridView, but otherwise, no. You'll have to do it yourself, but it's not easy. It'l ...Show All
Patrick D Create custom UI type editor for control property ?
Hi, In my custom control, I have a property of a type IRenderer , which is a custom interface in my project. During design time, for that property, I want the PropertyGrid to display a list of all IRenderer -derived controls/components on the current form. How can I do that I suspect I have to create a custom UITypeEditor but I have no clue. Perhaps I need some reference documents or articles. Thanks in advance. ...Show All
Sachin Choudhary Who should use ClickOnce?
I have been testing the ClickOnce technology for weeks now, and I am continually asking myself the question: "In what way is ClickOnce designed to be used " Using VS 2005, or the Mage SDK tools requires the developer to know the application URL ahead of time. This is not feasible if you normally vend your software to a business or organization that will then distribute it to their workstations via their choice of web servers, file servers, etc. ...Show All
JpDev Updating Foreign Key on Child Table?
I have a simple 'one-to-many' data relationship which I have established using the VS 2005 designer. I am using a tab control to seperate the Master/Parent table from the Detail/Child table. When I click on the Detail tab, my form correctly populates all the appropriate detail records into all all the relevant bound controls (text boxes/comboboxes). It even includes the correct Foreign Key value (which is bound to the Foreign Key Field of my ...Show All
takashikatori_9000 Combining ClickOnce and MSI Installer
Hi, I have been surprised by the gap there is between ClickOnce and MSI. And I need to solve this. The scenario is this: Install a windows form application on a client (registry values, files, folder creation) and use ClickOnce to just update the application. Any GOOD documents about it Thanks!!! OK. Let me try to explain: 1.- You will need to create an Installation project (MSI) and finally get your app.msi file. 2.- ...Show All
Rick Sivernell get the highlighted row index of a datagridview
hi all, i need to know the highlighted row index(which has arrow mark on the row header) of a datagridview control, but the problem is i need to know this when the datagridview control will not have focus. can any one help me on this. thanks in advance --- sombhotla hi, Is your problem solved If yes then could you please post the answer Thank you, Bhanu. If you only need t ...Show All
Brian T Passwords
Hey, how do you make it so a program has a login and the password is set to test and in a certain part of the program you can change the password and once you change it then when you log into the program next time it will be what you set it to Thanks The way it looked to me, you found a book that teaches how to use the framework, for people who have learned a language before. The book I found seems to teach the language, which i ...Show All
davidakos newbie needs some help with vb 6
I am trying to build an application in vb 6 and I can't seem to get any buttons "linked" to another form. ...Show All
Karthik B !!!URGENT!!! Accessing the Application Manifest and Deployment Manifest at runtime
Basically, I want to be able to load both at the startup of my ClickOnce app to 1. Get the Publisher and Product info from the Deployment manifest 2. Iterate through the Application manifest for optional download groups to provide a background process to pre-fetch these groups. I've scoured the API trying to find out how to get access to the current manifest in a programmatic way.... Thanks, Jim ...Show All
Letícia Banffy Storing to database from datagrid
I want to store a table from data grid to a table in database. I defined a dataset. Is is possible to save the whole table or I have to save each row separately How can I do it Thank you. I would use a DataAdapter to store a table to a database. Your description isn't very specific, but generally what I would do is the following: Create a connection to the database. Create a DataAdapter using the connection. ...Show All
Pascal_Mtl wat is the actual way to open & close window form?
wat is the actual way to open & close window form i doing the login form which will show the main page after user login.. so i put this code at login button frmmain main= new frmmain(); main.ShowDialog(this); then it will load the form main, but how to close it i try to use main.close(); main.dispose(); still cant'.... is it anything wrong I dont know how to close it. I tried with dispose or close but ...Show All
