Visual Basic System Error &H80004005 (-2147467259)

Asked By 1090 points N/A Posted on -
qa-featured

Hello friends, posting herewith an error message that appeared on my screen while using Microsoft Visual Basic, this error message appeared while I am on the middle of my work.

 

System Error &H80004005 (-2147467259). Unspecified error

 

I cannot understand all the text of the error message, its to technical for me to handle, it seems its talking about memory addresses, I managed to re install Microsoft Visual Basic, after which when I tried to get back to work again, the same error message appeared in the middle of my work, it is so frustrating, please help me solve this issue, if possible on step by step manner, thanks a lot friends.

SHARE
Best Answer by Nayeli
Best Answer
Best Answer
Answered By 0 points N/A #123819

Visual Basic System Error &H80004005 (-2147467259)

qa-featured

Alex,

 

Please try the following to resolve the issue:

Make a call to: InitCommonControls(void) or InitCommonControlsEx(LPINITCOMMONCONTROLSEX lpInitCtrls)

 inside the InitInstance of ActiveX control.

This will loaded and initialized the common control libraryComctl32.dll which is not initialized by default by the Microsoft Visual Basic executables.

You can also try calling InitCommonControls directly from the Visual Basic client application:

Make a declaration for the corresponding Form like

Private Declare Sub InitCommonControls Lib "comctl32.dll" ()

Add a call to:

InitCommonControls

For more information, visit the following web links:

Link 1: You receive a "System Error &H80004005" error message from a Visual Basic 6.0 application when an MFC ActiveX control subclasses any of the window classes implemented by Comctl32.dll

http://support.microsoft.com/kb/223152

Link 2: OFF2000: "System Error &H80004005 (-2147467259)" Running Macro with UserForm

http://support.microsoft.com/kb/230888

Cheers,

Nayeli

Answered By 0 points N/A #123820

Visual Basic System Error &H80004005 (-2147467259)

qa-featured

This problem is happen in MS Excel, MS PowerPoint as well as MS Access with UserForm created in VB Editor. Have many way to resolve this issue. To get more way visit this Techyv page.

System Error &H80004005 (-2147467259). Unspecified error

Login/Register to Answer

Related Questions