Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run SDT From Project Hook Class...
Message
From
01/03/2000 23:39:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Run SDT From Project Hook Class...
Miscellaneous
Thread ID:
00340407
Message ID:
00340407
Views:
57
Doug,

I have the following in my QueryModifyFile of a project hook class to run SDT when there is a modify of a database file. Here is the code...
LPARAMETERS oFile, cClassName

If oFile.Type = 'd'
	NoDefault
	Set DataBase To (oFile.Name)
	SDT( 'RUN' )
EndIf

Return
If you run this quickly you will see my problem. In frmSDT::Init the loadpictures are trying to load from a specific directory. I do have sdt and sdt\source in the path.

I think the problem is that GetAppDirectory() gets the directory of the project hook class rather than SDT.

Any Ideas?

BOb
Next
Reply
Map
View

Click here to load this message in the networking platform