Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Register MSWINSCK.OCX Manually
Message
From
07/10/2003 14:44:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Register MSWINSCK.OCX Manually
Miscellaneous
Thread ID:
00835898
Message ID:
00835898
Views:
174
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
Next
Reply
Map
View

Click here to load this message in the networking platform