Solved

HELP ! Component not correctly registerd...

Posted on 1997-10-24
8
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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
 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

726 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