Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an App with VFP runtime
Message
From
22/08/2001 07:20:58
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00546156
Message ID:
00547141
Views:
17
Bob,

It has to be included in the app. The app works in the environment with VFP installed.

Thanks

Rex
>Actually, I think the Class is either included or excluded from the Project, and the project is turned into either an app, or exe file.
>But if you say that it cant find the Cbhavior.vcx file, then I would assume that it is not in fact included in the project.
>
>the first thing I would do to test that assumption is to just copy the vcx vct files, to the client machine, to first the working directory where the app is, or in some predifined classfile directory.
>
>When working with Class files,and apps, I find that I have to copy the class files to the work station as well.
>
>Bob Lee
>
>
>>Bob,
>>>Different behavior. how so. ?
>>
>>Well, on machines with VFP installed, the app works. On machines with just the runtime, I get a cannot find CBhavior.vcx file. This class in included in the APP.
>>
>>Any ideas?
>>
>>TIA
>>
>>Rex
>>>
>>>my startup file(included in my exe file ) has the all important read events where the app file does not.
>>>
>>>Could that be your trouble. ?
>>>You do need to have a startup prg in your exe.
>>>
>>>the reason byw, that I dont include my app, in my exe... is that I like having fast loading programs, I can get my exe down to about 12K keeping everything out of it, and having class files and app completly seperate.
>>>
>>>
>>>Bob Lee
>>>
>>>>That was my idea too, but I am getting different behavior on machines running VFP and those running the VFP runtime. I thought if I could include the APP in an EXE, I might get around this.
>>>>
>>>>Thanks
>>>>
>>>>Rex
>>>>
>>>>>What I do is create the app file, (which gets updated.) and the exe stays very small. That way the exe I never have to update, but the app file. (well you know. updates are never ending )
>>>>> I can have the user just copy the new app file to the working directory. (or have the exe check for a newer version over their network. and copy it before the exe calls the app.... That way the user always has the latest copy of the app...
>>>>>
>>>>>Bob Lee
>>>>>
>>>>>>All,
>>>>>>
>>>>>>I have a module compiled into an .APP. I need to call this module from an EXE. Can I include the APP into the EXE, or can I leave the APP as a separate file? I now have the APP separated from the EXE and I am getting errors on machines with just the VFP runtime installed. If I need to combine the two, how can I do this?
>>>>>>
>>>>>>TIA
>>>>>>
>>>>>>Rex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform