Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class is not registered ?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Class is not registered ?
Divers
Thread ID:
00878872
Message ID:
00878872
Vues:
53
It happens not always but very often.
oCollection = CreateObject( "Shell.Application" )
?oCollection.Windows.Count      && let us say, 3
oIE = CreateObject("InternetExplorer.Application")
oIE.visible=.t.
?oCollection.Windows.Count     && 4

* at this point it happens with less frequency
?oCollection.Windows.Count     && ERROR, "class is not registered" ??

oIE.Navigate(.....)   && fine, it is here, no matter error occured or not

* at this point it happens with more frequency
?oCollection.Windows.Count     && ERROR, "class is not registered" ??
And I need to reboot the computer to use
?oCollection.Windows.Count
again.

Windows98 second edition, IE5.5, VFP6/7/8.

Thanks in advance for any comments.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform