| Thread | Last Post | Replies |
|
| Threading and Treeviews | 16 Jul 2008 17:17 GMT | 5 |
So I have this treeview control that I'm populating from a dataset. Problem is, there are 10 tables in the dataset (I didn't set the database up, for the record). So I'm having to make 10 foreach loops to get all the 'branches' in the treeview. As you might expect, this
|
| listview invalidate problem | 16 Jul 2008 14:38 GMT | 1 |
i've created an listviewitem[] collection and added it with the addrange method to a listview. so far so good. the listview-style is set to details and the items are formatted with different backgroundcolors.
|
| Deploying with DLLs | 16 Jul 2008 14:06 GMT | 6 |
Using Visual Studio 2005, I have created 4 small DLLs that our company projects can use to access common tools included in each of the separate DLL files. Our Visual Studio 2005 applications call the DLLs and run them without any
|
| Reading an opened file in C# | 16 Jul 2008 11:11 GMT | 4 |
I have a situation where I have an application, written by another party in C++, that logs specific information to a log file. I am trying to open and read this file in C# while the application is running. The problem is I'm getting a sharing violation when attempting to open the
|
| x ?? null | 16 Jul 2008 11:07 GMT | 4 |
If the right-hand side of a ?? expression evaluates to null at compile-time, it should probably produce a warning, because that's always redundant. Just a thought, in case any MS people are taking notes! Eq.
|
| Inheritance of constructors. | 16 Jul 2008 11:00 GMT | 21 |
I'm facing the following construction: class ClOld { public ClOld(string a) { ... }
|
| Random AccessViolationExceptions | 16 Jul 2008 10:04 GMT | 7 |
VS2008 .net 3.5 WinForms application contains only managed code. At random places my application causes exception below. env: Vista SP1. How to fix ?
|
| Performance counter throws error | 16 Jul 2008 09:57 GMT | 6 |
I'm using VSTS2008. I tried to create a performance counter as below. A simple example of monitoring processor usage (similar to what's seen in task manager):
|
| application cannot read the app.config file | 16 Jul 2008 06:26 GMT | 4 |
application cannot read the app.config file i have a config file for the executable i try to read it but it throws an exception when building the setup for the project vs2005 do not add the
|
| Naming Convention for Temporaries | 16 Jul 2008 06:20 GMT | 10 |
Have you ever wanted a list of customer IDs, but had to get a list of Customers first? I am pretty conscientious about style and good variable names, so I am wonder what other people do in certain situations when a temporary or
|
| .NET 3.5 SP1 Security Change | 16 Jul 2008 04:16 GMT | 3 |
How do you guys feel about this change to security? Shared drives now run with full trust. I'm I the only one thinking that this is a terrible idea? http://blogs.msdn.com/shawnfa/archive/2008/05/12/fulltrust-on-the-localintranet.aspx Don't bother posting a comment to the blog, it ...
|
| decimal vs double | 16 Jul 2008 03:00 GMT | 2 |
Apparently, financial calculations should be performed with decimal not double, however .NET does not make it easy to work with decimal. Literal numeric non-integral values are by default treated as doubles. The constants in System.Math (Pi,E) are doubles.
|
| doest C# always have to be compiled or is there a way to run C# on the fly? | 16 Jul 2008 01:47 GMT | 4 |
I want to know if there is a way it's possible to run csharp code from a .txt file without having to recompile it. thx in advance
|
| Printing Crystal Report to Postscript | 16 Jul 2008 00:51 GMT | 1 |
I'm using Crystal Reports for Visual Studio 2005. I'm trying to print my reports to the postscript file: PrinterSettings ps = new PrinterSettings(); ps.PrinterName = "HP Deskjet 3840 Series";
|
| wpf/c#: convert string to fontweight | 15 Jul 2008 23:28 GMT | 2 |
How can I convert a string to a FontFamily? Suto code: String sFont = "Bold"; FontFamily ff = (FontFamily)sFont;
|