| Thread | Last Post | Replies |
|
| How to specify application parameters to .NET service installer | 25 Oct 2007 20:34 GMT | 1 |
I have a Console app, a related Service Project and Service Setup / Installer Project. I would like to have the result of running the installer.msi file register the service to run with certain parameters.
|
| SmtpClient sending emails driectly from own computer | 25 Oct 2007 20:27 GMT | 8 |
I'm trying to usethe C# SmtpClient class to send emails but WITHOUT going through an SMTP client out on some server. I want to do it directly from my own machine. I specify localhost and port 80 for the SmtpClient class and it seems to accept that, in that when I call the Send ...
|
| Easy question about DataTable | 25 Oct 2007 20:20 GMT | 5 |
Can one DataTable be considered in the same way as a table in the database. //Tony
|
| Join Dlls and Exes into one Exe? | 25 Oct 2007 19:49 GMT | 2 |
Is there a free program out there that joins Dot Net Dlls and an Exe together into one Exe? I'd rather distribute my program as a single Exe. Thanks,
|
| Graphics rendering question | 25 Oct 2007 19:45 GMT | 5 |
I am using the following code to render a text string in a new bitmap file. The code works, but the text looks, well, crappy, even though I told it to use ClearType hints. Any idea how to make the text look nicer?
|
| DataGrid Validation and Button Click | 25 Oct 2007 19:43 GMT | 1 |
I have a datagrid in a form, and a delete button. If I make some changes in some cells in the datagrid, and then click delete on another cell, I get to the validating function but not to the deletebutton_click at all. Has anyone seen this?
|
| show all FileSystemRights with C# | 25 Oct 2007 19:19 GMT | 4 |
i have read internet and publish manuals. i'm not able to get FileSystemRighs in C# to present to me all the permissions so that i can display, capture and compare. when i do a console.writeline({0}, rule.FileSystemRighs); i get a simple line:
|
| Has somebody made a surveillance thread which doesn't die? | 25 Oct 2007 19:05 GMT | 3 |
I have a log-in window application. When the user presses the cancel button it kills another window by it's name and then it exits. The problem is that if somebody kills the log-in window by terminating the process in the task manager the other window is not killed.
|
| Dispose member already defined? | 25 Oct 2007 19:04 GMT | 2 |
I have created an user control (that inherits UserControl) in which I have defined an override on the Dispose member like this: protected override void Dispose( bool disposing ) {
|
| Reflection: Get Methods with a Specific Custom Attribute | 25 Oct 2007 18:32 GMT | 3 |
The code below goes through all the methods in the given dll. I'm wondering how I can modify this to only get methods with a specific custom attribute. I'm not seeing any Custom Attributes like [TestMethod()] when I print out the attributes.
|
| A simple inheritance question | 25 Oct 2007 18:29 GMT | 3 |
I currently have a class called DefinedTest which relates to a set of tests I perform. But there are two Test states, those that are defined and those that are not. I'd therefore like to have two classes instead, Test and DefinedTest with the former storing either Defined
|
| Has if () syntax of C# no IN operator like Pascal or SQL (IN, LIKE, BETWEEN)? | 25 Oct 2007 17:46 GMT | 7 |
I'm searching like a similar syntax for if(): int i=5; if (i in [1,3,5..10]) doSomething; e.g.
|
| Fire event in the same thread as the UI like BackgroundWorker | 25 Oct 2007 16:58 GMT | 4 |
This is what I've always been wondered. Suppose I've created a class named Agent, and the Agent does some lengthy job. Of course I don't want to block the main window, so the Agent does the job in a separate thread. If the job is progressed it
|
| What do I need to do ... | 25 Oct 2007 15:50 GMT | 2 |
to expse some methoods of my application (exe) to other applications? When Im using Win api or something in c# I'm using [DllImport]. How to expose my methoods
|
| GridView and line type | 25 Oct 2007 15:36 GMT | 3 |
I would like to paint the gridline of my DataGridView not as solid, but as Dash line for example. I did not see any property to do that, therefore how can i perform this task ?
|