How do I fix the error “Cannot load control SSPanel; license not found” in VB6 program

后端 未结 8 2397
夕颜
夕颜 2021-02-20 06:01

I have a VB6 legacy program which I need to change. I am unable to run the program from the IDE. When I activate one of the forms in the IDE I get an error which refers me to an

8条回答
  •  甜味超标
    2021-02-20 06:32

    Having come across this question, and tried all the answers without success, I thought I'd add an additional piece of information that solved the issue for me.

    The problem appears to be linked to a Windows 7 update pack. A colleague running a slightly out of date version of the OS managed to get our VB6 projects working fine, but my new machine with an up-to-date Win7 install had this problem.

    Anyway, the solution is this:

    • Locate regtlibv12.exe (it's normally in C:\Windows\Microsoft.NET\Framework\[version] .. e.g. C:\Windows\Microsoft.NET\Framework\v4.0.30319 if that's what you've got installed)

    • Run a command prompt as administrator and navigate to that files' location

    • Execute regtlibv12.exe C:\Windows\SysWOW64\msdatsrc.tlb for 64bit windows

    • Execute regtlibv12.exe C:\Windows\System32\msdatsrc.tlb for 32bit windows.

提交回复
热议问题