How do you run a form from a VCX that is added to the first form.
The vcx is added in this statement:
thisform.newobject("vDraft", lcClass, lcClass_vcx)
This vcx is not part of the project and is not compiled in the EXE.
When I run the first form from my computer and add the class all is fine because the SCX is present. But in the compiled program it is part of the EXE and the error message says that the second form to run from the VCX does not exists.

I'm not sure if this is what you want to do, but if you want the vcx to be available but not compiled into the exe, you can add it to the project in the project manager, and then right-click it and choose "Exclude" to prevent it from being compiled into the exe. As long as you ship it with the exe, it should work.

If you don't want it compiled into the exe and you also don't want it included in the project, I'm not sure how you could get it to work.

Ken Dibble
www.stic-cil.org



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to