Click here to Skip to main content
16,004,927 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: adding a program to right-click menu during installation Pin
oedipusrex10-Aug-09 13:13
oedipusrex10-Aug-09 13:13 
GeneralRe: adding a program to right-click menu during installation Pin
Arindam Sinha10-Aug-09 22:41
Arindam Sinha10-Aug-09 22:41 
GeneralRe: adding a program to right-click menu during installation Pin
oedipusrex10-Aug-09 22:47
oedipusrex10-Aug-09 22:47 
GeneralRe: adding a program to right-click menu during installation Pin
Arindam Sinha11-Aug-09 0:41
Arindam Sinha11-Aug-09 0:41 
QuestionLinq Vs Stored Procedure Pin
Rolando Y. Puno7-Aug-09 16:08
Rolando Y. Puno7-Aug-09 16:08 
AnswerRe: Linq Vs Stored Procedure Pin
N a v a n e e t h7-Aug-09 18:25
N a v a n e e t h7-Aug-09 18:25 
GeneralRe: Linq Vs Stored Procedure Pin
Not Active8-Aug-09 6:22
mentorNot Active8-Aug-09 6:22 
QuestionBroadcasting custom windows message(Interprocess communication) Pin
callousfantom7-Aug-09 2:17
callousfantom7-Aug-09 2:17 
Hi I have a service written in Visual C++ 6 that needs to interact with an application written in vb.net. In my service I have used :

<b>DWORD mymsg=RegisterWindowMessage("my_message")</b>

to register a unique custom message.
I then use:

<b>BOOL b=SendNotifyMessage(HWND_BROADCAST,mymsg,NULL,NULL)</b>

to broadcast my message. However, I can't seem to be able to capture this message in the Windowproc function of my vb.net application.

<b>Private Declare Function RegisterWindowMessage Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpString As String) As Integer
Dim mymsg As Integer = RegisterWindowMessage("my_message")

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
if m.Msg=mymsg then
--do something--
end if
end sub</b>

Please help! Sigh | :sigh:

P.S.:I need to show a pop up in my .net application when it receives this message. The message values have all registered properly in both applications and are returned to be the same when I print them. Also the SendNotitfyMessage in my service returns a non zero value(supposed to indicate success). What do I do?? What am I doing wrong? Is there something wrong with my message receiving code in vb.net?
AnswerRe: Broadcasting custom windows message(Interprocess communication) Pin
Moreno Airoldi7-Aug-09 2:45
Moreno Airoldi7-Aug-09 2:45 
GeneralRe: Broadcasting custom windows message(Interprocess communication) Pin
callousfantom9-Aug-09 18:43
callousfantom9-Aug-09 18:43 
GeneralRe: Broadcasting custom windows message(Interprocess communication) Pin
Moreno Airoldi9-Aug-09 22:46
Moreno Airoldi9-Aug-09 22:46 
AnswerRe: Broadcasting custom windows message(Interprocess communication) Pin
Mark Salsbery7-Aug-09 6:21
Mark Salsbery7-Aug-09 6:21 
GeneralRe: Broadcasting custom windows message(Interprocess communication) Pin
callousfantom9-Aug-09 18:47
callousfantom9-Aug-09 18:47 
GeneralRe: Broadcasting custom windows message(Interprocess communication) Pin
callousfantom9-Aug-09 23:14
callousfantom9-Aug-09 23:14 
QuestionHow to communicate with Win CE device connected by usb Pin
Deflinek7-Aug-09 1:23
Deflinek7-Aug-09 1:23 
AnswerRe: How to communicate with Win CE device connected by usb Pin
annathor10-Aug-09 2:27
annathor10-Aug-09 2:27 
Questiondatagridview Pin
akr_0456-Aug-09 23:08
akr_0456-Aug-09 23:08 
AnswerRe: datagridview Pin
Hypermommy7-Aug-09 2:25
Hypermommy7-Aug-09 2:25 
AnswerRe: datagridview Pin
Jack Vanderhorst7-Aug-09 14:19
Jack Vanderhorst7-Aug-09 14:19 
QuestionTabcontrol of Visual Studio 2005 Pin
J.K.Sharma6-Aug-09 22:52
J.K.Sharma6-Aug-09 22:52 
AnswerRe: Tabcontrol of Visual Studio 2005 Pin
Arindam Sinha7-Aug-09 3:04
Arindam Sinha7-Aug-09 3:04 
AnswerRe: Tabcontrol of Visual Studio 2005 Pin
Luc Pattyn7-Aug-09 3:47
sitebuilderLuc Pattyn7-Aug-09 3:47 
QuestionFTP Append in .net 1.1 Pin
Member 41816696-Aug-09 10:30
Member 41816696-Aug-09 10:30 
AnswerRe: FTP Append in .net 1.1 Pin
N a v a n e e t h6-Aug-09 18:12
N a v a n e e t h6-Aug-09 18:12 
GeneralRe: FTP Append in .net 1.1 Pin
Member 41816697-Aug-09 11:52
Member 41816697-Aug-09 11:52 

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.