Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Register MSWINSCK.OCX Manually
Message
De
07/10/2003 14:44:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Register MSWINSCK.OCX Manually
Divers
Thread ID:
00835898
Message ID:
00835898
Vues:
177
I am back for more on the same issue...

I have a program (thanks Houston) that sends and email using the mswinsck.ocx class. What I have found is that if a client machine does not have VFP then their machine typically does not have mswinsck.ocx registered, therefore generating an error in the application. To get around this, my code does two things: verify in the client registry that the control is registered and that the following files are located in the Windows/System folder: mfc30.dll, mfc40.dll, olepro32.dll, msvcrt20.dll, and msvcrt40.dll. If the five dll files are not on the client machine then I copy them to the System32 folder. Then if the ocx is not registered then I register it manually. This process was discovered in KB146219. This process is followed to prevent the following message from coming up: OLE Error Code: Appropriate license for this class not found.

Here is the kicker, some client machines still get that error message, all machines which do not have VFP installed. Does anyone have any idea how to fix this ?

TIA

Wes
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform