-
- to sort a BindingSource
by mathmax
- 10 Replies
- Last post
by cybertaz69
- Hello,
I've a BindingSource object that contains a list of objects. I would like to sort this list according to a property of my objects. I guess I should use the ApplySort method, but I don't understand how it works. There is two orverloads for this method, and I've problems with both of them :
- (PropertyDescriptor, ListSortDirection) : I don't know how to create the PropertyDescriptor ob
-
- ToolTip Font Change?
by AlexBB
- 14 Replies
- Last post
by AlexBB
- Is it possible to custom set up the .Bold property as well as to manipulate the font size for ToolTip objects
Thanks
-
- to get clickonce functionality in vs 2003 setup
by msnMember
- 0 Replies
- Last post
by msnMember
- How can I get a clickonce functionality of vs 2005 to work with my current vs 2003 setup ...
-
- Reading records from a .csv or a .txt file
by sl5
- 2 Replies
- Last post
by sl5
- hello there,
I was was working on a VB program that is used to record or get data from a .csv or a .txt file, but i seem to be having a problem when i search in a .csv or .txt file which is unicode format, with ANSI my program works fine..but if the file is a unicode, i recieve the following error
No value given for one or more required parameters..this error is recieved on the following lin
-
- How to skip uninstall using custom action?
by Nan Tu
- 0 Replies
- Last post
by Nan Tu
- I need to block un-install if a condition is true. It is to prevent user accidentally remove a component that is needed for my product to work correctly.
-
- Detect clicks on dynamically added controls (controls added at runtime in fact)
by Samentu
- 5 Replies
- Last post
by Samentu
- Hi everybody. I have a brand new, most likely, stupid question. Is it possible to detect when I click some controls on a form, controls which have been added at runtime The controls are situated in a FlowLayoutPanel but when I try to use flowLayoutPanel1_MouseClick it just seems to detect mouse clicks outside the dynamically added control and does not detect when I actually click the control. Any
-
- Webbrowser 2.0 FocusChanged
by willthiswork89
- 9 Replies
- Last post
by willthiswork89
- is there a way to make a notification for when a webbrowser gets focus taken away from it i havnt seen an event or function that microsoft made that gets called when focus gets taken away or changed, just a function to focus. ive never made my own functions and im not positive on how to make one but i figured ide ask here and see if anyone else has made an addon or somthing for it.
-
- DialogResult
by Mik
- 5 Replies
- Last post
by Mik
- How can I check which button has been clicked in a Dialog window
I tried ToString(), but it returns "Cancel" no matter which button has been clicked (there are two buttons, "Cancel" and "OK").
The code I am working on is not mine so perhaps there's something I don't know, maybe I should set some property of a Button to "OK" or something and it would wo
-
- event on datagridviewtextboxcolumn
by lam bao nghi
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- HOw can I set event on datagridviewtextboxcolumn like datagrid DataGridTextBoxColumn TextCol2 = new accfb.cls.DataGridNoActiveCellColumn(); TextCol2.MappingName = "ten_tk"; TextCol2.HeaderText = "Ten tai kho n"; TextCol2.Width = 300; TextCol2.TextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextCol_KeyDown); dinh_dang_luoi.GridC
-
- read richtextbox line by line..place into textboxs?
by maxrpg
- 6 Replies
- Last post
by maxrpg
- hi,
im trying to figure out how to read the contents of a richtextbox Line by Line and place each line into a texbox...for example:
place line 1 of richtextbox into textbox1
place line 2 of richtextbox into textbox2
place line 3 of richtextbox into textbox3
....and so on
ive looked all over and havent found anything to help me on this..im really stuck can someone
-
- Winform Timer and Threading Problem
by billru44
- 6 Replies
- Last post
by nobugz
- Hi,
I am developing a C# Win app using .NET 2.0 and using the SerialPort class to read / write to some devices. I have a class called Simulator which has an instance of a SerialPort on it. In the constructor of Simulator, i create a new SerialPort object and wire the DataReceived event.
Basically, for now, when i receive data, i just write an echo of it out and everything works fine
-
- TopMost within application
by nizmo
- 4 Replies
- Last post
by nizmo
- My question is best explained by example.
In the VB.NET 2005 code window, if you do a ctrl+f find, the find window stays on top when you put focus back to the code so you would think that the find window is always on top. However, when you drag another application over the VB.NET window, the find window is not on top of that window.
Its like its TopMost, but only TopMost within the a
-
- xml string validation with xsd
by Ganpp
- 4 Replies
- Last post
by Ganpp
- how to validate the xml string against xsd
I am getting xml as string to my webservice, i need to validate before doing the next operation.
pls recommend, where i can store my xsd file
-
- RichTextBox & Multilines selection tab
by Jerome_H
- 2 Replies
- Last post
by Jerome_H
- Hi all,
I would like to know if somebody knows how we can perform a "tab" in a RichTextBox control on several lines selected.
So we have a RichTextBox with a text.
If I put the cursor at the start of the line and I press the TAB key, a tab character is inserted. Ok.
But if we select several lines and we prend the TAB key, the selected text is deleted :-(
Somebo
-
- Why doesn't Convert.ChangeType() attempt to use conversions on object?
by d3x0r
- 3 Replies
- Last post
by d3x0r
- I have a class Money... { Money m = "1235"; } works... { Convert.ChangeType( "1235", typeof( Money ) ); } throws an exception... how can I convince a datagridview to behave more like the first case instead of doing the second Or what can I add to make Convert.Changetype work
I actually don't want that to work - but that's the method that a DataGridView does when updatin
-
- datagridviewbuttoncolumn text missing problem
by boondoggle
- 8 Replies
- Last post
by Delux
- Hello,
I have a datagridview and it is databound to a dataset which is retrieved from the db. Now, I clicked on the datagridview visual editor and it said "edit" , "add" columns. I clicked on "add" and then proceeded to create a unbound datagridviewbuttoncolumn. I set the text property of said button, I have the flat cell set to standard instead of popup. I even tr
-
- DataGridView - Invisible Cell Error
by smgtreker
- 9 Replies
- Last post
by Poshi
- Hi, I have a potential problem with the datagridview.
When I have an empty table, and start editing the first row, but press ESC to cancel the edit, I get an error "Current cell cannot be set to an invisible cell.". Is this a known problem, or is there a way to trap the error, and move the current cell to a cell that is not invisible
-
- Deploying ClickOnce from multiple deployment servers
by Enemaerke
- 5 Replies
- Last post
by paolo1959
- Hi
We have kind of a special deployment scenario and are not sure we can get our head around how ClickOnce may or may not help us. Here's the setup
An application needs to be deployed to clients on different network, that is not all clients are able to see a single unique deployment server. This means a number of different deployment servers on the different networks will be deliveri
-
- Dropdown - touch screen
by vinoraja
- 3 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi,
I+6'm doing windows application (C#) for the touch screen,but wanted to increase the size of my dropdown control, the drop - icon(dropdown) is still small to be used with the fingers.Please help me to maximize the width of drop-icon and not the dropdown control.
Cheers,
Vino.
-
- Web browser help
by Xaid
- 4 Replies
- Last post
by Xaid
- Im new to c# and I like it a lot , but I'm having some trouble making my program work . Okay so here 's what I wanna do . I would like to have my form on load go to a url . This I have already done. Then I need my form to hit a button which will bring it to another page . Then It should enter text in an appropriate text box then hit another button . I tried to find material on the webbrowser clas
-
- DataGridView-Cell Merging
by Balagangadharan.R
- 2 Replies
- Last post
by Balagangadharan.R
- Hello all
Im developing a windows application using VS2005
how to merge cells in datagridview
please help me
Thanks in Advance
-
- Custom Action before install
by zette
- 3 Replies
- Last post
by PhilWilson
- Hi,
I have a Setup and Deployment Project and I want to execute a custom action before the actuall copy of files. How do I do this Adding an item in the Install action will only be executed after the copying of files.
Thanks!
-
- Is there a difference between TableAdapter.Fill and TableAdapter.GetData?
by Highwayman
- 2 Replies
- Last post
by Highwayman
- I keep seeing examples and etc. for TableAdapter.Fill in references and help systems with regards to databinding but I have not been able to find any reference to TableAdapter.GetData.
Is there a difference and if so what is/are they
-
- How to mimic a button click within a web page
by Jerry8989
- 14 Replies
- Last post
by covaisekar
- I have to access a web page and click on a specific button that will allow that site to upload a bunch of my files.
I want to just use the HttpWebRequest and HttpWebResponse but I don't want to use a browser control or class if possible.
I have code that will read in the page to make sure the exact button name exists and if it does I want to be able to click that button.
Please
-
- Silent installs?
by bpeikes
- 6 Replies
- Last post
by PhilWilson
- Is there anyway to detect a "silent" install from an installer class i.e. Check to see if msiexec has been called with the /qn flag How about getting any properties For example, I'd like to be able to create an installer, but allow our administrators change the way it gets installed, especially for silent installs.