This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
vb_6.0_tips [2013/02/09 19:00] 127.0.0.1 external edit |
vb_6.0_tips [2016/08/03 12:48] ko4bb |
||
---|---|---|---|
Line 22: | Line 22: | ||
</code> | </code> | ||
* **Automation Error while trying to access the OLE registry** on Windows 7: Open the VB executable at "C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE", right click and select Properties. In the Compatibility tab, select Windows XP compatibility mode and "Run this program as an administrator" (path is for 64 bits, but it works for 32 bit Windows 7 as well) | * **Automation Error while trying to access the OLE registry** on Windows 7: Open the VB executable at "C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE", right click and select Properties. In the Compatibility tab, select Windows XP compatibility mode and "Run this program as an administrator" (path is for 64 bits, but it works for 32 bit Windows 7 as well) | ||
+ | * **“Object library not registered” when adding Microsoft Rich Textbox Control 6.0 (SP6)** The problem has been resolved by running the following in elevated command prompt: | ||
+ | <code> | ||
+ | cd C:\Windows\System32\ | ||
+ | regtlib msdatsrc.tlb | ||
+ | </code> | ||
+ | This also helped with other older .ocx files, like Graph32.ocx and Threed32.ocx \\ | ||
+ | - Ilya Kurnosov Apr 15 '13 at 14:51 \\ | ||
+ | If there is no regtlib.exe in C:\Windows\System32, use this one C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe \\ | ||
+ | – Bulletmagnet Apr 17 '14 at 10:04 \\ | ||
+ | |||
+ |