Good Evening Ken:
Thanks for the reply!
I want to be able to send a VCX when needed and not have it part of the actual 
program.
I have a form that loads a vcx from a folder. Any number of vcx's can be loaded 
(one at at time) based on the required info. One of the vcx's calls an existing 
form to position several tables. That positioning form is called from other 
forms in the system so I really don't want to make any changes to it.
And I don't want to keep adding vcx's to the project and exclude them from the 
exe.
The other thing I noticed is that my error handler does not fire from the vcx. 
The error handler is a form and when there is an issue in the vcx (any of them) 
I also get that the error handler form is not found. This is what tipped off 
that there was an issue with calling a form from a vcx.
Is there a way to include a form in the vcx by adding it as an object?
Thanks for any idea.
Best regards,
Jack


Sent from my iPad

On Mar 3, 2014, at 9:24 PM, "Ken Dibble" <[email protected]> wrote:

>
>> 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
>
>
>
[excessive quoting removed by server]

_______________________________________________
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