|
-
Jun 6th, 2002, 04:48 AM
#1
Thread Starter
New Member
Passing a form to an ActiveX EXE
Hi,
I'm trying to open up a form as an ActiveX EXE (or DLL) as an MDIChild - the only way I can think to do this, is to pass in the form as a reference to the Show Form sub - and then set it as the parent when you open the ActX form:
- Form1.Show False, Parent
Unfortunately - when I try to do this - it won't allow me to pass in a Form object... any ideas?
Cheers
Owen
-
Jun 6th, 2002, 10:18 AM
#2
Try using the generic data type 'Object' instead of the type 'Form'.
-
Jun 6th, 2002, 11:31 AM
#3
Thread Starter
New Member
Thanks for your prompt reply,
I've already tried using an Object - it passes in ok - but fails when you try to set it as the parent when showing the form... is there any way to convert an object into a form (a bit like CInt(i) etc)?
Cheers
Owen
-
Jun 6th, 2002, 11:57 AM
#4
Post your code for setting the parent.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|