>>Hi,
>>
>>I have my utils class with my classes inside. One of them is mine toolbar class. VCX is exluded from project. Problem is following:
>>
>>When I try this code in toolbar's button click event:
>>
>>DO FROM someform WITH param TO retVal
>>
>>
>>I get the message when starting program's EXE and clicking on that toolbar button:
>>
>>Cannot find ........../someform.scx.
>>
>>How to reference mine projects forms in other menner.
>>
>>Vladimir.
>
>Make sure that you have the folder that has the forms in it is in the current path ie. At the start of the program :
>
>SET PATH TO c:\myapp\forms,c:\myapp\otherstuff
>
>Remember that SET PATH is scoped to the current datasession. Make sure that you set the path in all private datasessions as well as the default one. (ie. In any form with a private datasession you need to SET PATH TO ....)
>
>Also note that when you click on the toolbar you are in it's datasession.
>
>Cheers,
>Jamie
Sorry to jump in but I believe that SET PATH is Global. From the VF7 help
SET PATH is not scoped to the current data session; changes you make to the default path using the SET PATH command affect all data sessions.
Caroline