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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Single form on desktop

Status
Not open for further replies.

fkwong

Programmer
Jul 5, 2002
65
0
0
US
I like to create a small EXE that has only one form but I like it to display in the Window desltop without the default Foxpro screen on the backgroud.

I have created an EXE but when I run it from the desktop and the form close automatically without even display anything. I usually has menu in other applications but this particular one does not require calling the form from the menu. I am sure this is a simple stuff for fellow gurus in this forum.

Can someone please advise me? Thanks in advance.
 
See faq184-1258

Basically, you need a main PRG file which calls the form (DO FORM) then issues READ EVENTS to start the VFP event processor.
 
Thanks! How do I surpress the window "Microsoft Visual FoxPro"?
 
That's mentioned in the FAQ: Create a Config.fpw file in the startup directory for your application, and have in it a line:

SCREEN=OFF
or
_SCREEN=OFF

(I don't remember which is right)
 
Or in the init event of the form, add the code..

_screen.Visible = .f.

:)



ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top