| Thread | Last Post | Replies |
|
| Problems with InstallUtil on FW1.1 | 21 May 2007 15:24 GMT | 3 |
I have to installa a Windows service on a machine which has only the fw1.1 installed. I did the following: - Create a WindowsService application (using the VisualStudio template); - Create the ServiceInstaller;
|
| C#.Net 2.0 SqlDataSource ConnectionString question | 21 May 2007 12:36 GMT | 1 |
Here is the SqlDataSource in my aspx file <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ETCServiceTestConnectionStringA %>" SelectCommand="SELECT [TestNo], [AcceptDate], [status] FROM
|
| Processes attached to a file (like .dll or .exe) | 21 May 2007 11:36 GMT | 3 |
Excuse for my English. I need to know which processes are attached to a file; for example if I open a txt file with notepad.exe, this process is attached to this file.
|
| SmtpClient.Send() only sends after I quit my appl ? | 21 May 2007 11:32 GMT | 3 |
I use the following code send mail in my C# application. It works, but it does not send mail immediatly. If I quit my application, then the mail gets send. I can see Norton scan my mail ..etc. What do I need to do so that tye mail gets send right away, before I quit my program ?
|
| Configuring AspNetSqlProvider to use a different database | 21 May 2007 11:11 GMT | 4 |
I need to configure the provider to use a database in SQL Server instead of the SQL Express database default, but the admin tool does not give any options to change the database. Does anyone know how to change this configuration?
|
| How To Get Attributes From The "Current" Property??? | 21 May 2007 08:02 GMT | 3 |
I want to define some metadata using custom attributes to apply to properties in various classes. The properties return values that are classes themselves. I want to retrieve the attribute information in the classes from which the
|
| Array.Clone versus Array.CopyTo | 21 May 2007 06:38 GMT | 2 |
Would anyone mind telling me the difference between Array.Clone and Array.CopyTo? I was asked this during an interview and got partial credit for saying they were basically the same because they create shallow copies. I ran ILDasm on Array and saw that they do the copy
|
| "long" in C# | 21 May 2007 06:14 GMT | 3 |
"A "long" in C is an "int" in C#." Does this mean that whenever passing a parameter to a C function which expects a long type, the variable on C# side should be declared as int type? What if in the following case, should the parameter "level" be type of int
|
| Passing a delegate to a function | 21 May 2007 03:28 GMT | 5 |
Let's say I do this: MyObject o = new MyObject (this, DoWork); ... where DoThis is a function in the calling class. How do I pick this up in the constructor, MyObject?
|
| Dispose and Finalize hell! | 20 May 2007 20:21 GMT | 4 |
I've read many articles including the one from Duff's blog but I've many doubts. public static myClass Instance {
|
| Regex to remove \t \r \n from string | 20 May 2007 20:13 GMT | 15 |
Hi, i would like to remove a number of characters from my string (\t \r \n which are throughout the string), i know regex can do this but i have no idea how. Any pointers much appreciated. Chris
|
| More PInvoke Shenanigans | 20 May 2007 19:51 GMT | 1 |
A couple of days ago I was debating about whether to use C++/CLI or C# 2005's PInvoke in order to tie in my VS 2005 app with a legacy csta32.dll file. So far I have tried to call one method out of the csta32.dll and wind up with the PInvoke stack imbalance error. Here
|
| fundamental scope question | 20 May 2007 19:19 GMT | 20 |
I feel like an idiot asking this but here goes: I understand the 'concept' of scope and passing data by value and/or by reference but I am confused on some specifics. class example{
|
| Removing items from a Hashtable in a loop? | 20 May 2007 17:36 GMT | 5 |
The usual trick to get around the "collection was modified" problem by looping through the collection backwards by index won't work with a Hashtable because there is no way to access by index, right? How do I loop through a Hashtable to selectively remove items?
|
| why no struct inheritance? | 20 May 2007 16:24 GMT | 12 |
What's the technical reason for not allowing structs to be hierarchical? WPF has a nice Point3D struct. I wanted to add some additional constructors to it for converting from my data types.
|