Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: NESTED DATAGRID IN WINDOWS FORM Pin
Vinay Dornala8-Apr-07 23:16
Vinay Dornala8-Apr-07 23:16 
GeneralRe: NESTED DATAGRID IN WINDOWS FORM Pin
Faisal Khatri9-Apr-07 19:57
Faisal Khatri9-Apr-07 19:57 
QuestionBainding only images to combobox Pin
Sivaprasad C8-Apr-07 18:33
Sivaprasad C8-Apr-07 18:33 
QuestionSending message to another process Pin
aljodav8-Apr-07 17:40
aljodav8-Apr-07 17:40 
AnswerRe: Sending message to another process Pin
Sathesh Sakthivel8-Apr-07 17:49
Sathesh Sakthivel8-Apr-07 17:49 
GeneralRe: Sending message to another process Pin
aljodav8-Apr-07 19:29
aljodav8-Apr-07 19:29 
GeneralRe: Sending message to another process Pin
aljodav8-Apr-07 19:48
aljodav8-Apr-07 19:48 
GeneralRe: Sending message to another process Pin
S. Senthil Kumar9-Apr-07 6:46
S. Senthil Kumar9-Apr-07 6:46 
You could simply use P/Invoke SendMessage using this[^] p/invoke declaration. To get the window handle of the other process, you can use Process.GetProcess to get the process object for the other process and then use the MainWindowHandle property to get the window handle.

You would also need to use the actual value of WM_COPYDATA (0x004A), as that enum doesn't exist in C#.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

GeneralRe: Sending message to another process Pin
aljodav9-Apr-07 18:31
aljodav9-Apr-07 18:31 
QuestionChild Form Pin
Alireza38398-Apr-07 13:44
Alireza38398-Apr-07 13:44 
Questionproblem with Main() method with argument(s). Pin
hdv2128-Apr-07 13:09
hdv2128-Apr-07 13:09 
AnswerRe: problem with Main() method with argument(s). Pin
DavidNohejl8-Apr-07 13:30
DavidNohejl8-Apr-07 13:30 
GeneralRe: problem with Main() method with argument(s). Pin
hdv2128-Apr-07 14:14
hdv2128-Apr-07 14:14 
GeneralRe: problem with Main() method with argument(s). Pin
Colin Angus Mackay8-Apr-07 16:12
Colin Angus Mackay8-Apr-07 16:12 
QuestionHow to customize(!) the file property page? Pin
elefunction8-Apr-07 12:47
elefunction8-Apr-07 12:47 
QuestionProblem using ContextMenu ? [modified] Pin
Khoramdin8-Apr-07 11:22
Khoramdin8-Apr-07 11:22 
AnswerRe: Problem using ContextMenu ? Pin
Luc Pattyn8-Apr-07 11:42
sitebuilderLuc Pattyn8-Apr-07 11:42 
QuestionFileSystemWatcher. And first hello Pin
Ylno8-Apr-07 9:39
Ylno8-Apr-07 9:39 
AnswerRe: FileSystemWatcher. And first hello Pin
Luc Pattyn8-Apr-07 11:31
sitebuilderLuc Pattyn8-Apr-07 11:31 
GeneralRe: FileSystemWatcher. And first hello Pin
Ylno8-Apr-07 12:04
Ylno8-Apr-07 12:04 
GeneralRe: FileSystemWatcher. And first hello [modified] Pin
Luc Pattyn8-Apr-07 12:20
sitebuilderLuc Pattyn8-Apr-07 12:20 
QuestionNumber by words Pin
AndrusM8-Apr-07 9:15
AndrusM8-Apr-07 9:15 
AnswerRe: Number by words Pin
Hesham Amin8-Apr-07 11:36
Hesham Amin8-Apr-07 11:36 
AnswerRe: Number by words Pin
Colin Angus Mackay8-Apr-07 12:19
Colin Angus Mackay8-Apr-07 12:19 
QuestionRemote exceptions Pin
Tauseef A8-Apr-07 7:41
Tauseef A8-Apr-07 7:41 

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.