Author Topic: Web Browser  (Read 26701 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Web Browser
« on: April 21, 2013, 05:36:46 AM »
in most of compilers / interpreters examples one of the example is how create simple Web Browser.
(Even my crappy Aurel Basic can build Web Browser  ;D)..

Charles...
I have found in freeBasic examples folder called 'Web browser' and i try to compile some of
examples inside this folder in hope that i can translate code to Oxygen.
BUT no one of this programs wont compile or run  ???
So i  ask you do you can try compile this programs on your computer ???
that we can see is this even works ... ??? 
looks very strange to me that no one of examples don't respond  ::)

Charles Pegge

  • Guest
Re: Web Browser
« Reply #1 on: April 21, 2013, 07:26:39 AM »
Ah yes I remember that one from long ago. I see it uses 13 files, no less! It will be good to extract the essentials of this example. I am sure it can be greatly simplified.

Aurel

  • Guest
Re: Web Browser
« Reply #2 on: April 21, 2013, 08:11:12 AM »
Do you can try this Charles?
Because i don't get it why don't compile on my comp  ::)

JRS

  • Guest
Re: Web Browser
« Reply #3 on: April 21, 2013, 08:53:09 AM »
This may be helpful and a working example in BaCon.


Aurel

  • Guest
Re: Web Browser
« Reply #4 on: April 21, 2013, 09:20:24 AM »
No John..
I need something like in FB example with win api not from iup,webkit...etc..
it just complicate things.
I will search more ..maybe i found direct example from C/C++..

JRS

  • Guest
Re: Web Browser
« Reply #5 on: April 21, 2013, 09:35:20 AM »
I'm sure there are plenty of wrapper examples out there doing the (only) same thing IUP is doing. Unless you know of some other solution for a ATL based COM container for the MS web browser control, I'm all ears.

I know of this guy down the street that is looking for help building his house. The only requirement is NO power tools allowed and all materials are crafted from rough cut lumber and river rock. You seem like the kind of guy that would be perfect for the job.

 

Aurel

  • Guest
Re: Web Browser
« Reply #6 on: April 21, 2013, 10:09:17 AM »
But why use something if we can use something from api directly?
I have found few examples in C++ (WebForm)...etc

if i ever want use external lib than i will look into gecko by mozzila...

JRS

  • Guest
Re: Web Browser
« Reply #7 on: April 21, 2013, 10:21:18 AM »
This may be helpful and a working example in FreeBasic. I did this some time ago so things may have changed with the API since.

« Last Edit: April 21, 2013, 10:52:08 AM by JRS »

Aurel

  • Guest
Re: Web Browser
« Reply #8 on: April 21, 2013, 11:09:13 AM »
john..
is this thinBasic example or powerbasic example?
looks good ;)
i have found something with mshtml.dll but i must first modify include that work with oxygen...

JRS

  • Guest
Re: Web Browser
« Reply #9 on: April 21, 2013, 11:12:35 AM »
That is a FreeBasic example (Tiny Browser) running under Wine. (period of my life transitioning to Linux)

If my memory serves me correctly I found a bug compiling the Tiny Browser example that CountingPine (Mathew) resolved. Once again, many moons ago ...

Charles Pegge

  • Guest
Re: Web Browser
« Reply #10 on: April 21, 2013, 11:44:07 PM »
Most promising source reference I've seen so far:

http://www.jose.it-berater.org/smfforum/index.php?board=421.0

Frankolinox

  • Guest
Re: Web Browser
« Reply #11 on: April 22, 2013, 01:42:18 AM »
I am working as basis with this webbrowser (as mentioned before from charles with the link above) from jose for my funbasic project (funbasicz_editor). that looks like this one.

I am not ready to convert all features from pbwin to oxygen yet. but for studying source it may help you aurel with some ideas.

regards, frank

X

Aurel

  • Guest
Re: Web Browser
« Reply #12 on: April 22, 2013, 02:02:22 AM »
Thanks ..
I already look inro jose forum and see this examples...
so it looks that we need CWindow.inc for this browser example..
Looks complicating but maybe is not that much... :-\

Aurel

  • Guest
Re: Web Browser
« Reply #13 on: April 22, 2013, 03:35:26 AM »
Hmm..i don't have powerBasic but some of you have..
Maybe frank can show as how looks this examples in screenshots that we can see
what is what here... ::)

Aurel

  • Guest
Re: Web Browser
« Reply #14 on: April 22, 2013, 07:08:19 AM »
I am not sure if will work but i think that is worth to try.
found simple webcontrol by Jeff Glatt for mingW example with source code and
one small dll 3.5kB...