Solved

VB6 Error 1931 with Windows Installer: hhctrl.ocx

Posted on 2004-10-13
10
608 Views
Last Modified: 2010-05-18
This question is a follow up to Q_21162987.html from which I learned that scrrun.dll is not a distributable.

I am now getting Error 1931 relative to hhctrl.ocx

Please could an expert tell me if hhctrl.ocx should be removed from the list of files that Installer distributes with my app.

Thanks

Gordon





0
Comment
Question by:Gordon_Atherley
[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
  • 5
  • 4
10 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12297722
>>hhctrl.ocx

is for htmlhelp. You can leave it
0
 

Author Comment

by:Gordon_Atherley
ID: 12297801
So I don't need to distribute it with my app?
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12297871
I believe this come with xp or higher. May not come with windows 2000 or lower
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 26

Expert Comment

by:EDDYKT
ID: 12297878
You can mark this file to share
0
 

Author Comment

by:Gordon_Atherley
ID: 12298095
I've marked the file to share but I still get Error 1931 during the installation.

My app is distributed to W2K and NT4 machines so, from what you say, I need to distribute it these but not XP machines. The VB6 development is done on XP SP2.

0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12298117
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12298140
0
 

Author Comment

by:Gordon_Atherley
ID: 12298243
The UK reference describes the problem exactly. Skipping the warning during the install, as the UK source recommends is a sort-of fix. But it's not really a solution because my users don't like to see any error messages during installations.

Should I be looking at the conditional actions offered by Windows Installer (and which I don't yet understand)?
0
 
LVL 14

Accepted Solution

by:
Matti earned 250 total points
ID: 12306999
Hi!

Remove hhctrl.ocx from the installer.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp

It's freely redistributed HTML-help control HHUPD.EXE

Sugest you add this patch on you redistribution media, this control might be missing on NT 4.0 or older , so it's not very regent.

This tool maybe used to launch individual files after install:
http://www.cornerhouse.ca/en/msilaunch.html

Matti

0
 

Author Comment

by:Gordon_Atherley
ID: 12307017
Right on, thank you Matti
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 71
How does CurrentUser work? 10 41
VB 6 error 5 in windows 10 but not in XP 7 67
Dinamic report to Crosstab query 9 49
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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

740 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