-
- About Propertygrid--How can I sort the Category?
by xiaoaowanghu
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I am using the propertygrid to show the properties of my object which have categories.
But the sort of the categories is not correct.
For example, the properties of category A show before the properties of category B.
But actually , I want the category B show before A.
I have try the property of propertygrid object which names PropertySort.But it can't fill my need.
Thank you!
-
- Change prerequisite location after publish
by Johan Burger
- 8 Replies
- Last post
by Johan Burger
- Hi,
I publish my application to our development server. I then manually copy everything to our Test server, change all the db connection info, resign manifest, etc. and the app works great.
The problem occurs when a user, without the .Net framework, runs the app for the first time from the test server. The installer tries to install the .Net framework from the development server instead
-
- capture the cell contents of a datagridview
by steve1_rm
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hello, I have a datagridview which contains a combo box column (Status) with these values (To be ordered, Ordered, Delivered) Then the user click on the combo box and selects Delivered, i want an event to fire so I can capture and compare what the user has selected. What is the best event to use My design is like this: IF(combo box cell is changed to "Delivered") Then 'Then do somethi
-
- locking of combo box
by Biswajitghosh25
- 14 Replies
- Last post
by Gavin Jin - MSFT
- Dear All,
I just added a combo box in my form. I wrote the code in
public frmForm1()
//==================
{
//This call is required by the Windows Form Designer.
InitializeComponent();
comoboBox1.Items.Clear();
comoboBox1.Items.Add( "USA" );
comoboBox1.Items.Add( "INDIA" );
comoboBox1.Items.Add( "UK" );
comoboBox1.Selected
-
- How to trap for esc key in a loop?
by DennisV
- 11 Replies
- Last post
by DennisV
- I want to trap for the escape key (Windows form) in a loop not directly connected to any control (no keyboard events available).
Isn't there a simple way to look for the esc key while I'm in the loop so I can break out if it's taking too long
Thanks,
Dennis
-
- Noob Question - Pull data from combo box
by xxdesmus
- 2 Replies
- Last post
by xxdesmus
- I am sure this is a very basic question which will hopefully have a simple (and quick) response from someone.
I am new to Visual Basic, and I've began to work my way through it for about a week now. I am creating a little proof of concept application to test my skills and I'm stuck on something.
I have several combo boxes filled with data (not bound to a DB). What I'm trying to do is
-
- picture box binding
by augustin
- 14 Replies
- Last post
by augustin
- How do you bind images automatically into the picture box just by selecting the data from the combo box
-
- How to apply multiselection to agroup of user control
by Koray Samsun
- 3 Replies
- Last post
by nobugz
- Hi, i built a user control displaying images, name of images and some other info. I placed many of them in a panel and now want to select more than one at a time, highlight them.
Is there a way to let this goal handle by windows Just like an explorer.
-
- Force "Install for everyone" on VS 2003 setup project
by McGeeky
- 4 Replies
- Last post
by McGeeky
- Hi,
Is it possible to disable the "install for just me" option or force the selection of "install for everyone" on the Installation Folder dialog For our system we don't need to make a distinction between the two and I find it is distracting for the users.
Thanks
McGeeky
-
- Accessing cookies from response object
by HariAdu
- 7 Replies
- Last post
by nobugz
- Hi,
I¡¯m working on a winapp that sends a httprequest to a remote server. The server actually sends back a cookie for login request. I have searched a lot. I didn¡¯t find the right solution for accessing the cookies from the response object.
I tried to check the cookie count on response object which shows always as 0. Some one please tell me how to access cookies from a httpresponse.
-
- Override the activate method in from a menu item in a MDI form
by XiaoLin
- 0 Replies
- Last post
by XiaoLin
- Hi, Hope soem can understand what i mean to do and can help me.
I've got some flickering issues in my applicattion, some of them is coming from the activation in the MdiChildren forms. I've got some quick bottom to open the child form and I've also found some code to activate them in a smoother way. But my problem is when I want to swap between forms using the the windows menu item in the tools
-
- screen resolution
by miscal
- 10 Replies
- Last post
by miscal
- hi,
I created a windows form based application, and it works just fine. I worked with 1024X768 resolution so the forms I created were planned according what I've seen on my screen. still, user who download my application on his machine and uses a different resolution makes all the buttons, labels and other objects go out of sight. is there a method defining like 'zoom' according the screen
-
- How to use domain user instead of database user in vb.net windows form authonitication?
by MagedSalah
- 7 Replies
- Last post
by Bhanu Prakash Nunna - MSFT
- Hi all, we make security on our developed .net application using created user that stored in the application DB in table users and also we create an equal sqlserver user with the same name and password. when the user log into the application using his user name and password the user checked if it is valid or not and based on his permissions we open the functionalities and forms that is pe
-
- BackgroundWorker and GUI
by SomeDeveloperPerson
- 7 Replies
- Last post
by .Binny
- I have a button on a form with a handler that invokes a backgroundWorker.
Code Snippet void buttonClick(object sender, EventArgs e) { this.backgroundWorker.RunWorkerAsync(); }
This is the BackgroundWorker's doWork method:
Code Snippet void BackgroundWorkerDoWork(object sender, DoWorkEventArgs e) { someMethod(); }
The invoked method is
C
-
- CustomActionData - /TARGETDIR="[TARGETDIR] " Requires Trailing Space
by John Saunders
- 2 Replies
- Last post
by John Saunders
- This drives me crazy whenever I forget why there's a trailing space.
TARGETDIR (or any other property that ends in "\") must not be located at the end of the parameter. It appears that some part of the installation process sees slash-quote and treats it as an escaped quote would be treated in a C++ string: "\"" == one double quote, not slash followed by quote.
-
- Flow layout panel, is it dot net control?
by srinivas_kv80
- 2 Replies
- Last post
by Oleh Svintsitskyy
- Hi, Is Flow layout panel dot net control This information will help me alot, thanks in advance for your answer. Thanks Srinivas
-
- Need a good printing tutorial!
by tvance929
- 1 Replies
- Last post
by Timo S
- Hey guys,
Anyone know of a good printing tute I have found a couple but they are dated.
I can print out a text box or a string but one problem I have now is that I have a MultiLine textbox that is has data that is greater than one page of printing. So my print is only one page.
It would be nice to find a nice easy comprehensive printing tute. I was suprised that I havent fou
-
- Register OLE DB Provider with ClickOnce
by needdevhelp
- 1 Replies
- Last post
by Yu Guo ¨C MSFT
- We are deploying a windows app with ClickOnce that requires a custom OLE DB provider. The dll is saved on the client, but isn't registered. Is there an easy way to get ClickOnce to register that DB provider
-
- Help Regarding Readonly property in all controls
by vinoth kumar.R
- 6 Replies
- Last post
by vinoth kumar.R
- Hai Friends
I working with c# windows application.The problem is While I set the Read only property is true then the color of all the controls(textbox,combobox,datetimepicker,checkbox,etc.,) is automatically change to brownish color then
color in runtime as white but in output screen only textbox color is changed to white the other controls is only showed with tat brownish color
-
- SRS - Showing Remainders
by Joe77
- 2 Replies
- Last post
by Joe77
- I need to show the whole number and remainder each as wole numbers. I have been trying to use modulo on the advice from a friend, but I don't understand this function.
More of an exlpanition: I am working with inventory and shipping quantities. If a pallet consists of 9 cases, and I have an order for 20 cases, I need to display in a report 2 pallets and 2 cases. These numbers can be in the
-
- Combo Box won't update when its Data Source is changed
by nedalton
- 3 Replies
- Last post
by BabyFace Jay
- My main form, frmMain, has a combo box whose datasource is a BindingSource, which is bound to a single-column table called tblNames in a dataset called peopleDataSet. frmMain has a button that opens a 2nd form allowing the user to edit the table underlying the combo box. This second form, frmEdit, has a DataGridView bound to another BindingSource which is bound to tblNames (the same as with the Bi
-
- Changes on PropertyGrid
by ^_DENNIS_&
- 10 Replies
- Last post
by ^_DENNIS_^
- Hi, I have a TextBox, a Button and a PropertyGrid. The PropertyGrid shows the properties of the TextBox. By pressing the Button, I want to know all properties, which have not the default-value (bold entries). Is there any way to get all properties, which have not the default-value Thanks, Dennis.
-
- saving the data entered in the datagridview to database table
by jasna
- 13 Replies
- Last post
by jasna
- Hi All,
Please help me to solve this problem
i have a table named TabDetails containing columns id,FirstName,LastName .
There is a DataGridView and i have set the data source of the DataGridView to be TadDetails.
Now the DataGridView contains columns id,FirstName,LastName.
There is also a button named Save.
When i click the save button i need the details in the DataGridView to be
-
- Print a PictureBox and controls that are on top of it
by Ullas566238
- 2 Replies
- Last post
by nobugz
- Hi, Is there any way to Print the contents of a Picture Box Its not just printing the Image of the picture box. In my application i am dynamically placing label controls inside the picture box. Each label have a background image. I want to print the image as well as the labels inside the picturebox .(means as we see in the display)..
(The scenario: I have the layout images as external
-
- AcceptButton and CancelButton keep being cleared :(
by Andrue
- 2 Replies
- Last post
by Andrue
- I am designing a form and the AcceptButton and CancelButton properties keep being reset to (nothing) by the designer.
The form contains a couple of buttons and user control and that's it. Why is it doing this