| Thread | Last Post | Replies |
|
| VB.NET solution doesn't port to C#.NET | 20 Jul 2007 03:30 GMT | 3 |
I have a working VB.NET 2005 (.NET2.0) solution that works. When I translate the code modules, form modules to C# I get all sorts of build errors, much of which are related to scoping of methods. I have the following given in a form module:
|
| how to monitor the system clock for changes | 20 Jul 2007 03:20 GMT | 2 |
i'm working on a windows service that needs to check the system's clock every minute and see if there are any jobs in my database taht are scheduled to run at that time: sSql = "select * from tblJobs where runTime = " + dtTheCurrentSystemTime
|
| interface function has structure parameter. | 20 Jul 2007 01:58 GMT | 2 |
I am new to interfaces. My simple string parameter in & return of string worked fine. BUT I need something better - - accept as input a structure, Where is the structure definition maintained
|
| webbrowser / don't want to use cookie. | 19 Jul 2007 22:57 GMT | 3 |
How to disable cookie when using webbrowser ? Thank you! Best regards, Boki
|
| Common code generation | 19 Jul 2007 21:55 GMT | 3 |
This is a very simple question so please bare with my ignorance on this. I want to write a piece of code which does a common task (independent) which reads xml input and process something and then create an xml output. I want to share this code with different groups,
|
| Calling C and C++ functions from a dll | 19 Jul 2007 21:55 GMT | 1 |
What is the easiest way to call C or C++ functions from C# code? Via a DLL file? Thanks, Greg
|
| Singleton pattern with webservices | 19 Jul 2007 21:30 GMT | 3 |
I have inherited a Business Object architecture that makes heavy use of the Singleton design patter. For example the data access layer class is implemented as a static Singleton "object", there are also other business objects logic and security supporting classes that are
|
| SortedList<T> missing GetByIndex method? | 19 Jul 2007 19:57 GMT | 4 |
SortedList<T> generic has most of the methods of the old SortedList class, but it's missing a few, and one in particular that puzzles me. Anyone know why it has no GetByIndex method? It has IndexOfKey(), and IndexOfValue(), so you can ask it for indices
|
| Streaming files | 19 Jul 2007 19:41 GMT | 4 |
I need some help. I am trying to write my own web server for serving up large files on my own network. I am using FileStream, BinaryReader, TcpClient, and Sockets.
|
| Removing previous version property problem | 19 Jul 2007 19:32 GMT | 1 |
I'm creating a setup project for my c# application(Contains solution, c# project, setup project). In setup project properties, i set removepreviousversion property=true.
|
| Create a C/C++ dll and call it from C# | 19 Jul 2007 19:26 GMT | 1 |
I used the same approach as the one described here: http://blogs.msdn.com/jonathanswift/archive/2006/10/02/780637.aspx The only catch is that the project which I am trying to compile into a dll is half written in C and the other half in C++. What were the
|
| Having brainfart on date algorithm problem | 19 Jul 2007 18:30 GMT | 3 |
I'm just having one of those days where seemingly easy problems are giving me a devil of a time. Here's the scenario: Company's fiscal year runs from 10/1/YY -> 9/30/(YY+1), i.e. 10/1/2006 ->
|
| Blow away ASP.Net temp directory upon build | 19 Jul 2007 18:27 GMT | 3 |
I have decorated a number of my classes with a custom attribute. I would like to loop through every type in my application, sniff for the attribute, and eventually publish the entire list of attribute values to a webpage. Everything is working, except I'm getting references to
|
| reading a text file | 19 Jul 2007 18:23 GMT | 1 |
I am reading a text file using TextReader reader = new StreamReader("file.txt"); like I have done many a times before. I then execute the statement string a = reader.ReadToEnd(); this string is then sent into a function to convert its contents (hex string) into a byte array.
|
| DoubleClick Handler | 19 Jul 2007 18:11 GMT | 2 |
Am just getting into handlers at the moment and had a question. How would I write the code (the 'public void example handles cell doubleclick...) for a method to handle a double click in any cell of a particular datgridview column?
|