By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,578 Members | 1,786 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,578 IT Pros & Developers. It's quick & easy.

Starting a process, controling the window

P: n/a
I would like to be able to start a process, but then maintain some control
over the window it creates. (Size, position, always on top, etc.)

Can't seem to locate documentation on this one. Can anyone point me
somewhere? Thanks.

(The ultimate goal would be the ability to make an external program behave
as if it was an MDI child in my program.)

--
--Zorpie
Feb 6 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
jvb
Zor,

See if this helps...

Dim frmNew as New MyForm

MyForm.TopMost = True
MyForm.Size = New System.Drawing.Size(<width>, <height>)
MyForm.Location = New System.Drawing.Point(<x>, <y>)

MyForm.MDIParent = Me

MyForm.Show()

Feb 6 '06 #2

P: n/a
Thanks, but I'm trying to control an external process' window, not a form
that is native to my program.

--
--Zorpie
"jvb" wrote:
Zor,

See if this helps...

Dim frmNew as New MyForm

MyForm.TopMost = True
MyForm.Size = New System.Drawing.Size(<width>, <height>)
MyForm.Location = New System.Drawing.Point(<x>, <y>)

MyForm.MDIParent = Me

MyForm.Show()

Feb 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.