>>>Hi all,
>>>
>>>This one has got me stumped, so Im hoping someone out there has experienced it before.
>>>
>>>I have a class defined as Custom OLEPUBLIC (in VFP7)
>>>It has a method called OpenTables
>>>
>>>In this method, I read a Directory from an ini file, using FoxPros OldIniReg class, which is working fine (done some debugging), I then do
>>>
>>>USE m.cDir + "Parts" IN 0 ORDER Part SHARED
>>>
>>>
>>>When I create an instance of the class and run the openTables method, it breaks on this line reporting an
>>>OLE IDispatch Error 1114, File Not Open
>>>
>>>I Have done this exact thing in other COM Classes before with no problems, anyone got any clues.
>>>
>>>Note: I can 'step' through the code by executing each line on the command window and it works fine.
>>
>>Chris,
>>Did you use a session object and set to private ?
>>Cetin
>
>
>Nope.
Then do :)
Cetin