Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | chip programmers | 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