Click here to Skip to main content
15,914,066 members
Home / Discussions / C#
   

C#

 
GeneralRe: Save string... HowTo? Pin
QzRz9-Sep-04 8:09
QzRz9-Sep-04 8:09 
AnswerRe: Save string... HowTo? Pin
Stefan Troschuetz9-Sep-04 7:50
Stefan Troschuetz9-Sep-04 7:50 
Generalmerging halftoned images Pin
Member 7466529-Sep-04 6:40
Member 7466529-Sep-04 6:40 
GeneralMerge halftone images Pin
Anonymous9-Sep-04 6:21
Anonymous9-Sep-04 6:21 
QuestionIntegrating A Custom Editor Within VS IDE 2003... Possible? Pin
Nailbite9-Sep-04 5:25
Nailbite9-Sep-04 5:25 
GeneralMaster-Child DataGrid Filter Issue: Winform DataGrid Pin
Looney Tunezez9-Sep-04 4:50
Looney Tunezez9-Sep-04 4:50 
GeneralClearing the clipboard Pin
Garrick Hensberg9-Sep-04 4:36
Garrick Hensberg9-Sep-04 4:36 
GeneralRe: Clearing the clipboard Pin
Dave Kreskowiak9-Sep-04 5:44
mveDave Kreskowiak9-Sep-04 5:44 
If your using the Clipboard class, all you need to do is use the SetDataObject(object, bool); version of SetDataObject. The bool parameter tells the clipboard wheather or not to clear its contents when your application exists.

If you wanted to clear the clipboard at the click of a button, or other control, then you'll have to P/Invoke the Win32 OLE function OleSetClipboard[^]. It takes a single parameter, a pointer to an IDataObject, but in order to clear the clipboard, you'll pass in null.
[DllImport("ole32.dll")]
 static extern int OleSetClipboard(IDataObject pDataObj);




RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralTo minimize all opened windows Pin
Chauhan9-Sep-04 2:59
Chauhan9-Sep-04 2:59 
GeneralRe: To minimize all opened windows Pin
Nick Parker9-Sep-04 3:46
protectorNick Parker9-Sep-04 3:46 
Generalnumeric updown column in datagrid Pin
9-Sep-04 1:32
suss9-Sep-04 1:32 
GeneralAPI Calls Pin
Member 368639-Sep-04 1:25
Member 368639-Sep-04 1:25 
GeneralRe: API Calls Pin
Nick Parker9-Sep-04 3:58
protectorNick Parker9-Sep-04 3:58 
QuestionHow to use COM DLL in ASP.NET using C# Pin
zahid_ash9-Sep-04 0:39
zahid_ash9-Sep-04 0:39 
AnswerRe: How to use COM DLL in ASP.NET using C# Pin
Dave Kreskowiak9-Sep-04 5:32
mveDave Kreskowiak9-Sep-04 5:32 
GeneralA simple FileSystemWatcher Question ( How to see if file has copied) Pin
Capriono9-Sep-04 0:29
Capriono9-Sep-04 0:29 
GeneralRe: A simple FileSystemWatcher Question ( How to see if file has copied) Pin
Pradeep Shamarao9-Sep-04 3:11
Pradeep Shamarao9-Sep-04 3:11 
GeneralRe: A simple FileSystemWatcher Question ( How to see if file has copied) Pin
mav.northwind9-Sep-04 5:30
mav.northwind9-Sep-04 5:30 
GeneralDelay Pin
erina5488-Sep-04 22:53
erina5488-Sep-04 22:53 
GeneralRe: Delay Pin
sreejith ss nair8-Sep-04 22:56
sreejith ss nair8-Sep-04 22:56 
GeneralDo User Control Pin
jzb8-Sep-04 21:40
jzb8-Sep-04 21:40 
GeneralRe: Do User Control Pin
sreejith ss nair8-Sep-04 22:53
sreejith ss nair8-Sep-04 22:53 
Generalcomparing date in database Pin
xiaowenjie8-Sep-04 20:32
xiaowenjie8-Sep-04 20:32 
GeneralRe: comparing date in database Pin
sreejith ss nair8-Sep-04 21:15
sreejith ss nair8-Sep-04 21:15 
GeneralRe: comparing date in database Pin
Anonymous8-Sep-04 22:34
Anonymous8-Sep-04 22:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.