Answer Questions
missbluebar Custom control cannot be moved in VS.NET designer
Hi all, I developed a custom control derived from ScrollableControl. After I dragged my control onto a test Form, the control can be selected, but I cannot use mouse to move it around or resize it as I can with normal controls. However, If I used the property browser to change its Location or Size property, it takes effect. What is the possible cause of this problem Thanks in advance Hi, Th ...Show All
J.K. - Dublin ListView in Windows sorting Column
Hi im trying to sort a Column in my windows form when the user click on the selected column but how do i make sort the data DESC and ASC i can do it in one direction but not the other too !! any ideas... suggestion.. thanx ...Show All
tandonk Pass Values from Formview child controls to unbound textbox
I have created a formview that is bound to a table in an Access database with an AccesDataSource object. How do I pass the values contained in the labels in the formview to unbound textboxes outside of the formview < asp : FormView ID ="FormView1" runat ="server" DataSourceID ="AccessDataSource2" Width ="519px" Visible =false HeaderText ="Company Address" HeaderStyle-Font-Bold ="true" > ...Show All
Mick Hollins Temporarily changing Connection Str to Invalid Connection
I have a working prototype that needs to be deployed to the user site for review. The backend is an Access database. The only thing that changes in the connection string is the path to the back-end. Since I cannot create a con ...Show All
Gargi666 Populating a TreeView from MS Access or SQL
I have looked everywhere but have been unable to locate how to generate a tree using access or sql. Since the data types are similar one or the other will do. I just dont know how to show the data in a treeview control. Any artic ...Show All
redfox Creating a shape for a window
I know how to make a window a certian shape and dissable the title bar but how do you allow it to be moved in the same way as a normal window. Like lets say i make a window that is shaped like a cd and it has no&n ...Show All
bhayes Console Application Problem
How can I terminate console application in Try…Catch…Finally…End Try block so that code in Finally gets executed. If I use End statement Finally does not get executed. Following is my code written in Console Application. Module Module1 Sub Main()&nb ...Show All
uitmaurik Local Network / Webservice Business Layer
Hi I am developing a windows forms application that is consuming objects from my Business Layer used by web applications I have developed earlier. The windows forms application is supposed to run locally or off site consuming webservice. I would like to  ...Show All
VS Nublet Where is the link to the appupdater article?
Several newsgroups have this link to the source code, article etc for the appupdater. Howerver, the link is dead. http://www.gotdotnet.com/team/windowsforms/appupdater.aspx Where did it go Thanks. read this: http://www.windowsforms.net/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=1910 ...Show All
DaveCook What is the correct way to do impersonation in a click-once deployed app?
Hi there Sorry for cross-posting this thread, but it has gone unanswered in the "MSDN Forums Windows Forms Windows Forms General" forum for a couple of weeks now, so I hope someone in here can answer it instead. I would very much like to be able to run my vb.net winform apps in a different security context from that of the current user. And prior to click-once I simply did this by using the "run as" right-click option o ...Show All
KerryK How to change the keys in the config file
Hi, We are using the ClickOnce technology in Visual Studio 2005 to deploy the C# Windows applications. Here we are getting the problem in the clint site when we need to change the configuration settings. The files in the server deploy with the extention .deploy, when we open the app.exe.cong.deploy file with the notepad and change the keys and save, it is loosing some of the keys. When we try to connect to server and install the applicatio ...Show All
nz bob updating a label based on valuemember of combobox
Hi I am connecting to a sql database. In the table I am using I have 2 columns, scannerid and scannername. I have bound the scannername column to a combobox and set the displaymember to be scannername. I have set the valuemember to be scannerID. I am trying to get my app to update the text of a label with the relevant scannerID. (see code sample below) When i first fill the dataset (by pressing a button) the first name is displayed in the ...Show All
fatih_saki When is the LostFocus event actually fired?
Hello! In the documentation it reads "Occurs when the control loses focus". As far as I understand e.g. a TabPage's LostFocus event should fire when focus leaves the page, e.g. by putting focus at anoter page or outside the TabControl. I suppose I may explicitly assign focus at a control by clicking on it with the mouse (under the assumption it's enabled and so on), but the TabPage's LostFocus event doesn't fire in this case Shouldn't the ...Show All
Bunker mc++ icon/resource trouble
Hi, I am writing a program in MC++ and am having a problem getting my main form's Icon to display properly... My application is crashing, based on the following process: 1 - I made a custom icon for the form (myIcon.ico) 2 - Right Click on the form (in the [design]), click "Properties", then click the "..." button of the "Window Style"->Icon field... 3 - choose "myIcon.ico" from the file chooser 4 - VS .NET then produces the following relevan ...Show All
SlothBear DataGridView doesn't keep column order
I have a DataGridView on my form that I bind to a BindingSource, which in turn is bound to BindingList<MyStruct>. MyStruct is a custom struct with three public properties (say A, B, C). I set up the columns for my DataGridView in code, by  ...Show All
