123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|641|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Build-a-Browser

Page : 1 2 Next
Prev
Sun, 12 Oct 2014, 15:21
dna
This might be a stupid question but has anyone made a web browser in B3d? Can it be Done?

-=-=-
DNA
Sun, 12 Oct 2014, 15:21
Jayenkai
Wouldn't be very good. A LOT of work would be needed to make it vaguely minimal. Not something that would be fun to attempt.

-=-=-
''Load, Next List!''
Sun, 12 Oct 2014, 15:49
steve_ancell
If you value your sanity, don't try to re-invent the wheel.
Sun, 12 Oct 2014, 16:35
cyangames
Building a broswer. one of the toughest tasks I think you could want to do, mainly because code quality isn't guaranteed. Why do you need this, or is it for kicks?

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Sun, 12 Oct 2014, 17:02
dna
I wanted to pull up a particular web site when I started the application and nothing else.

I found something on the Blitzbasic web site written in BMax.

-=-=-
DNA
Sun, 12 Oct 2014, 17:22
cyangames
Can you execute a program from command line from within B3D?

If so, perhaps using arguments when launching would help, linky below:

msdn.microsoft.com/en-us/library/ie/hh826025%28v=vs.85%29.aspx

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Sun, 12 Oct 2014, 20:18
steve_ancell
rychan Can you execute a program from command line from within B3D?

Yeah, this one.
ExecFile( "filepath" )

Replace the quote marks with chr$(34), something like the following:

Sun, 12 Oct 2014, 20:43
dna
How does a person pass the name of the website to the browser after its launched using your method steve.

-=-=-
DNA
Sun, 12 Oct 2014, 20:48
steve_ancell
Actually, scrub my last comment, I made a booboo.

Just played around and came up with this, not used Blitz3D for a while so I'm a little rusty.

This definitely works:



|edit| In theory this code should open a page in your default browser. |edit|
Mon, 13 Oct 2014, 23:17
cyangames
Cool, guess the OS would just load that in it's default browser then, much nicer!

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Tue, 14 Oct 2014, 13:04
Dabz
www.blitzbasic.com/Community/posts.php?topic=103302

See if you can jimmy it in to blitz via userlibs... Should work with a bit of the auld glue code!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Tue, 14 Oct 2014, 13:12
dna
That's for BMax. I have B2d & B3D
Tue, 14 Oct 2014, 13:17
Jayenkai
"See if you can jimmy it" = "this isn't in the language you want, but it's close enough... see if you can figure it out by converting it, and making use of the tools available to you."

-=-=-
''Load, Next List!''
Tue, 14 Oct 2014, 13:30
Dabz
^what he said

Brucey is wrapping the related software for BlitzMax, you need to wrap it for blitz3d... And that means writing a userlib!

Have a go... It'll be fun!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Tue, 14 Oct 2014, 13:59
Dabz
Good point kuron matey... But going off the first post, he said "in b3d"... Which bruceys proof of concept shows you can have proper browser output within your directx context... No horrible IE frame based setup and shell calling... Being seamless would be the way to go for me personally... But, that's me... And I'd find it fun too!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Tue, 14 Oct 2014, 15:41
steve_ancell
Kuron Yes, in BlitzMax where you can get the handle of the DirectX context. I could be wrong, but with B3D, you had to resort to the Fast Extensions library if you wanted to hack and get the DX Context of the B3D window and write to it outside of the scope which B3D was capable of?


The B3D manual is always your friend.

CallDLL( dll_name$, proc_name$[,in_bank,out_bank] )
Tue, 14 Oct 2014, 17:23
steve_ancell
Kuron I see Mark has released B3D as open source. Very interesting

Marketing stunt most likely, although I still stand by what I've said in the past; if he changed the name of monkey to something that sounds more mainstream then it would probably sell shitloads. Whenever I talk to anyone about monkey programming, they usually think I'm trying to brainwash apes.
Wed, 15 Oct 2014, 12:40
dna
I wrote that I have both B2D and B3D.

I'll see what I can find for B2D.

B2D I thought was the same as B+

-=-=-
DNA
Wed, 15 Oct 2014, 13:41
dna
I'm downloading B+ 1.47 to make sure
Wed, 15 Oct 2014, 14:16
dna
Thanks Kuron.

That was a good bit of history.
Page : 1 2 Next
Prev