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!

Visual FoxPro 9 - Executable file not working

Status
Not open for further replies.

Amex7711

Programmer
Jun 1, 2022
1
AE
Hi,
when i build my executable file , not working at all , but I can find it in task manager
and if i run it again, i got corruption on all DBF files
regards
 
If it's present in Task Manager but not visible on the screen, it's likely that you have explicitly hidden the main VFP window.

Either: you have [tt]SCREEN.Visible = .F.[/tt] or [tt]_SCREEN.Hide[/tt] somewhere in your program, probably near the beginning;

Or: you have a CONFIG.FPW file that contains the line [tt]SCREEN = OFF[/tt].

So start by checking the above two possibilities. If you find the offending line, remove it.

(A good way to search a project for some specific code is to use Code References on the Tools menu.)

If this doesn't help, report back.

Mike




__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
The first could be a problem of hiding screen but having forms (by default) in screen, so you see nothing but the task can be found.

But the dbf corruption problem just from starting an exe. Well, what does it do? Do you have any initial routine of using some packing or automatic fixiing on tables, which, if started twice, could lead to problems?

I think we'd need to see your code to see what's going on, there is no generally known OS/runtime/VFP problem that fits our description.

Chriss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top