Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject Woes
Message
De
27/06/2000 11:58:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00385074
Message ID:
00385148
Vues:
13
Hi Nigel,
Tried the _underscore, but still no luck.
Thanks for trying.

Jon

>Try putting _underscore in place of the spaces. I saw somewhere recently that this is done internally for some spaces. I've also seen this happen (I can't remember where though).
>
>>Hi All,
>> My problem is when I try to add an object using the AddObject() method and the OLE Object's OLEClass has a space in it, I get an OLE Error: Invalid Class String.
>>
>>Here's the code:
>>This.AddObject('cusMan','OleControl','Man Jr.Man Jr.1')
>>
>>We purchased 3 ActiveX controls and have had success with all but this one. Any ideas?..other than hacking the registry.
>>
>>TIA
>>
>>Jon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform