I need an app to open IE and display webpage.

Just starting out? Need help? Post your questions and find answers here.
Mr Tickle
User
User
Posts: 25
Joined: Mon Oct 13, 2003 10:33 pm
Location: England, Derbyshire.

I need an app to open IE and display webpage.

Post by Mr Tickle »

I've tried making a bootable cd to open an html webpage for the disk contents but just having autorun run the .htm page won't work.

Can any1 help me out?

Thanks in advance ;)
Mr Tickle.
Athlon xp 2500+, Gigabyte KT400-FSB333, Gf3 Ti200, SB Live 5.1
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Could you not use the RunProgram command?

E.g.

Code: Select all

RunProgram("c:\Program Files\Internet Explorer\IEXPLORE.EXE", "www.purebasic.com","c:\")
I may look like a mule, but I'm not a complete ass.
Mr Tickle
User
User
Posts: 25
Joined: Mon Oct 13, 2003 10:33 pm
Location: England, Derbyshire.

Post by Mr Tickle »

Thanks srod for the quick reply ;)

I simply used:-

Code: Select all

RunProgram("index.html")
Now I can get autorun to run my exe which loads my webpage.
Mr Tickle.
Athlon xp 2500+, Gigabyte KT400-FSB333, Gf3 Ti200, SB Live 5.1
Beeps
New User
New User
Posts: 5
Joined: Thu Mar 11, 2004 6:29 pm
Location: UK
Contact:

Post by Beeps »

You should be able to

Code: Select all

RunProgram("http://www.mysite.com")
and it'll open the page in your default browser.
Time is an illusion, lunchtime doubly so!
- www.coolgames.tv -
- www.binary-people.com -
Joey
New User
New User
Posts: 7
Joined: Thu Mar 18, 2004 10:09 pm

Post by Joey »

you could use the Webgadget() command, look it up in your help files. Thats what I use.
Post Reply