Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to activate command windows at startup?
Message
From
15/09/2006 14:19:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153220
Message ID:
01154234
Views:
15
>Hi John,
>
>>It works only if I run "after" VFP finished loaded. If I place it in a prg and set as startup program, then I will get error "window 'command' is not defined.
>
>As Fred says, the command window should be active by default when VFP is done... However, in case something strange with restoring docked windows is causing the problem, you could launch a timer in the startup program. The timer would attempt to activate the command window. If it succeeded, it would relase it self.
>
>If you don't mind reconfiguring fonts and window positions, you could also rename your FOXUSER.DBF file and start with a fresh one.

Actually, Foxuser is just a table... and getting acquainted with the types of records in it may be worth the while. I have had my share of problems with it, but never had to kill it. I'd just browse it, find the relevant records (where I suspected the error was saved :), and then delete those records. Pack, Set Reso On and voila.

And my life actually changed for the better when I decided to have a separate foxuser for each project - a little "set resource to .\foxuser" in the environment manager script does that, so I have separate MRU lists where entries have nothing to do with other projects.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform