Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help running a form

Status
Not open for further replies.

DukeArgos

Technical User
Feb 26, 2002
9
US
Ok, i'm not a programmer -- but hopefully this is a simple request...

I made a VFP form in VFP 6.0 SP5 and have a .scx and a .sct file. I find that i can get into the form quickly by double clicking the .sct file in the windows explorer. However, this opens foxpro and i then have to select the "!" to run the form.

My question is -- do i always have to go into foxpro to be able to view and run my form? Or is there something simple i'm missing to make this run automatically every time?

thanks for any help!!!
 
SCX files (and their corresponding SCT files) are not executable by themselves. You will always have to run VFP to access these.

The only way to run them without VFP is to build an executable around it.

Ian
 
HI
DO the following
1. Start VFP
2. In the command window type the following and press enter
MODI COMM myPrg
Now in the resulting window .. type ...
DO FORM myForm
now save this file..
Now in the command window.. type the following and then press enter.......
DO myPrg

This will run your form..
Now close and leave VFP..

3. Next time onwards.. you can click on .. MyPrg.FXP and this will run your form after starting VFP.

Hope this helps you :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
ramani,

THANKS!!! That worked perfectly!!!


chpicker,

thanks for your help too...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top