473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

"hhctrl.ocx file in in-use"

Hi,
I have a wtriiten a program in VB 6.0, and I have HTML files included
for Help. I have declared

Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
(ByVal hWndCaller As Long, _
ByVal pszFile As String, _
ByVal uCommand As Long, _
dwData As Any) As Long

In sub Command1_Click(), I'm calling the help file.

HtmlHelp hwnd, "HHDemo.chm", HH_DISPLAY_TOPIC, ByVal "Menu.htm"

I'm creating an installation package for this application.

But on installing the application, I always get the following error

"C:\WINDOWS\system32\hhctrl.ocx

The destination file in in-use. Please ensure that all other
applications are closed"

with Abort, Retry and Ignore Options.
I'm getting this error even when all applications are closed.

Any help will be of great use
Thank you

Jun 16 '06 #1
2 4217
register the ocx ?

Sush ha scritto:
Hi,
I have a wtriiten a program in VB 6.0, and I have HTML files included
for Help. I have declared

Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
(ByVal hWndCaller As Long, _
ByVal pszFile As String, _
ByVal uCommand As Long, _
dwData As Any) As Long

In sub Command1_Click(), I'm calling the help file.

HtmlHelp hwnd, "HHDemo.chm", HH_DISPLAY_TOPIC, ByVal "Menu.htm"

I'm creating an installation package for this application.

But on installing the application, I always get the following error

"C:\WINDOWS\system32\hhctrl.ocx

The destination file in in-use. Please ensure that all other
applications are closed"

with Abort, Retry and Ignore Options.
I'm getting this error even when all applications are closed.

Any help will be of great use
Thank you

Jun 16 '06 #2
Sush wrote:
Hi,
I have a wtriiten a program in VB 6.0, and I have HTML files included
for Help. I have declared

Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
(ByVal hWndCaller As Long, _
ByVal pszFile As String, _
ByVal uCommand As Long, _
dwData As Any) As Long

In sub Command1_Click(), I'm calling the help file.

HtmlHelp hwnd, "HHDemo.chm", HH_DISPLAY_TOPIC, ByVal "Menu.htm"

I'm creating an installation package for this application.

But on installing the application, I always get the following error

"C:\WINDOWS\system32\hhctrl.ocx

The destination file in in-use. Please ensure that all other
applications are closed"

with Abort, Retry and Ignore Options.
I'm getting this error even when all applications are closed.

Any help will be of great use
Thank you


This is not a C++ language question. Please post in a group that is
appropriate for your platform. See this FAQ for what is on-topic here
and for some other places you could post:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

Jun 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: StevePBurgess | last post by:
I would like to make my downloads section unbrowsable (to users) but accessible to scripts. Can I deliver a file to a browser without linking to it's URL so that I can deliver files...
3
by: Mike Bird | last post by:
I have an XML document that contains the xsi:noNamespaceSchemaLocation attribute giving the location of the XSD file to use for validating it. I created an XmlReader on the XML file. I then...
7
by: clusardi2k | last post by:
Hello, I have a shared drive on SGI, Linux, and Windows. A second call to fopen doesn't create the file if it has been deleted. I would like to use fopen for its pointer return value to...
1
by: Mark Sandfox | last post by:
Is there a way to restrict the user to only selecting and sending either a ..gif or .jpg. Everything I have read says this option can not be done by design (security reasons). I find that irronic...
1
by: SibAndela | last post by:
Is there a way that I can attach the uploaded file from a client web site to the web server without first storing the uploaded file on the server? Currently on my local PC (local host) the...
2
by: Daniel Heiserer | last post by:
Hi, I want to administer files with postgres. When I "import" a file to postgres I also submit certain atributes the file has. Such as filetype or specific properties I know about the file (not...
1
by: A.M-SG | last post by:
Hi, I am trying to simplify my app.config file. Can I have a section handler in a separated file? I am looking for something like this: <section name=".." type=".." file="..."> but it...
0
by: smanisankar | last post by:
hi, the following is the full page code for uploading a file to server. since i got no idea to overwrite the file, i want delete the file if the file is already uploaded. i got the folder name...
0
by: active | last post by:
Sometimes when I After I click "Start Debugging" I get a "File not Found" Exception. Could not load file or assembly 'FormTesting, Version=1.0.2646.36738, Culture=neutral, PublicKeyToken=null'...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.