Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement