Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program exe not running on customer server
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01659182
Message ID:
01659256
Views:
43
>>Hi,
>>
>>I created a small .exe VFP 9 application which simply opens a XML file and shows records. Very small program. It runs well on my computer, in any folder I place it to.
>>
>>But when I copy this .exe to the customer server it does not run. As if, when I start the program, the CLEAR EVENTS immediately fires. The entire program is just one form. Here is the code in the main.prg
>>
>>public oForm
>>oForm = NEWOBJECT('error_log_form','viewerrorlog.vcx')
>>
>>IF TYPE('oForm') = 'O' .and. !ISNULL( oForm )
>>	oForm.show()
>>ENDIF 
>>	
>>READ EVENTS
>>
>>ON SHUTDOWN
>>
>>
>>The CLEAR EVENTS is in the Unload method of the form ('error_log_form'). This form has property ShowWindow set to 2 - As Top-Level Form.
>>
>>The customer server, where I copied the EXE has VFP 9 run-time installed since I can run the application on the server.
>>
>>Why would my small .exe not run on the customer server? Where should I look?
>>
>>TIA
>
>You can use vartype for the test of form's existence and you can also declare your variable private.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform