I'm wonder is it possible to load an Another exe into my VB6 MDI Form.
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
Question makes no sense
This guy has a history of being an idiot... read his posts.
LoadLibrary?
He meant how to set a different parent window for a program.
Quote from: l2k-Shadow on November 28, 2006, 07:41 PM
He meant how to set a different parent window for a program.
Is that why he titled his post Loading an EXE into an MDI form.?
Quote from: topaz on November 28, 2006, 08:12 PM
Quote from: l2k-Shadow on November 28, 2006, 07:41 PM
He meant how to set a different parent window for a program.
Is that why he titled his post Loading an EXE into an MDI form.?
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.
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.
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
I agree with Warrior.
Wait.. what the..
Quote from: Joex86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.
Wait.. what the..
Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
Quote from: l2k-Shadow on November 30, 2006, 12:08 AM
Quote from: Joex86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.
Wait.. what the..
Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
And this one.
Quote from: heRo on November 30, 2006, 02:43 AM
Quote from: l2k-Shadow on November 30, 2006, 12:08 AM
Quote from: Joex86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.
Wait.. what the..
Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
And this one.
I agree with heRo. HeRo's posts are useless.
Quote from: Joex86] link=topic=16081.msg162085#msg162085 date=1165044918]
Quote from: heRo on November 30, 2006, 02:43 AM
Quote from: l2k-Shadow on November 30, 2006, 12:08 AM
Quote from: Joex86] link=topic=16081.msg161995#msg161995 date=1164865953]
I agree with Warrior.
Wait.. what the..
Your posts are so useless, that they are just as useless as this post which I am typing and posting right now. :D
And this one.
I agree with heRo. HeRo's posts are useless.
And this one.
spam.
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 from: Grok on December 05, 2006, 04:47 PM
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.
Your post wasn't on topic, or helpful either, though. :P
So he wants to load another exe into his mdi as a mdi child?
Quote from: Mystical on December 05, 2006, 09:28 PM
So he wants to load another exe into his mdi as a mdi child?
Yes.
Quote from: warz on December 05, 2006, 07:01 PM
Your post wasn't on topic, or helpful either, though. :P
Neither was yours!
Quote from: Grok on December 05, 2006, 04:47 PM
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.
Our bad.
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