Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't find SCX - sometimes
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Can't find SCX - sometimes
Miscellaneous
Thread ID:
00678845
Message ID:
00678845
Views:
42
I have a form called get_data_format in my project. It's not excluded. I used to build an .APP file that ran from a loader program. If I didn't check "recompile all files" when I built, it couldn't find the SCX when I ran it. It never bothered me too much, I just always made sure I selected "recompile all files" when I was building for release. Now our loader runs .EXEs instead of .APPs. When building an .EXE, it doesn't matter if I select "recompile all files" or not. It can't find the .SCX.

I've tried removing it from the project file, re-adding it, packing the project, refreshing, cleaning up the project, modifying and re-saving the form...

I can get it to work if I add a toobar button to the app and run the form that way first. The form is normally called from a button on a base class for a form. If I don't call it directly first, it can't be found.

I don't think the form itself is corrupted since it works when I call it explicitly from the toolbar. Also, it seems to fail when locating the file, not trying to run it.

Any ideas?
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform