Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Task Pane - Enviornment Manager is broken?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00949705
Message ID:
00949918
Views:
11
>>Well I see now that if I goto the Environment Manager tab and click "Manage Environments", that I can click the little "set" button in the popup window to set the enviornment - but what a pain in the neck! I've gone from 2 clicks to like 9 clicks! I mean over a year's time you know how many clicks that is?? This could cost me like 30 minutes a year! And my poor little mouse is taking a beating too!
>>
>>Surely someone knows how I can get the list of my projects back in the Enviornment Manager tab of the task pane. Sergery??? Anyone???
>
>I would open your EnvMgr table and copy the environment records to a temp table. Quit VFP, and blow away your envmgr table. Start over by using the table again and appending your env records from the temp table.
>
>From the Command Window:
>SET DELETED ON
>cPath = justpath(_foxcode)
>use addbs(cPath) + [EnvMgr]
>Copy to MyTempTable for EnvType = [E]
>QUIT
>* MOVE the EnvMgr files to a backup folder so they are no longer in the original location specified by cPath above.
>
>Start VFP again. Open the Environment Manager Task Pane. Should be empty. Close the Task Pane. Rerun the code above except append records into the EnvMgr table from MyTempTable. Hopefully that will resolve your problem.

Well...interestingly enough that didnt really do it either...however it got me playing around with a few things and I DID figure out what's causing the problem...and I can duplicate it too.

From the Enviornment Manager tab in the task pane...
Click "Manage Enviornements"...
Now the Enviornment Manager Window appears....
Pick a project there (or create one).
Select the "Environment Settings" tab.

Now....where it says "Run Script after Environment is set and project is loaded:"
This is where the problem is. If you just type something in the text box there and click OK, all is well - works fine and dandy - no problems - yippie....BUT... if you click the little "..." box to the right of this edit box, an empty .prg window comes up. In my case all I was doing was typing in a "SET ENGINEBEHAVIOR 70", then closing it. Well once you do that and then click the "OK" button to save all this...the project disappears from the Environment Manager tab in the task pane! Oooops. So golly gee wizzz did I just find a bug or what?
ICQ 10556 (ya), 254117
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform