I have a help file called "help.htm". It is located in
the \windows directory. The help.htm file uses some
picture files(pic1.2bp,pic2.2bp,...) which is also
located in \windows.

I can use file explorer to open the help.htm. But the
picture do not show up(blank space).

In my program, when I try to open the file by using
CreateProcess("peghelp.exe","help.htm",...), I got
error "can not find file in \windows\pic1.2bp,...".

But if my help file does not include the picture, I can
open the help file using CreateProcess(...).

What is the problem?

the help.htm code:
==================

<html>
<head>
<title>Step 1</title>
</head>
<body>
<p>Start the application by select</p>
<p><img src="pic1.2bp"></p>
<p><img src="pic2.2bp"></p>
</body>
</html>

Re: help for build help file by Peter

Peter
Mon Sep 08 15:50:39 CDT 2003

Does it work if you specify the full path to the image files e.g.
"\Windows\pic1.2bp" rather than "pic1.2bp"
I know it may seem strange but peghelp is particularly picky with file
paths.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com

"kathy" <kathy@nospam.com> wrote in message
news:414b01c37649$17b9ab40$a101280a@phx.gbl...
> I have a help file called "help.htm". It is located in
> the \windows directory. The help.htm file uses some
> picture files(pic1.2bp,pic2.2bp,...) which is also
> located in \windows.
>
> I can use file explorer to open the help.htm. But the
> picture do not show up(blank space).
>
> In my program, when I try to open the file by using
> CreateProcess("peghelp.exe","help.htm",...), I got
> error "can not find file in \windows\pic1.2bp,...".
>
> But if my help file does not include the picture, I can
> open the help file using CreateProcess(...).
>
> What is the problem?
>
> the help.htm code:
> ==================
>
> <html>
> <head>
> <title>Step 1</title>
> </head>
> <body>
> <p>Start the application by select</p>
> <p><img src="pic1.2bp"></p>
> <p><img src="pic2.2bp"></p>
> </body>
> </html>
>



Re: help for build help file by kathy

kathy
Wed Sep 10 09:51:47 CDT 2003

No, even I change the "pic1.2bp" to "\Windows\pic1.2bp",
It failed.