Solved

HELP ! Component not correctly registerd...

Posted on 1997-10-24
8
304 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

773 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