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

while running exe i am getting blan

Status
Not open for further replies.

arunrote

Programmer
Oct 10, 2001
6
IN
while running exe i am getting blank screen first time then after it is working fine.I have written below code in main.prg program.

_screen.visible=.F.
DO Form form1.scx && startup form
READ EVENTS unlock all
 
arunrote

Is "_screen.visible = .T." in the .Load or .Init event of your form?

Chris :)

 
hi chris,
I didn't write any thing in load or int event like _screen.visible = .T..I am just calling form1 from main form.I if i write _screen.visible = .T. in form1 init event i am getting visual foxpro window along with exe window.
 
Did you check your program code that you mistype command started with ! or RUN. Foxpro will execute this as DOS command.

A window screen with blank screen will popup then disappear.
#-)
 
arunrote

Assuming you have a config.fpw file put

SCREEN=OFF

to be the first or near the first line and then remove

_SCREEN.Visible = .F.

from main.prg

Also ensure FORM1.scx does not have

THISFORM.Visible = .F.

anywhere.

Let us know what happens

Chris :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top