| Thread | Last Post | Replies |
|
| Exit WinForm app with an exit code | 22 Oct 2004 08:11 GMT | 2 |
I've got a Windows Forms app that I want to return an error code to the caller - it's a utility in a larger build process and I need to aboort the build if the utility fails. I've tried Environment.Exit(<code>) but I only ever get 0x00 returned for any
|
| Datagrid horizontal scroll | 22 Oct 2004 07:39 GMT | 3 |
In datagrid I have a invisible column(width=0) in column styles at the first position, the horizantal scroll bar doesn't respond when you click the arrow it sends a small increment with the value of 1. Anybody faced this before? Dincer
|
| Property to accept only an enum type | 22 Oct 2004 05:49 GMT | 1 |
How do I make a property accept only a value from an enum type? Let's say for example: using System; namespace Test {
|
| Dropping a file onto my form. | 22 Oct 2004 05:43 GMT | 1 |
This doesn not seem to be a regular drag-and-drop operation. I poked around but could only find information on dropping from the clipboard and dragging special items (such as list-view items). So, how exactly do I go about making my form open files that have been
|
| Collections question | 22 Oct 2004 02:49 GMT | 5 |
I want to create a collection type: LineRuns containing type: LineRun. I would like to implement the IEnumerable interface to be able to use foreach against the LineRuns collection. The LineRuns class has a method called: AddLineRun() which will create an instance of the ...
|
| Global connection strings? | 22 Oct 2004 02:33 GMT | 8 |
I have a question regarding connection strings. Most of my apps have multiple forms each of which stores a connection string back to (generally speaking) the same SQL db (i.e. it's set up the way that VS.Net appears to work by default).
|
| Smooth scrolling image or picturebox | 21 Oct 2004 23:58 GMT | 6 |
Hi all. I have a user control that contains a picturebox within a panel with the panel set to autoscroll the picturebox. One thing that I have noticed with the default functionality is when you click and drag the scroll box (thumb track) the picturebox does not scroll until you ...
|
| how to delete the black border of button control? | 21 Oct 2004 23:28 GMT | 3 |
Hello, everyone: when I use a image as background of a windows button control, the control alway has a border around the image no matter I set the flatstyle as flat, standard, or popup.
|
| accessing form controls in Vb.net | 21 Oct 2004 23:08 GMT | 6 |
I have created two forms namely form1 and form2 in my application. I created a button "start" in form1. When this button is clicked form2 is initialised as a child object and an instance of form2 is displayed at the same time hiding form1 from the user. In form2 I have an "exit"
|
| Combo box controls in Windows Applications render list items blank | 21 Oct 2004 21:05 GMT | 2 |
Several of our windows applications are rendering the items created in controls like ComboBox controls as blank. The items are actually in the collection but the window that is displayed what the ComboBox is open shows all items as blank.
|
| Drawing Toolbox? | 21 Oct 2004 20:58 GMT | 1 |
I suspect it is right in front of me, but I can't seem to find it. Is there a toolbox with things like lines, rectangles, etc that I can drop onto a form in design view? Thanks, Steve
|
| Sending E-mail | 21 Oct 2004 14:36 GMT | 1 |
I use the following code to send an email in ASP.NET, when i try to run it in Console or Window Application, it give me errors, Any Idea whats wrong in it?????????? Dim smtpmail As Mail.SmtpMail
|
| How to make a class with a group of controls? | 21 Oct 2004 13:18 GMT | 4 |
I have a group of controls that make up a "form". This "form" may be used for displaying data in a database, entering new data, editing existing data, or entering search criteria. I want to create a class that has the controls for the "form" and the layout stored, but that can ...
|
| How do I set the of the datagrid horizontal scroolbar position? | 21 Oct 2004 09:29 GMT | 2 |
I want the horizontal scrollbar location to be altered during runtime. I have read msdn, and the scroolbar property of the datagrid is readonly, so there seems to be no apparent way to simply set it. My next guess was to override the HorizScrollbar property and play wiht the
|
| Monitoring a boolean? | 21 Oct 2004 09:13 GMT | 2 |
In my application (c#) I have a boolean that is set to true everytime a documents content is altered. Everytime the user saves the document my boolean is set to false. I want to be able to monitor this boolean. It would be great if I could
|