5.46 FAQ-802 When I run a COM example built by VB, I saw a missing DLL error message. How do I solve the problem?
SendTextDataToWks-fail
Last Update: 7/31/2018
If you run some of our build-in COM examples that are built by VB, such as SendTextDataToWks.exe under <Origin folder>\Samples\COM Server and Client\VB\SendTextDataToWks, you may get an error message saying:
Class not registered.
You need the following file to be installed on your machine. MSSTDFMT.DLL.
To work around this problem,
- If you have 64-bit OS:
- Downloading MSSTDFMT.DLL. Save it to C:\Windows\sysWOW64 folder.
- Stay in sysWoW64 folder and locate the file cmd.exe.
- Right click cmd.exe and select Run as administrator. The Command Window appears with
C:\Windows\system32>_
- Type in
Regsvr32 C:\Windows\SysWOW64\MSSTDFMT.DLL
- Now on the Command Window entry you have:
C:\Windows\system32>Regsvr32 C:\Windows\SysWOW64\MSSTDFMT.DLL
Press Enter.
- If you have 32-bit OS:
- Downloading MSSTDFMT.DLL. Save it to C:\Windows\system32 folder.
- Stay in system32 folder and locate the file cmd.exe.
- Right click cmd.exe and select Run as administrator. The Command Window appears with
C:\Windows\system32>
- Type in
Regsvr32 C:\Windows\system32\MSSTDFMT.DLL
- Now on the Command Window entry you have:
C:\Windows\system32>Regsvr32 C:\Windows\system32\MSSTDFMT.DLL
Press Enter.
Keywords:SendTextDataToWks, windows 8, MSSTDFMT.DLL, VB, COM