Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / open web browser ?

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 13th May 2007 01:42
how would u have dbp open up a web browser and goto a link??
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 13th May 2007 01:58


Boo!
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 13th May 2007 02:03
no,that didnt work
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 13th May 2007 02:08
Works for me, and that is the normal way to open a browser from DBPro and has been for many years.

Boo!
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 13th May 2007 03:03
well,for some reason it doesnt work for me dont know why

this is my code:

spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 13th May 2007 03:24
That code works fine for me.

Maybe your http file associations in windows are a bit weird, or maybe your default browser is not setup correctly, could be anything really.

What is your default browser? Maybe only IE is supported by the command and you have Firefox, but as far as I know it should work whatever your default browser is.

Maybe someone can test it.

Boo!
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th May 2007 04:08
I can confirm that the problem isn't Firefox - that's all I have installed and the snippet works fine for me too!

Might be file associations though...

TDK_Man

Person99
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Good question
Posted: 13th May 2007 05:02
DB and DBPro sometimes forgets that you have files at all, unless you have both a project file and a source code file.
Try making sure of those things.

Who will die first?
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 13th May 2007 18:40
Both of those worked 4 me!

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 13th May 2007 22:52
must be something wrong with my pc or something,oh well its not that important,tks for the help!
The Wilderbeast
18
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 16th May 2007 21:20
try this:



You forgot to test for the state of the spacebar (1=pressed)


The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 16th May 2007 22:22 Edited at: 16th May 2007 22:25
@The Wilderbeast:

That wouldn't be the problem. And he does indeed check to see if it's pressed. You could also write:



It would just take it to check when it's pressed. This:



Would be the same.

Oh, and I can confirm that the code works here too. What exactly is it that doesn't work? Doesn't it do anything?

David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 19th May 2007 00:42 Edited at: 19th May 2007 00:43
no,it does nothing.thanks for the help anyway.

probablly just my pc
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 19th May 2007 04:12
or your copy

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
LD52
18
Years of Service
User Offline
Joined: 31st Aug 2006
Location: Internet
Posted: 19th May 2007 06:11
Works for me too . And i use Mozilla Firefox.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 20th May 2007 13:22
@David iz cool

What if you compile your code and then run the exe, does it work?

Login to post a reply

Server time is: 2024-09-26 22:42:47
Your offset time is: 2024-09-26 22:42:47