| Thread | Last Post | Replies |
|
| Get the file name from a dll. | 21 Aug 2007 00:54 GMT | 1 |
I want to enumerate all public methods from an assembly (a C# DLL) and list the *.cs filename, where was the particular method defined (the source code for the method). I know how to enumerate all public methods from DLL, but I don't know how to
|
| Line on graphic object is not drawn from origin i've choosen. | 21 Aug 2007 00:41 GMT | 5 |
Graphics pea = e.Graphics; Point [] ptTable = { pictureBox1.Location , new Point(pictureBox1.Location.X + pictureBox1.Width,pictureBox1.Location.Y + pictureBox1.Height) };
|
| Regex, replace nth field in a CSV record | 21 Aug 2007 00:40 GMT | 3 |
I need to replace the nth field in a CSV record with a new value, Having trouble figuring out a regex that will capture the nth field. I have a regex that captures every field in the record but can't see an efficient way of making use of the matches collection
|
| Exception on System.Net.OSSOCK.closesocket() | 21 Aug 2007 00:22 GMT | 2 |
I've got an app that downloads from several concurrent threads. Occasionally, I get an expcetion trying to read the HttpWebResponse stream... Sorry, the code isn't short, but I figured best to provide the whole method.
|
| Limiting an assignment to one type or another | 20 Aug 2007 23:28 GMT | 5 |
// define two types class Type1 {} class Type2 {} // define a third type which variables are of type1 or type2
|
| Listbox collection | 20 Aug 2007 21:59 GMT | 4 |
I want to go through each item in a Listbox collection. How will I do this? I was looking for ListBoxItem but nothing is available? Any suggestions please? Thanks
|
| Switch/Case statement | 20 Aug 2007 21:38 GMT | 6 |
New programmer lost!!! I need some help with a switch/Case statement; I need to use OpenFileDialog to open a file, If the file extension is .dat, then do x.
|
| Create class from known control fails | 20 Aug 2007 21:04 GMT | 3 |
I am trying to create a dynamic control, based on the System.Windows.Form.Label control. The program compiles with no errors, but errors out when trying to access this code: class MyLabels : Label
|
| Using Generics in Dynamic Code | 20 Aug 2007 20:34 GMT | 4 |
Is there some way to use Generics in dynamic code using the Type.GetType("MyClassName") as an argument? List<Type.GetType("MyClassName") > oList = new
|
| Windows Service - Dies during sleep | 20 Aug 2007 19:42 GMT | 3 |
I have had a program that checks LDAP to get a list of all the users whose password will expire. I send these users an email letting them know to change their passwords. It had been working fine for months. Then, all of a sudden, something
|
| Prevents Events From Interrupting Events | 20 Aug 2007 19:39 GMT | 4 |
Is there a way to prevent one event from firing while another event is already being fired? I have a tool that extracts media from web pages and it has multiple events firing when the status of the download changes.
|
| Months name | 20 Aug 2007 19:23 GMT | 4 |
Why does System.Globalization.DateTimeFormatInfo.CurrentInfo.MonthNames return 13 elements? Why does it not use the cuurent culture?
|
| How to know the type of some object implements IComparable<T>? | 20 Aug 2007 19:20 GMT | 2 |
|
| Web app and TextReader StreamReader | 20 Aug 2007 19:04 GMT | 3 |
When testing locally with: TextReader tr = new StreamReader(@"C:\gcc.set"); Now that I have uploaded this to the server on the net, that locations permissions are denied.
|
| how to access a drive without a letter? | 20 Aug 2007 18:55 GMT | 3 |
I am writing code that accesses an MP3 player plugged to a USB port. The MP3 player is not showing up as a drive letter. With explorer, I see the drive, with it's name, but no drive letter is assigned. How do I access such a drive? Thank you very much.
|