| Thread | Last Post | Replies |
|
| saving state | 30 Nov 2004 23:57 GMT | 4 |
I would like to save the state of a set of controls, their child controls and data values when I exit the program. Then be able to restore the state when I open the program. What is the best way of doing this. Thanks,
|
| SharpDevelop | 30 Nov 2004 23:51 GMT | 1 |
I have a question for those developers here using Sharpdevelop. I just recently started using Sharpdevelop, but I keep getting errors regarding assembly references. I have used the 'assembly scout' to locate the assembly dll's however when I run compile I get the same errors ...
|
| Some Exception.StackTrace Info is Omitted | 30 Nov 2004 23:30 GMT | 1 |
I have implemented an error logging routine in an ASP.NET Web application that writes out the stack trace (associated with the Exception object). It tells me the exact line(s) of code that lead up to the Exception. Sample:
|
| Shortcut Key Question | 30 Nov 2004 22:46 GMT | 4 |
In Visual Basic 6 when you click on a variable of a procedure name you can go <Ctrl + F2> And it will take you to the Declaration of the variable or Procedure. Then <Ctrl + Shift + F2> take you back to where you came from. In C# if you right click there is an option <Go to ...
|
| How to change these ifs to switch | 30 Nov 2004 22:41 GMT | 7 |
I was wondering if someone could help me change these ifs to a switch statement. I tried but I can't make it work. Thanks Tim Code below:
|
| Unmanaged DLL -- How can I create one in .NET 2003? | 30 Nov 2004 22:19 GMT | 3 |
I have what I think is an "unmanaged DLL" that I access from within C# using the construction: [DllImport("sbslib32.dll")] public static extern ushort sbs_init_device(ushort DevNum,
|
| casting hwnd to windows form handle | 30 Nov 2004 21:50 GMT | 5 |
Sorry if this question sounds stupid, its early days for me when it comes to c# and com interop. I have a method imported from Win Media PLayer SDK, IWMPPluginUI:DisplayPropertyPage, like so:
|
| All data is text in ADO Update to Excel... | 30 Nov 2004 21:27 GMT | 1 |
I am updating several excel worksheets using ADO.NET (OLEDB objects). Everything is working fine except all the data is inserted as text despite being typed in the DataTable object and when the Excel worksheet was actually created. If the user-specified Excel Workbook does not ...
|
| Getting the mouse_click event from any control OTHER than a specif | 30 Nov 2004 21:25 GMT | 1 |
I tried using the 'Leave event' on my ListView to deselect the selected record, but the control only triggers the 'Leave event' when the user clicks on another interactive control. What I want is when the user clicks the mouse at ALL, for my program to check what control it ...
|
| get file names of files | 30 Nov 2004 21:18 GMT | 4 |
Say I want to get the file name of C:\temp\something.xml and have that put into a variable so I can encrypt the file and output it to c:\temp\filename.enc. I have not found anything that solves this for me.
|
| ComboBox text change event notification | 30 Nov 2004 21:17 GMT | 1 |
I need an event notification when the user types anything in the combobox textfield? I know about the TextChanged Event but the problem is this is also fired when the user selects an item in the combobox which updates the textfield, and there is no way of knowing what fired the ...
|
| Column with buttons in DataGrid | 30 Nov 2004 20:36 GMT | 2 |
I've been looking a way to put buttons in a column, but almost every example is for WebForms and I need it for WinForms... I found a way for doing it, with the DataGridColumnStyle class, but in my example, the button is unique for the entire grid and it's visible only when
|
| [OT] What's with this Server? | 30 Nov 2004 20:17 GMT | 2 |
It seems that anyone not specifying "Outlook Express" or "Microsoft CDO for Windows" as their user agent doesn't have their 'Lines' field correctly reported on posts to this server -- the number will be reported as *one* no matter what.
|
| Removing a folder share? | 30 Nov 2004 19:42 GMT | 3 |
How can I remove a specific folder share from a folder, through C# code? Thanks in advance, pnp
|
| inline code | 30 Nov 2004 19:34 GMT | 2 |
how come something like NavigateURL = 'foo.aspx?cpid=<%# DataBinder.eval( Container.DataItem, "DataItem.Foo"%>&nid=<%# DataBinder.eval( Container.DataItem, "DataItem.Foo2"%>'
|