| Thread | Last Post | Replies |
|
| C# Fatal Error | 15 Nov 2006 03:19 GMT | 2 |
I am running a C# (2003) app on a Citrix server (Windows 2000, SP4), with SQL Server 2000 and the database. Program runs fine, then, without explanation, a user will attempt to start the app, and get a popup that says "Fatal Error", no subject to the message, just those words. ...
|
| Multiple levels of Null Checking | 15 Nov 2006 02:11 GMT | 13 |
I find myself doing things like this all the time: if ( SomeObject != null && SomeObject.AnotherObject != null &&
|
| DataView RowFilter Closest Date | 14 Nov 2006 23:33 GMT | 3 |
I have a DataView (dv) that includes a StartDate DateTime column. I'd like to return the DataView record that contains a StartDate value closest to my IncidentDate value: string filter = String.format("StartDate nearest {0}", IncidentDate);
|
| A couple of RichTextBox questions | 14 Nov 2006 23:31 GMT | 2 |
In a RichTextBox, how would I implement... ...bulleted paragraphs like in Word? Is there a provision for this or am I on my own? ...spelling check? Presumably using COM to communicate with Word which is
|
| Replace character in string | 14 Nov 2006 22:44 GMT | 4 |
I am reading a text file with a streamreader. I parse out path and need to use that path in a sql statement. The path is in the file as \\servername\share\folder\filename.txt. When the line is read, it is in the format of \\\\servername\\share\\folder\\filename.txt. When I ...
|
| Remoting Impersonation/Delegation | 14 Nov 2006 22:42 GMT | 1 |
I have a client/server application and I'm trying to get the server to impersonate the client with a delegation token. In my test on Active Directory, I have two users, the server user and the client user. The server user has 'Account is trusted for delegation' enabled in Active
|
| Sorting Dictionary by Values | 14 Nov 2006 22:34 GMT | 5 |
I´ve a simple question about existing data structures/ collections. Is there a way to sort a dictionary (or any comparable collection/ data structure) by values instead of by keys? For example if you have a dictionary with words as keys and the
|
| Tab Controls??? | 14 Nov 2006 22:09 GMT | 1 |
Hey guys, I have a "TabControl" component on my screen. I'd like to be able to control the focus of the individual tabs through a different button (which is working). However, I would like to be able to prevent the individual
|
| Best Practice when trying to Load object from Data Layer when it doesn't find it | 14 Nov 2006 22:03 GMT | 12 |
If I was to have my biz layer ask the data layer to load a particular object based on key field info i pass to it, and it cannot create the object becaues it isnt' in the Db, should the data layer pass back an exception or a null reference?
|
| C# ASP.Net calling a CHM file | 14 Nov 2006 21:57 GMT | 1 |
I was wondering if it is at all possible to open a chm file from within an ASP.net application, and if so could you provide a snippet of code that demonstrates this? Thanks
|
| XMLSerializer, customize float serialization | 14 Nov 2006 21:54 GMT | 2 |
I am using the XmlSerializer clas to serialize/deserialize XML files. I have a XML file containing elements which have attributes of type float. If the value of the float attribute in my application is for example 43.5678, after the serialization I get the value
|
| Server-based timers working. | 14 Nov 2006 21:16 GMT | 10 |
can anyone tell me how server based timer in .net works? Which one of either system.timers.timer, system.threading.timer is better for use in windows service. How worker thread call elapsed event. Will it depend on any of system
|
| Directory.CreateDirectory fails | 14 Nov 2006 20:29 GMT | 2 |
The following code: C# code: Directory.CreateDirectory("D:\\somewhere\\somewhereelse\\here\\") works, but the following does flags the error:
|
| interface don´t expose some fie lds | 14 Nov 2006 19:38 GMT | 2 |
I'm constructing a class to database access using the following interface component : IDBDataAdapter my_i_DataAdapter; .....
|
| possible to use Threadpool | 14 Nov 2006 19:30 GMT | 11 |
I have written a app that gets emails from a DB and checks if it's a correct email (connects to the remote mailserver and checks the response). I would like to improve the performance with using multiple threads.
|