General information
Category:
ActiveX controls in VFP
Title:
Register MSWINSCK.OCX Manually
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only