Помогите с Visual Basic, пожалуйста (ну либо те, кто хорошо знает английский, вопрос перевода)
Проблема такая, проект работает при предпросмотре, при компиляции выдает ошиьку: "System Error &H80004005"
http://support.microsoft.com/kb/223152
на этом сайте написано как решить данную проблему, но все на английском и ничерта не понятно. .
Inside the InitInstance of your ActiveX control, make a call to:
InitCommonControls(void)
or
InitCommonControlsEx(LPINITCOMMONCONTROLSEX lpInitCtrls)
This ensures that Comctl32.dll is loaded and initialized, regardless of the container the control is running in.
Instead of calling InitCommonControls from the control's code, you can also call it directly from the Visual Basic client application: •Make a General declaration for the corresponding Form; for example:
Private Declare Sub InitCommonControls Lib "comctl32.dll" ()
•Add a call to:
InitCommonControls
in the Form_Load method.
In some situations, this might be too late to initialize the common controls library. Therefore, it is recommended to add this call in the InitInstance of the control.