VB6 Wierdness

Experts,

There's a form in my VB6 project that launches the entire app when I try to open it in design time.  The only thing different about the form is that I just added the Microsoft Word doc tool to the form.  

What's going on?
LVL 1
NigelRocksAsked:
Who is Participating?
 
rachitkohliConnect With a Mentor Commented:
Assuming you have added an OLE control. Do not select the application for it.Try creating it dynamically through code.

Remove, the value from the Class property of that control, then from the code try an access the file for an instance :
ole1.CreateEmbed "FILEPATH"
0
 
c0ldfyr3Connect With a Mentor Commented:
Why are you adding the control to the form? Try referencing it instead and creating it at runtime...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.