Solved

HELP ! Component not correctly registerd...

Posted on 1997-10-24
8
300 Views
Last Modified: 2008-03-03
Hello !

I Have done a installation program in VB5 but when i try to run it from the maching my errorhandeler get me the following message:
Component 'SHDOCVW.DLL' not correctly registerd: file is missing or invalide.

I think that the file have something to do with Explorer or ..!?
I have try to run regsvr32.exe /SHDOCVW.DLL but this generate an error to.
When i did run the VB5 Installation Wizard it ask me for KERNEL i don´t know why.
But when i did run the installation program i did not get any error messages.

This id parts of my vbp-file:

Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\WINDOWS\SYSTEM\StdOle2.tlb#OLE Automation
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0; COMDLG32.OCX
Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.2#0; COMCTL32.OCX
Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#..\..\PROGRAM\VANLIGA FILER\MICROSOFT SHARED\DAO\DAC:\PROGR#Microsoft DAO 3.5 Object Library
Object={00025600-0000-0000-C000-000000000046}#4.6#0; crystl32.tlb
Object={B02F3647-766B-11CE-AF28-C3A2FBE76A13}#2.5#0; SS32X25.OCX
Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.1#0; RICHTX32.OCX
Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0; DBLIST32.OCX
Object={EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.0#0; SHDOCVW.DLL
Object={0842D103-1E19-101B-9AAF-1A1626551E7C}#1.0#0; GRAPH32.OCX
Object={20C62CAE-15DA-101B-B9A8-444553540000}#1.1#0; MSMAPI32.OCX

PLS Help me, i don´t have any use for the program on my machine only.

/Janne SWEDEN
0
Comment
Question by:jannea
  • 6
  • 2
8 Comments
 
LVL 1

Author Comment

by:jannea
ID: 1438689
I tryed to install Explorer 3.0 on the machine and now i get the same error message but now it´s abote 'CRYSTL32.TLB'.

WHY can´t VB5 Wizard find out witch files who need to be installed and register them ????????

Is there any other product who can do this, its always this problems when making a installation....
Or how to solve this #@????

PLS Help me...

/Janne
0
 
LVL 1

Author Comment

by:jannea
ID: 1438690
The installation is now OK but...
 
Component 'SHDOCVW.DLL'  have someting to do with the 'Microsoft internet control', the browser. And i dont like my cousomer to Install Explorer to make my exe to work if they don´t like to use this functins with internet. So why can´t i get my program to work withoute installing Exploler. Witch files do my wizard forgett to deliver with the installation program ?

/Janne
0
 
LVL 5

Accepted Solution

by:
y96andha earned 100 total points
ID: 1438691
Shdocvw.dll requires Microsoft Internet Explorer to be installed for it to function correctly. So, if you want to use shdocvw, you also need to install Internet Explorer.
0
 
LVL 1

Author Comment

by:jannea
ID: 1438692
Thanks !

But it had to be a way to get around this problem. I have remove the C:\Program\Microsoft Internet\ and my program is still running. The browser in my program is just a littel part of it. And if the user don´t want to use this part I don´t like to force him to install  IE 3.0. I mean if i just know what files I need to have on my machine and how to register them it would be mutch mutch better.

/Janne
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 1

Author Comment

by:jannea
ID: 1438693
I have now first install my exe on a clean machine, get the error about shdocvw.dll. Then I install IE 3.0 and my program runs fine. After this i uninstall IE 3.0. And now my program still work perfect, except the browser but thats OK...

/Janne
0
 
LVL 5

Expert Comment

by:y96andha
ID: 1438694
Try adding the file shlwapi.dll to your installation package. I am not sure if it's on a clean installation.
0
 
LVL 1

Author Comment

by:jannea
ID: 1438695
Sorry it dosent work !

Do you have any other suggestions ???

/Janne
0
 
LVL 1

Author Comment

by:jannea
ID: 1438696
Yes  !

I have now solve the problem:

The problem was that I in my mainMDI-window did have put dummy controls to make them load direct.  When i did remove the Browser-dummy from that window it was no problem with my other functions in my application. The error now just com when I try to load my browser window, but thats OK...

Tanks for responding  /Janne
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now