Valhalla Legends Forums Archive | Visual Basic Programming | Loading an EXE into an MDI form.

AuthorMessageTime
NetNX
I'm wonder is it possible to load an Another exe into my VB6 MDI Form.
November 28, 2006, 12:31 PM
NetNX
Private Declare Function SetParent Lib "user32" (ByVal
hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private Declare Function FindWindow Lib "user32"
Alias "FindWindowA" (ByVal lpClassName As String, ByVal
lpWindowName As String) As Long

Dim MyHandle As Long
Private Sub Form_Load()
Shell ("c:\winnt\notepad.exe")
MyHandle = FindWindow(vbNullString, "Untitled - Notepad")
SetParent MyHandle, Me.hWnd
End Sub
November 28, 2006, 12:56 PM
UserLoser
Question makes no sense
November 28, 2006, 11:56 PM
Topaz
This guy has a history of being an idiot... read his posts.
November 29, 2006, 12:37 AM
warz
LoadLibrary?
November 29, 2006, 12:58 AM
l2k-Shadow
He meant how to set a different parent window for a program.
November 29, 2006, 1:41 AM
Topaz
[quote author=l2k-Shadow link=topic=16081.msg161929#msg161929 date=1164764497]
He meant how to set a different parent window for a program.
[/quote]

Is that why he titled his post Loading an EXE into an MDI form.?
November 29, 2006, 2:12 AM
l2k-Shadow
[quote author=topaz link=topic=16081.msg161930#msg161930 date=1164766343]
[quote author=l2k-Shadow link=topic=16081.msg161929#msg161929 date=1164764497]
He meant how to set a different parent window for a program.
[/quote]

Is that why he titled his post Loading an EXE into an MDI form.?
[/quote]

As to that I have no idea, I was simply stating that is what he meant, as seen from his second post, since you guys seem to have missed it.
November 29, 2006, 3:18 AM
FrOzeN
Um.. I though the title imposed a pretty clear message as to what he wants. Just "technically" worded incorrectly.

He wants to be able to open an .exe with his program and have that .exe's window shown inside his MDI form.
November 29, 2006, 4:16 AM
Quarantine
I agree with Frozen. If he didnt know HOW to do it how do you expect him to properly detail what he wants to get done? He did it the best he could
November 29, 2006, 9:13 PM
JoeTheOdd
I agree with Warrior.

Wait.. what the..
November 30, 2006, 5:52 AM
l2k-Shadow
[quote author=Joe[x86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.

Wait.. what the..
[/quote]

Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
November 30, 2006, 6:08 AM
HeRo
[quote author=l2k-Shadow link=topic=16081.msg161997#msg161997 date=1164866938]
[quote author=Joe[x86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.

Wait.. what the..
[/quote]

Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
[/quote]
And this one.
November 30, 2006, 8:43 AM
JoeTheOdd
[quote author=heRo link=topic=16081.msg162006#msg162006 date=1164876229]
[quote author=l2k-Shadow link=topic=16081.msg161997#msg161997 date=1164866938]
[quote author=Joe[x86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.

Wait.. what the..
[/quote]

Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
[/quote]

And this one.
[/quote]

I agree with heRo. HeRo's posts are useless.
December 2, 2006, 7:35 AM
HeRo
[quote author=Joe[x86] link=topic=16081.msg162085#msg162085 date=1165044918]
[quote author=heRo link=topic=16081.msg162006#msg162006 date=1164876229]
[quote author=l2k-Shadow link=topic=16081.msg161997#msg161997 date=1164866938]
[quote author=Joe[x86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.

Wait.. what the..
[/quote]

Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
[/quote]

And this one.
[/quote]

I agree with heRo. HeRo's posts are useless.
[/quote]

And this one.
December 2, 2006, 7:37 AM
shout
spam.
December 5, 2006, 7:17 PM
Grok
I'm disappointed in a lot of you over these types of replies.  If you are not interested in staying on topic and being helpful, do not post at all in this forum.
December 5, 2006, 10:47 PM
warz
[quote author=Grok link=topic=16081.msg162298#msg162298 date=1165358834]
I'm disappointed in a lot of you over these types of replies. If you are not interested in staying on topic and being helpful, do not post at all in this forum.
[/quote]

Your post wasn't on topic, or helpful either, though. :P
December 6, 2006, 1:01 AM
MyStiCaL
So he wants to load another exe into his mdi as a mdi child?
December 6, 2006, 3:28 AM
JoeTheOdd
[quote author=Mystical link=topic=16081.msg162310#msg162310 date=1165375700]
So he wants to load another exe into his mdi as a mdi child?
[/quote]

Yes.

[quote author=warz link=topic=16081.msg162300#msg162300 date=1165366910]
Your post wasn't on topic, or helpful either, though. :P
[/quote]

Neither was yours!

[quote author=Grok link=topic=16081.msg162298#msg162298 date=1165358834]
I'm disappointed in a lot of you over these types of replies. If you are not interested in staying on topic and being helpful, do not post at all in this forum.
[/quote]

Our bad.
December 7, 2006, 9:47 AM
NetNX
Yes because I couldn't describe what I wanted to do made finding it on Google a tedious task. After looking for a bit I created the post and after I found what I was searching for I amended the post. :P
December 7, 2006, 2:47 PM

Search