Windows Class

C

Chris

Hi, I pretty new to Visual Basic (and windows coding in general) and I have
a question that may have an obvious answer. I'm making a simple app using
the Windows Forms template... is there a way to set what my window class is
called? Right now, its called something like
"windowsforms10.window.8.app.0.bf7771" which changes every time I run it. I
need it to be the same so I can receive WM_COPYDATA messages from a program
I didn't write. I could catch these with a custom control (hidden window
type thing), but I still don't know how to set the name in VB. Any help is
appreciated. BTW - using VS 2005 Express Beta
 
H

Herfried K. Wagner [MVP]

Chris said:
Hi, I pretty new to Visual Basic (and windows coding in general) and I
have a question that may have an obvious answer. I'm making a simple app
using the Windows Forms template... is there a way to set what my window
class is called? Right now, its called something like
"windowsforms10.window.8.app.0.bf7771" which changes every time I run it.
I need it to be the same so I can receive WM_COPYDATA messages from a
program I didn't write.

See:

<URL:http://www.google.de/[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top