Run-Time error 429 sur CreateObject

cs_zephyrin Messages postés 47 Date d'inscription mercredi 29 mai 2002 Statut Membre Dernière intervention 17 août 2006 - 19 mai 2003 à 14:03
cs_zephyrin Messages postés 47 Date d'inscription mercredi 29 mai 2002 Statut Membre Dernière intervention 17 août 2006 - 20 mai 2003 à 16:48
Bonjour,

dans une appli VB6 SP5 sous 2000 SP1, j'ai codé les lignes suivantes :

dim pobjRegistre as object
Set pobjRegistre = CreateObject("WScript.Shell")
gsSeparateurDecimal = pobjRegistre.Regread("HKEY_CURRENT_USER\Control Panel\International\sDecimal")

Sous différents postes (NT4 sp5 FR, 2000 SP1, NT4 SP6 GB) ça marche sauf pour un poste NT4 SP6 GB que j'ai configurer pour faire des tests.
En fait c'est pour être dans la même config qu'un poste au Brésil. Pour ce dernier, ça marche mais pas pour le mien :((

Quelqu'un a-t'il une solution ?

Merci

Zephyrin

1 réponse

cs_zephyrin Messages postés 47 Date d'inscription mercredi 29 mai 2002 Statut Membre Dernière intervention 17 août 2006
20 mai 2003 à 16:48
C'étaient scrrun.dll et scrrun.dep qui fallait mettre à jour !
ET
Rajouter l'ocx wshom.ocx.
0
Rejoignez-nous