And just to prove it the other way...
After the idea of throwing this computer out the window left my mind I do a 'close all' and 'clear all'... and run it as a regular vfp object, the regular object still works...
So then I shut down VFP... And reload VFP
And run it as a regular object... still works...
So I shut down VFP and reload VFP...
And run it as a COM object... And I get the same error "f:\wrs\data\wrs.dbc" does not exist...
>>Yeah, there's a lot of stuff that you won't catch as a regular class or prg that you will see in a COM object. This shouldn't be one of them, IMNSHO, but...
>>Does that directory exist, BTW?
>
>...uh... yeah it does exist... this is unbelievable...
>
>I go to the command window and:
>
>Set procedure to c:\testcom\dataobj2.prg
>odataobj2 = createobject('dataobj2')
>odataobj2.load_data
>
>And everything works great...
>
>Then I compile the project.. Issue a "Clear all" and a "Close all" and go to the command window and:
>
>odataobj2 = createobject('dataobj2.dataobj2')
>odataobj2.load_data
>
>And I get 'f:\wrs\data\wrs.dbc' does not exist!!!
>
>Im issueing in the 'load_data' method... "OPEN DATABASE f:\wrs\data\wrs.dbc shared"
>
>I just dont GET IT!!!
>
>This has got to be a BUG!!!
>
>
>Mike
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only