| Thread | Last Post | Replies |
|
| Easy question | 30 Nov 2006 22:15 GMT | 15 |
Is there a syntactically cleaner way to do this: if (!(MyObject is Whatever)) { // ...
|
| Dealing with @ in ReadString | 30 Nov 2006 22:14 GMT | 5 |
I've written a function that might return multiple e-mail addresses. I've been returning them in an XML string, and parsing it using ReadString, but I get the error below. (Code for ReadString is also included). Does anyone have any advice as to the best way to proceed?
|
| TinyInt or Char(1)? | 30 Nov 2006 22:07 GMT | 7 |
In a database table we will have a column "Round" for which round of feeding the record applies to at a cattle ranch. The value will always be either 1, 2, or 3 since we feed just that many times per day (kind of like breakfast, lunch, and dinner).
|
| Fastest way to convert an object to a string | 30 Nov 2006 21:53 GMT | 14 |
I'm trying to speed up a piece of code that is causing performance issues with our product. The problem is we are using serialization to convert the object to a string, this is costing us performance degrade. Does anyone know any better way to archive this which just not degrade ...
|
| Is this the correct way to send a Bitmap over sockets? | 30 Nov 2006 21:46 GMT | 14 |
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first time using C# at all so I don't know if this is the "right" way to do it. I've already found out several times the way I was doing something was really inefficient and could reduce 10 lines of code with 2, etc.
|
| Generics - Interface Syntax question | 30 Nov 2006 20:42 GMT | 3 |
Hi group, i need a bit of help with this: public abstract class BusinessComponent<TData, TDataMapper> where TData : BusinessEntity,new() where TDataMapper : DataMappers.DataMapper<TData>, new()
|
| ProgressBar incremented from outside of Form | 30 Nov 2006 20:35 GMT | 5 |
I have, the following question: I have a WindowsForm with ProgressBar progressBar1 and Button button1. After onClick event on button the following method executes: button_Click(object sender, EventArgs e)
|
| programmatically export the event log | 30 Nov 2006 19:44 GMT | 7 |
Is there some way to export an event log to a .evt file? I ask because what we're trying to set up is a really easy way for a user to email the contents of our event log back to us in the event of some problem. Emailing isn't a big deal, the SmtpClient class is a breeze, and ...
|
| .NET Grammar modification | 30 Nov 2006 19:40 GMT | 7 |
I'm curious as to if .NET provides any direct means to modifying its own grammar? e.g., if say I want to had some "features" to C# which can easily be reinterpreted back into the original C# but I do not want to have to write a full blow parser just to change some simple thing.
|
| Displaying a Powerpoint presentation on a PC without Microsoft Office installed | 30 Nov 2006 19:36 GMT | 3 |
Is there any way to build or distribute a C# application with a Powerpoint component, so that the application can display Powerpoint presentations on PCs that do not have Microsoft Office installed? Thanks for any insight!
|
| VS C# 2005 Express edition align to Grid | 30 Nov 2006 19:31 GMT | 4 |
In the windows form designer of VS C# 2005 Express edition Align to Grid is greyed out. Is this intentional or just my installation?
|
| Transparent ListView | 30 Nov 2006 18:36 GMT | 1 |
Hi, guys! How can I make ListView to be transparent? Transparency in C# seems to be a problematic part at all. It's not truly transparency I used to in Delphi.
|
| Save Rtf from a RichTextBox into Access | 30 Nov 2006 18:33 GMT | 3 |
How can I save the text edited in a richTextBox into a field of an Access table. I have an error using the following code: OleDbCommand toto = new OleDbCommand("UPDATE Table1 SET Field1 = '" +
|
| Looking for a dll type solution | 30 Nov 2006 18:31 GMT | 2 |
When my data is updated in my sql server database there are a number of jobs that my current process performs that analyzes the new data. This only happens once a day very early in the am. When I want to add a new job I have to add new code to the current process.
|
| switch on string value | 30 Nov 2006 18:20 GMT | 11 |
i have a string variable which can take one of a set of many values. Depending on the value I need to take different (but related) actions. So I have a big if/else-if construct - but what is a better way of doing this? if ("control" == commandString)
|