• Welcome to Valhalla Legends Archive.
 

Loading an EXE into an MDI form.

Started by NetNX, November 28, 2006, 06:31 AM

Previous topic - Next topic

NetNX

I'm wonder is it possible to load an Another exe into my VB6 MDI Form.

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

UserLoser


topaz

This guy has a history of being an idiot... read his posts.
RLY...?


l2k-Shadow

He meant how to set a different parent window for a program.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

topaz

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.?
RLY...?

l2k-Shadow

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.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

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.
~ FrOzeN

Warrior

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
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

Joe[x86]

I agree with Warrior.

Wait.. what the..
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

l2k-Shadow

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: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Hero

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.

Joe[x86]

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: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Hero

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.