Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE DIspatch error
Message
De
23/11/1999 14:10:52
 
 
À
23/11/1999 13:56:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00294477
Message ID:
00294488
Vues:
14
>I have (another - for those helping me with a dll already) dll that I have running just fine on my computer. When I install it on another computer I get the error:
>
>OLE IDispatch Exception Code 0 from Conversion to Avail:
>Problem Converting Customers
>
>Any ideas on getting this to work would be greatly appreciated!! I did create distribution disks using the setup wizard and marked this ToAvail.dll as an ActiveX so that it would get registered.
>

This is an error from the control itself indicating that something is wrong; the message is coming from the COM server, not a generic interface. It's time to ask the people who wrote the server what's needed and how to set it up - there's no 'generic' answer to this problem.

>I am still trying to figure out how to see what is registered in my regisrty.Any help here would also be apreciated.
>

I posted sample code for using the FFC Registry class in VFP6 - if you're using an earlier version, you'll need to write/download an equivalent class and duplicate what's in the sample code, or rely on (yet another) ActiveX component that handles the registry to do it for you - the Windows Scripting Host's Wscript.Shell automation object has registry access methods, but that's yet another thing that has to be instlaled, and can't be auto-installed with Setup Wizard - it's present on Win98/Win2K systems and on Win95/WinNT 4 systems that have had IE 4 or later installed on them. Unfortunately, to check to see if the WSH is installed, you need to check HKEY_CLASSES_ROOT\Wscript.Shell to make sure it exists...

There are downloadable classes for registry manipulation in the Files Section here on UT, but you'll need to figure out the exact syntax depending on which one you use - there is no fixed standard for a registry 'class' since it isn't native to VFP...

>TIA
>Phyllis
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform