🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.controls
4 messages
4 total messages Started by Ruben Santos Fri, 03 Oct 1997 00:00
Automatic visualization of a html document from a program
#25
Author: Ruben Santos
Date: Fri, 03 Oct 1997 00:00
15 lines
1590 bytes
 Hi everybody,
I've made a program that i want to distribute in cdrom with all the help,
manuals, etc in html format.
The problem i have is how to open the principal html document from a
setup.exe that executes the autorun.inf.
I can't make a call to the "html visor" because i don't know if it is the
internet explorer or the netscape, and where it is instaled.


Any solution?

Thanks in advance

Ruben
Re: Automatic visualization of a html document from a program
#26
Author: CyBorch
Date: Sat, 04 Oct 1997 00:00
28 lines
2103 bytes
Ruben Santos wrote:
> 
>  Hi everybody,
> I've made a program that i want to distribute in cdrom with all the
> help,
> manuals, etc in html format.
> The problem i have is how to open the principal html document from a
> setup.exe that executes the autorun.inf.
> I can't make a call to the "html visor" because i don't know if it is
> the
> internet explorer or the netscape, and where it is instaled.
> 
> Any solution?
> 
> Thanks in advance
> 
> Ruben

you could ShellExecute() your .html files and let windows find the
default browser for you.

   ________ _  ____ ______  _______  _______  _______ ___ ____
  /       /  \/   /   __  \/       \|   __  \/      /    |    |
 /  _____/\      /|       /    |    \       /  ____/|    |    |
 \       \ |    | |   __  \    |    /       \      \|         |
  \_______\|____| |_______/\_______/|___|___/\______\____|____|
#include <disclaimer.h>
Re: Automatic visualization of a html document from a program
#27
Author: John A. Grant
Date: Mon, 06 Oct 1997 00:00
16 lines
1896 bytes
Ruben Santos <ruben@meditel-im.com> wrote in article
<343538c1.0@news.arrakis.es>...
>  Hi everybody,
> I've made a program that i want to distribute in cdrom with all the help,
> manuals, etc in html format.
> The problem i have is how to open the principal html document from a
> setup.exe that executes the autorun.inf.
> I can't make a call to the "html visor" because i don't know if it is the
> internet explorer or the netscape, and where it is instaled.
	ShellExecute(hwnd,NULL,"\\doc\\start.htm",
			NULL,"\\doc",SW_SHOW);
-- 
John A. Grant   * I speak only for myself *   jagrant@znrcan.gc.ca (remove 'z')
Airborne Geophysics, Geological Survey of Canada, Ottawa 
If you followup, please do NOT e-mail me a copy: I will read it here.
Re: Automatic visualization of a html document from a program
#24
Author: F. LE LEZ
Date: Tue, 07 Oct 1997 00:00
9 lines
1527 bytes
On Sat, 04 Oct 1997 19:38:32 +0100, CyBorch <baldur@image.dk_NO_SPAM>
wrote:

>you could ShellExecute() your .html files and let windows find the
>default browser for you.

That's not a good solution. On my computer, for example, HTML files
are "attached" to NOTEPAD.EXE. (That's because I'm writing HTML pages)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads