Solved

HELP ! Component not correctly registerd...

Posted on 1997-10-24
8
303 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

947 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

22 Experts available now in Live!

Get 1:1 Help Now