Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

In VB.Net, how do I get the main form of another program's properties.

 

For example, I know that TheProg.exe is running, and if I use 'FinadAnyForm' and pass 'TheProg' to it, I will come back with TheProg.exe's ID

 

I assume I should then dim fForm as Form, but then how do I associate fForm with this form I just found?

Read the Fovean Chronicles

Because you just can't spend your whole day programming!

  • Leaders
Posted
you would need to get the handle of the program , then find the childwindows of that and then the handles of the controls on the form with FindWindowEx i guess , why would you want to access another program though? why not make yours do what you need?

Posted
The other program is GoldMine, and the program moves data from it to another program, which changes the data and sends it back. GoldMine's methods depend in large part on DDE, which is inaccessible in VB.Net

Read the Fovean Chronicles

Because you just can't spend your whole day programming!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...