Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VCX PRG COM confusion...
Message
From
03/08/2000 15:43:18
 
 
To
03/08/2000 15:38:01
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00400573
Message ID:
00400670
Views:
15
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
Map
View

Click here to load this message in the networking platform