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 / Loading up the internet in darkbasic

Author
Message
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 25th Dec 2008 21:53
I am trying to do a project for work. Was wondering if it is

posible to load up the internet in a window inside darkbasic, and

also be able to access it. Even if it loads up behind on desktop

but as long as I can see it in darkbasic in a seperate window that

I can move around like a object.


If anyone can point me into the right direction that would be

really helpful.

thanks OnQue
calcyman
17
Years of Service
User Offline
Joined: 31st Aug 2007
Location: The Uncertainty Principle
Posted: 21st Apr 2009 19:23
BlueGUI can support windows with web browsers. I've heard that Robert Knight has released the plugin for free.


If you want to stick with DBPro code, the best solution I can think of is this, but I don't know whether this is what you want:


execute file "iexplore.exe","http://www.google.co.uk/",""


I think it's obvious how to alter this code to load up your website.



Hope this helps,


Calcyman

The optimist's right, The pessimist's right.
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 23rd Apr 2009 21:12
Yes this does help. Can I surf the net within darkbasic through a

gui window?

Thanks
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 23rd Apr 2009 21:24
Yes, but all it does is wrap up an instance of Internet Explorer, I believe.

OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 23rd Apr 2009 21:42
Im sorry what do you mean by wrap up an instance?
MoomanFL
19
Years of Service
User Offline
Joined: 12th Nov 2005
Location:
Posted: 24th Apr 2009 09:46
I don't believe you can do what you want.

You are wanting to render the web pages within the DBP viewport. This isn't currently possible as far as I know.

Design documents?!? What design documents??? I thought we were just going to wing it!!!
Dream And Death
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 24th Apr 2009 10:44
Here's a random idea, and I'm not sure it could be done...

Wrap an instance of IE, but direct the ouput to a different bitmap.

Grab the image and use it in your own application?

You'll lose links and anything clickable, but it gets you part of the way there, lol.

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 24th Apr 2009 11:43
Or just download the html source and parse it yourself. Certainly doable, but whether it is worth the trouble I'm not sure.

Oh yeah, what I meant is that it uses IE to display the webpage. Therefore you get exactly what you would get from using IE directly, so you really have no control over it. Also it forces IE on those who despice it

KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 24th Apr 2009 19:24
Quote: "Also it forces IE on those who despice it "


Isn't some flavor of IE still required for Windows to even function? or did Microsoft lose that legal battle?

BlueGUI's web gadget will let you surf in the window just like IE would. It's probably your best bet if you want to do this using DBPro.

OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 24th Apr 2009 20:07 Edited at: 24th Apr 2009 20:10
Ok I know in Steam you can do it in game. You can load up the

internet for other reasons and I was able to surf the net while my

game was still loaded. however the game paused itself,but did not

kick me to windows. Kept me in game so all I would need to

do is to get it to load on a gui window the same way they did and

attach it to a object. But allow the game play to continue.

Similar as if you were lookin at lets say your GPS system as

enemys can still shoot at you.

Thanks you so much for the all the generous help it has

been amazing.
NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 25th Apr 2009 23:58
I think it might be possible with a specific DLL call as VB6 has a WebBrowser element.

Login to post a reply

Server time is: 2024-11-24 08:49:14
Your offset time is: 2024-11-24 08:49:14