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

How do I hide the Visual Foxpro menu

Status
Not open for further replies.

castor2003

Programmer
Jul 5, 2003
115
LC
I have compiled an exe for my project which should start from a .prg which launches my login.scx. I keep getting the Visual Foxpro menu coming up first. I launch my own menu when the user gets authenticated.


a Hand can help alot...Thanks in advance you good people.
 
If your login.scx form is created as a Top-Level form, then start your application with SCREEN=OFF in the CONFIG.FPW and just to make sure, have a line in the .PRG file do _VFP.visible = .F.

Rick
 
Rick,

I tried what you suggested but I still get a flash of a white screen before my Login.scx kicks in.
 
Mike,
Screen off is in the CONFIG.FPW file. The first line in my SETMAIN.prg is _vfp.visible=.f., the login.scx is set AS TOP LEVEL and WindowsType is Modal. Yet I get a flash of the VFP screen (I guess) before my login.scx kicks in.
 
Castor,
Are you seeing this "flash" in the runtime with a .EXE? If you can, it's a good idea to actually include the CONFIG.FPW in the Project (either in Text Files or Other Files will work) and rebuild.

Rick
 
Castor,

That's odd. The commands in the Config execute before the VFP window loads, so you should never see anything other than your top-level form. For some reason, the Config isn't executing. Is it possible that you are picking up the wrong Config?

Mike


Mike Lewis
Edinburgh, Scotland
 
The CONFIG.FPW file is in the same directory as the .EXE file.

and it has SCREEN = OFF
 
Gentlemen,

My sincere apologies

I had a config file which was badly named. It was not obvious looking at the Explorer folder. It was actually named. CONFIG.FPW.FPW and not CONFIG.FPW.


Thanks for all the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top