Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to start a HTML Doc with exec ? #153938
09/13/07 17:27
09/13/07 17:27
Joined: Jul 2007
Posts: 53
Germany
Henning Offline OP
Junior Member
Henning  Offline OP
Junior Member

Joined: Jul 2007
Posts: 53
Germany
Hello,

I am just trying to connect a manual written in HTML to my lite-c script. I thought it should work with :
exec("Manual.htm","");
but it does not. Seems the exec() accepts .exe files, only.
I even tried the absolute path to iexplore.exe as filename and Manual.htm as command-line parameter. Then, Internet Explorer starts, but finds no content.

Any ideas? Just Pure Mode, please.

Re: How to start a HTML Doc with exec ? [Re: Henning] #153939
09/13/07 20:38
09/13/07 20:38
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
try to create a exe with another software that open the html file. (like as using browser control) , or use any functions from user32.dll ,etc

Re: How to start a HTML Doc with exec ? [Re: ACKNEX007] #153940
09/15/07 16:05
09/15/07 16:05
Joined: May 2007
Posts: 175
Germany
dblade Offline
Member
dblade  Offline
Member

Joined: May 2007
Posts: 175
Germany
Don't forget, LiteC has WinAPI support, so just search a function in it.
So you don't have to write an external programm.

Else you can execute the InternetExplorer (or any other Browser) with the
*.htm file as a parameter

But Attention!! Absolute paths will may not work on other computers !!!

Re: How to start a HTML Doc with exec ? [Re: dblade] #153941
09/24/07 22:20
09/24/07 22:20
Joined: Jul 2007
Posts: 53
Germany
Henning Offline OP
Junior Member
Henning  Offline OP
Junior Member

Joined: Jul 2007
Posts: 53
Germany
I was offline some days, thanks for the answers, but I tried IE with full path and my *.htm as parameter with full path, also. Does not work, IE starts but cannot identify the file. Unfortunately, I do not have a S/W to produce an .exe file. Will try to find a function at WIN API. Hope there is something.

Re: How to start a HTML Doc with exec ? [Re: Henning] #153942
09/25/07 06:56
09/25/07 06:56
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
Calling IE was correct, but if you want to pass files to an internet browser, you need the prefix "file://" (instead of "http://"). Otherwise your browser will start to look in the internet for that file.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1