Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bev Meteyer
  Where is Bev Meteyer?
 Las Vegas
 Nevada - United States
 Bev Meteyer
 To: BZ Dusk
  
 
 
 BZ Dusk
 Tags
Subject: RE: Compiled version (EXE) won't show form
Thread ID: 16067 Message ID: 16072 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Tuesday, October 08, 2002 8:49:34 PM         
   


> > I know I have seen this before but I can't find it in the search. I have created a modal form and a very small prg to run the form (do form path\formname). When I run it through VFP, it works fine. When I build it into an EXE, nothing shows. What am I missing?
>
> Hi!
>
> In your main prg make sure you have included READ EVENTS after the do form command.
>
> BZ
BZ:

Thanks for your speedy reply. My code does have a read events - entire code is shown below. Is there a property on my form that may not be set correctly? Someone told me that they thought there had to be some kind of main window or screen in order for the rpoject to run. Have you ever heard of such a thing? When the exe is run, it stays open and I have to kill the process through my task manager.

Code is :
* run as a standalone for transfer of files via vpn
set talk off
set exact on
set near off
close data
Sele 0
use SysStore
Set order to tag Main
Locate for uniq="01" and "WH UPLOAD PATH" $key
If Found()
vDestPath = alltrim(Val1)
Endif
do form win\inscreen\dnldwh
read events
RETURN

ENTIRE THREAD

Compiled version (EXE) won't show form Posted by Bev Meteyer @ 10/8/2002 6:25:39 PM
RE: Compiled version (EXE) won't show form Posted by BZ Dusk @ 10/8/2002 8:08:12 PM
RE: Compiled version (EXE) won't show form Posted by Bev Meteyer @ 10/8/2002 8:49:34 PM
RE: Compiled version (EXE) won't show form Posted by Michael Gill @ 10/8/2002 10:42:20 PM
RE: Compiled version (EXE) won't show form Posted by Bev Meteyer @ 10/9/2002 12:12:30 AM