Visual Basic Development Bookmark and Share   
 Home > Visual Basic Interop and Upgrade > Run Time error
 

Run Time error

HI! am ashkar ...
i hve a problem in my computer ..when i open "my computer" or "My documents" in desktop shortcuts or start menu program it doesn't shows the dialog box..but it shows a "winbug" box and shows a messege like below,
{ run-time error'-2147024894(80070002)':
Invalid root in registry key"HKCU\SOFTWARE\Microsoft\...}

Hope you all canunderstandmy Question..Am waiting for reply ..

Advance thanks.!

Ashkarme  Thursday, November 12, 2009 3:14 AM

Hi Ashkarme,

Welcome to MSDN forums!

Error Message "Invalid root in registry key <name> for reading"

-> Such error message usually means the registry key or value doesn't exist in Registry.

Suggestion 1:
Please double check the Windows registry according to the error prompt "HKCU\SOFTWARE\Microsoft\..." and make sure the registry key exists and is spelled correctly.

Suggestion 2:
Since the "HKCU" stands for "HKEY_CURRENT_USER" node in Registry, which means the Registry configuration of current loggon user may be faulted. Thus, you can use other Windows Account to log on your computer, to see if this error still occurs.



Best regards,
Martin Xie


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Martin Xie - MSFT  Thursday, November 12, 2009 4:00 AM

Hi Ashkarme,

Welcome to MSDN forums!

Error Message "Invalid root in registry key <name> for reading"

-> Such error message usually means the registry key or value doesn't exist in Registry.

Suggestion 1:
Please double check the Windows registry according to the error prompt "HKCU\SOFTWARE\Microsoft\..." and make sure the registry key exists and is spelled correctly.

Suggestion 2:
Since the "HKCU" stands for "HKEY_CURRENT_USER" node in Registry, which means the Registry configuration of current loggon user may be faulted. Thus, you can use other Windows Account to log on your computer, to see if this error still occurs.



Best regards,
Martin Xie


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Martin Xie - MSFT  Thursday, November 12, 2009 4:00 AM

Hello Ashkarme,


Does this help? If you have any further questions or concerns, please feel free to let me know.



Best regards,
Martin Xie


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Martin Xie - MSFT  Wednesday, November 18, 2009 6:54 AM

You can use google to search for other answers

Custom Search

More Threads

• VB6 program conversion with interop forms
• Deployment problem: Interop Usr ctl is not registerable
• global COM-Function with VB.NET???
• Migrating VB6 Outlook Add-in to Vb.Net - Non-modal forms cannot be displayed in this host application
• My app with an unmanaged dll throws an AccessViolationException after update Vista sp2
• ErrorCode -2147200981
• VB6 Winsock to VS2005 socket connections
• Error!! while debug
• Implements
• Error 8007000e using Interop dll from VB.NET