all groups > c# > may 2007 > threads for saturday may 26
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
How to use code templates for entity properties
Posted by Andrus at 5/26/2007 9:39:31 PM
I'm using VCS Express 2005.
I have a lot of property definitions in different classes like
public class MyEntity {
public string somestringfield {
get { return (string)Row["somestringfield"]; }
set { Row["somestringfield"] = value; }
}
public string someotherstringfield {
ge... more >>
Photo capture!
Posted by DBC User at 5/26/2007 3:41:48 PM
Hi Guys,
I need help to identify a open source or a commerical software that I
can embed in my web app to capture a photo using local web cam or a
camera hooked up to the PC. Any comments or suggestions? I said, it
has to be compact with web app since I need to store the image in a
central ft... more >>
reading data from serial port
Posted by Ringo at 5/26/2007 2:01:04 PM
I have a micro controller that sends a stream of 102 bytes to the pc.
The values range from 0 to 255. I set up my serialport like this
sp.BaudRate = 115200;
sp.PortName = "COM53";
sp.DataBits = 8;
sp.StopBits = System.IO.Ports.StopBits.One;
... more >>
EventHandler question
Posted by Hilton at 5/26/2007 12:49:18 PM
Hi,
Why does:
class A
{
public event EventHandler XYZPressed;
}
class B : A
{
void Bla ()
{
this.XYZPressed (this, EventArgs.Empty)
}
}
give this compiler error:
Error 8 The event 'ABC.DEF.XYZPressed' can only appear on the left hand side
of += or -= (except whe... more >>
Converting to/from a string without regard to culture
Posted by John Brown at 5/26/2007 12:42:36 PM
Hi there,
Does anyone know how to go about reading/writing a type to a file in a
language (culture) independent way. For instance, let's say you're dealing
with the native "System.Drawing.Size" type on an English version of Windows.
You use the "TypeConverter" for this structure to generate... more >>
Capture a programs output.
Posted by Muffin at 5/26/2007 10:20:53 AM
I am trying to capture the out put of a command line program. Let say ping
or maybe better yet nslookup. I would like to launch and then capture all
the output , redirect it I guess to a string variable or something. I know
how to start it , but not how to capture it. Nslookup I realize can be... more >>
how to clear merged cells in C#
Posted by riwar at 5/26/2007 2:29:25 AM
Hello.
I have problem with clear merged cells of excel's sheet. I am use Cells.
get_Range(x,x).ClearContents() method, but compiler says that there is no
possibility of clear content using this way.
Is there any other one?... more >>
Asynchronous sockets and buffer size
Posted by Matthew Geyer at 5/26/2007 1:58:32 AM
been using asynchronous sockets with AsyncCallback and
System.Net.Sockets as per the excellent MSDN example.
everything has been working great, except when i want to receive more
total bytes than my buffer can hold.
i open a connection with an 8k buffer on the socket. if the server
send... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How can I custom a listview which item contains a processbar-like control?
Posted by gshzheng at 5/26/2007 12:00:00 AM
Hi,all
How can I custom a listview which item contains a processbar-like control?
And each processbar can be set respectively.
Any help gratefully received.
gshzheng
20070526
... more >>
Catching non-UI threads' exceptions.
Posted by BLUE at 5/26/2007 12:00:00 AM
I'm using CF 1.x (VS 2003) on a Windows CE 4.2 device.
This classes ad methods are not present:
Application.ThreadException
ThreadExceptionEventHandler
Application.SetUnhandledExceptionMode
UnhandledExceptionMode
AppDomain.CurrentDomain.UnhandledException
UnhandledExceptionEventHandler
... more >>
|