Page 1 of 1
Browser Object
Posted: Mon Mar 17, 2014 7:47 pm
by cvirus
Hello Admin, is it possible to use browser object in FnxBasic?
Thanks
Browser Object
Posted: Sat Mar 22, 2014 4:10 pm
by Marco
Can you go further with something like this?
best regards, marco
``get default browser
declare FindExecutable as "FindExecutableA" of "shell32.dll"
lpFile As String
lpDirectory As String
lpResult As string byaddress
end declare
function getdefaultbrowser as string
dim f as filestream
f.open("htmpl.htm")
f.close
FindExecutable.lpfile="htmpl.htm"
FindExecutable.lpDirectory=exepath
FindExecutable.execute
result=FindExecutable.lpresult
kill "htmpl.htm"
end function
declare setparent as "SetParent" of user32
par as integer
child as integer
end declare
object myform as form
object b as button
caption="open browser"
onclick=openb
end object
center
showmodal
end object
sub openb
run getdefaultbrowser
end sub
Browser Object
Posted: Sat Mar 22, 2014 5:21 pm
by cvirus
What i meant was, embebed browser in fnx app.