LB Booster
« BBC Basic for MAC »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:00am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: BBC Basic for MAC  (Read 1132 times)
Mystic
Junior Member
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 53
xx Re: BBC Basic for MAC
« Reply #11 on: Aug 17th, 2016, 12:51am »

on Aug 17th, 2016, 12:09am, Richard Russell wrote:
...for some reason it was awfully slow at fetching the page across my home network.


Yep, one of the drawbacks for the file option. It works, but is painfully slow.

My HTML files are dynamic based on the program output. It's not like I am just accessing a bunch of static HTML files because they look pretty.

I would rather my program have input boxes on the HTML window (like a real form entry), then redraw the HTML page based on the database results, etc...

So essentially it would resemble typical HTML functionality, but being interpreted from the engine of LBB and not a server.
User IP Logged

- Rick
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: BBC Basic for MAC
« Reply #12 on: Aug 17th, 2016, 08:46am »

on Aug 17th, 2016, 12:51am, Mystic wrote:
So essentially it would resemble typical HTML functionality, but being interpreted from the engine of LBB and not a server.

I would suggest you check out Microsoft's IWebBrowser2 control to see if it has the capabilities you need. Because it uses an Object Oriented (COM) interface you would need to use the CallMethod function I wrote in order to access it from LB/LBB:

Code:
function CallMethod(object, method, parm$)
code$=chr$(139)+"D$"+chr$(4)+chr$(139)+"T$"+chr$(8)+chr$(139)+"L$" _
+ chr$(16)+"VW"+chr$(139)+"t$"+chr$(20)+chr$(43)+chr$(225)+chr$(139) _
+ chr$(252)+chr$(243)+chr$(164)+chr$(80)+chr$(139)+chr$(0)+chr$(255) _
+ chr$(20)+chr$(144)+chr$(95)+chr$(94)+chr$(194)+chr$(16)+chr$(0)

p$=parm$
n=len(p$)
calldll #user32, "CallWindowProcA", code$ as ptr, object as long,_
  method as long, p$ as ptr, n as long, CallMethod as long
end function
 

Richard.
User IP Logged

Mystic
Junior Member
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 53
xx Re: BBC Basic for MAC
« Reply #13 on: Aug 17th, 2016, 3:08pm »

Thanks! I'll check that out as well.
User IP Logged

- Rick
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls