Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > may 2005 > threads for saturday may 28

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

BMP to byte[] and back = GDI error ???
Posted by Sharon at 5/28/2005 11:30:01 PM
I'm trying to convert an Image file to a byte[] array . Later in my code I'm trying to create a new Image from this byte[] array as a restored Image. But when I try to save the restored Image to a Bitmap file I get a generic DGI exception saying: "A generic error occurred in GDI+". Here is...more >>


use of OCX
Posted by javaid iqbal at 5/28/2005 10:35:34 PM
i want to use video.ocx for reading camera in my program. i was using it very succesfully in VB 6.0. Can some body guide me how to use it in CSharp. Thanks in Advance....more >>

Detect Hotkey
Posted by David at 5/28/2005 10:15:47 PM
Hi, I want to detect when a hotkey are pressed. I've installed keyboard global hooks, but in dont know how to detect HotKeys. Some Help ? :) Thanks ...more >>

Emulate user typing
Posted by Jay Douglas at 5/28/2005 4:56:21 PM
I'm writing a application that is a lot like a macro in C#. Basically, when a user presses a certain key, the software needs to generate a series of keystrokes. I have the code written that listens for the keystrokes using GetAsyncKeyState from user32.dll ... But for the life of me I can ...more >>

stop thread operations
Posted by magic man via .NET 247 at 5/28/2005 9:06:36 AM
hi everyone i have a c# application that uses multithreading to= connect to sql server and execute a stored procedure on the= server=2E i am using a dataset,sqlcommand,dataadapter and a= datagrid to carry out the process on a background thread and= everything goes well but the problem arris...more >>

Asynchronous sockets and pooled thread loading
Posted by User N at 5/28/2005 5:50:04 AM
I'm working on a proxy which must support at least a dozen simultaneous connections from local clients to remote servers. It is conceivable that someone might want to run it in non-local mode, with as many as 3-4 dozen simultaneous connections from remote clients to remote servers. Supporting t...more >>

File locking and access using locks or mutex or monitor?
Posted by Gery D. Dorazio at 5/28/2005 3:41:28 AM
Here is some code to open a file with exclusive access for the purpose of modifying it. FileStream fstrm = new FileStream(inputFileName, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None); DataSet ds = new DataSet("MyDataSet"); ds.ReadXml(fstrm); ....edit a row here... ds.Accept...more >>

MS Power Point mouse events to C# Addin
Posted by S.Creek at 5/28/2005 12:22:46 AM
Hi, i am trying to write a C# addin that will capture mouse events from power point and act accordingly, The add in uses Microsoft's IDTExtensibility2 Does anyone know how to capture the mouse events (mouse click) from the running PowerPoint app (in design time?) any help (Example / refere...more >>



Volume label detection
Posted by Dmitry Klymenko at 5/28/2005 12:00:00 AM
Do exists a way to detect a volume label of a disk? I've found the way to do this using WMI (System.Management) or winapi = function. The second solution is principal non-portable in future, the = first one require service WMI to work on client (for sure it's not a = guarantee to be allways runn...more >>

interacting with xml
Posted by Sharon at 5/28/2005 12:00:00 AM
hi guys , I'm mew to system.xml my question is : what is the right way to read / write value to the "First_Name" node ? and same question : how do I read/ write to the category property (inside the CD node) ? thank you very much Sharon <Catalog> <Cd category="rock"> <Title>Empire B...more >>

RichTextBox.selection.color
Posted by DG at 5/28/2005 12:00:00 AM
i do: for(int i=0; i<10; i++) { txtLog.Text = i.ToString() + "\r\n" + txtLog.Text; startSelection = txtLog.SelectionStart; lenghtSelection = txtLog.SelectionLength; txtLog.Select(0, i.ToString().Length); if(i%2 == 0) { txtLog.SelectionColor = Color.B...more >>

mouse leaving form
Posted by AinO at 5/28/2005 12:00:00 AM
Hi, (VS2003/c# - System.Windows.Forms) Is there a way to know (have an event triggered) if the mouse leaves a form, if this form's client area is completly covered with child controls ? I tried various mouse move/leave event handling scenario's involving the form or the controls on it's ...more >>

HTTPApplication behavior.
Posted by AinO at 5/28/2005 12:00:00 AM
Hi, - I've created a webservice in VS2003/c# wich relies heavily on cache. It has a cache manager wich loads resources (triggered by requests) and wich has also a built in timer wich triggers every 5 mins a check on the unused lifetime of all cached resources and frees them if they exceed th...more >>

C# Web Services problem
Posted by longroad at 5/28/2005 12:00:00 AM
I need to create a web service with c# and asp.net Im a little confused exactly how i should code this, whether i should use a class file or if that would be unneccesary. Its a web service that will calculate shipping costs for various states. the 2 input parameters are state and weight (w...more >>

How can i detect video from control without from webcam in C#.NET
Posted by Mamatha at 5/28/2005 12:00:00 AM
Hi, I have a video capturing with motion detection application in C#.NET.In that application i detected all resources i.e video source and audion source thourgh motion detection,now i want to capture that live video into wmv file.Now i want help from you in the case of how can we detect the...more >>

repainting controls
Posted by Newbie at 5/28/2005 12:00:00 AM
I am having a bad day here. All I want to do is resize a ComboBox at runtime. senderComboBox.DropDownWidth = width; senderComboBox.Width =width + vertScrollBarWidth; senderComboBox.Invalidate(); This is not working and only resizes when i click on the dropdown itself, can someone com...more >>

Intellisense-Descritpion-Attributes
Posted by Michael Maercker at 5/28/2005 12:00:00 AM
Hi! I know there's some way of using .Net's <Attributes> in my own code to set method descriptions etc. that will be shown in Intellisense while programming - or at least after compiling into a dll for example. I've searched the net, but all I keep finding that somehow comes close is showing ...more >>


DevelopmentNow Blog