Answer Questions
Hanna Sofia disabling and enabling datagrid row
Hi, I have a datagrid with multiple columns, some of which has combox and datetime picker columns. I want all the rows of all columns be disabled. I want to enable only one row at a time only when user clicks first column of the datagrid. I am able to capture the row and column clicked by user but I cant figure out how to disable and enable a row of datagrid. Following code shows how am I capturing the row and column clicked by user. p ...Show All
Stefan Burwitz Need help...
Well, i am still very new in this programming thing, and would like to know something.. i have written a small app that does calculations from say TextBox1.text and TextBox2.Text and displays it to Label1... Currently i'm doing this by typing in the first "textbox" line and the "second" textbox line, after that i have to push the OkButton.. My question is : How do i get the label to update as im giving my input into ...Show All
pangwa Multiple forms?
Hi, I am making the jump from asp.net to windows so I have very little experience with Windows forms. Requirements: The user leaves the office with a tablet or notebook and travels to a site. The user selects 1 of 4 reports to enter various data. Ea ...Show All
Smitha Dealing with managed/unmanaged interopability
Hey all- Got this problem. On my dev computer, this is working, but on another computer of almost exactly the same setup, it's not working at all. This has to deal with the windows p2p sdk as well, i'm trying to ...Show All
johnsontroye69 Deployment Project
I have the results of a large deployment project that have to be installed. The prerequisites are: To test and see if the V2.0 framework is installed and if not install it To test and see if the MDAC V2.8 is installed and if not install it To test and see if SQLServer Express is installed and if not install it Also the customer project comes with a .MDF database that has to be added to the newly ins ...Show All
Christian Arnold BindingSource.ResetBindings()
I am developing an app with one function being tracking student attendance to classes my company teaches. I want to be able to add new students in a child-form, and then select the student in a combo-box column of the datagridview on the parent-form. On save of the child form I am using: ActivityForm.AttendeeBindingSource.ResetBindings() But it is not successfully updating the parent form with new attendees added. Any advice on how I can r ...Show All
Hakan Soderbom multiColumn Combobox
I am looking for a way to have more than one column in a combobox. I also need a hidden value property to be the "SelectedValue". If anyone knows how to do this it would be great. Kevin The following articles may hel ...Show All
Venkatesh Mookkan 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
Wanda Sue New Default Line
Hi Guys. I've been working with the DataGridView for some time now and have run into a problem. I hope I'm able to explain this good enough. The DataGridView automatically gives you a default new line (the one marked with a star *) when you're working with it, but in my case I need to call it... I'm in line 1 - and I programmatically set the ItemCode field value to 651... (From another form). When I do it manually it gives me the ...Show All
TechTnT ContextMenu not working
Hi ! i have added Context Menu and assigned this Context Menu to notify icon but below code does not work Why this is not working Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click ...Show All
MahroofNM Source code, server and future
So as several of you have noticed, the source code for 1.2 hasn't been released yet. I am trying to figure out what is the best approach for releasing the source code and the future of Terrarium 1.2. Here are the current thoughts.&n ...Show All
John Cole Sizable multiple list boxes
I saw a program which had three list boxes side by side and they were sizable. How did they do that. The list boxes have a common side and when you drag the bar one box will get smaller and the adjacent one will get l ...Show All
Tobias Kober Having Problem to display form with UTF-8 charactors
It worked all fine on my laptop computer with English OS XP, but after moving the project folder to my desktop computer also with English OS XP, VS 2005 no longer displays the forms with UTF-8 charactors in recognisable Chinese but some gibberish strings... wondering what I haven't done to make it right. Any advise please Is that because I didn't backup my program correctly How do you backup a program and move ...Show All
Oliver Samson Deployment options
I have not been able to try out Whidbey's ClickOnce deployment yet, but reading through the documentation I could find, I still have a few questions. These questions come from what we had to do to get the Updater Application Block to work ...Show All
xiaobinker Collection returning no reference
Hello, I have a custom collection, and in the designer, whenever I click Add to add a new item to the collection, I get object reference not set to an instance of an object. Could that be a problem with an attribute I have defined, or something else I don't understand what the problem could be. Thanks. How have you defined your Collection property It should be a ReadOnly property and needs ...Show All
