>I create the same class up above but in a PRG file instead of VCX. Same code and everything. And the class works. However when I define the class public and add it to a project and compile to a com server, the same code(that works in the VCX, and works as a regular VFP6sp4 object now generates an error. The 'load_data' method calls "open database f:\wrs\data\wrs.dbc shared" will throw an error. No where else does it throw an error but from the PRG file compiled into a COM server.
Have you compiled the vcx into a COM server? Have you been playing around with DCOMCNFG?
Erik Moore
Clientelligence