| View previous topic :: View next topic |
| Author |
Message |
bjdavis Valued Newbie

Joined: 03 Jan 2002 Posts: 28 Location: Jacksonville, FL
|
Posted: Mon Jun 30, 2003 9:22 pm Post subject: Dialog Element Browser |
|
|
This pertains to VDS 5.0
I am trying to create a simple dialog with a browser element
However everytime I try to run it I get the VDS Error Box
Error Invalid Parameter to command
any ideas?
| Code: |
DIALOG CREATE,New Dialog,-1,0,240,160
REM *** Modified by Dialog Designer on 6/30/2003 - 17:17 ***
DIALOG ADD,BROWSER,BROWSER101,37,23,150,150,http://www.dialogscript.com
DIALOG SHOW
Wait Event
|
_________________ B.J. Davis, MCSE |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jun 30, 2003 9:25 pm Post subject: |
|
|
Try this:
| Code: | EXTERNAL VDSBRW50.DLL
DIALOG CREATE,New Dialog,-1,0,240,160
REM *** Modified by Dialog Designer on 6/30/2003 - 17:17 ***
DIALOG ADD,BROWSER,BROWSER101,37,23,150,150,http://www.dialogscript.com
DIALOG SHOW
Wait Event |
You will need to re-distrubute the VDSBRW50.DLL every time you make
a program that requires a browser element.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
bjdavis Valued Newbie

Joined: 03 Jan 2002 Posts: 28 Location: Jacksonville, FL
|
Posted: Mon Jun 30, 2003 9:31 pm Post subject: |
|
|
| FreezingFire wrote: |
You will need to re-distrubute the VDSBRW50.DLL every time you make
a program that requires a browser element.  |
So, I am to assume that even though the element is included in the dialog creator elements, it is not a part of the vdsrun50.dll and that I already installed the Internet Suite 2.0 component?
 _________________ B.J. Davis, MCSE |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Jun 30, 2003 9:34 pm Post subject: |
|
|
No, no.
See, the browser element DLL was most likely created to reduce the size
of the runtime so that it didn't carry unneccessary bulk.
Internet Suite 2.0 doesn't need to be installed. All you have to distribute
with your package is:
| Code: |
* YOUR.EXE
* VDSRUN50.DLL
* VDSBRW50.DLL
|
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
bjdavis Valued Newbie

Joined: 03 Jan 2002 Posts: 28 Location: Jacksonville, FL
|
Posted: Mon Jun 30, 2003 9:37 pm Post subject: |
|
|
Understood!  _________________ B.J. Davis, MCSE |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Tue Jul 01, 2003 8:36 am Post subject: |
|
|
| Quote: | | See, the browser element DLL was most likely created to reduce the size of the runtime so that it didn't carry unneccessary bulk. |
Also, it requires Internet Explorer 5 to be installed, which would be a bit of a bummer for those programs that don't even use a browser element. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1564
|
Posted: Tue Jul 01, 2003 1:27 pm Post subject: |
|
|
| Is it IE 5 or is it IE 3 or higher? |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Tue Jul 01, 2003 1:34 pm Post subject: |
|
|
No, it's 5 or higher. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
NathanH Valued Newbie
Joined: 05 Sep 2001 Posts: 32
|
Posted: Tue Jul 01, 2003 7:19 pm Post subject: |
|
|
In the URL field of the browser demo the current page is not reflected (ie I click on a link and it does not update with the new pages URL.
Is there a way to do this?
Thanks.
Nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Jul 01, 2003 7:30 pm Post subject: |
|
|
Try this example:
| Code: | external VDSBRW50
DIALOG CREATE,Browser,-1,0,240,160
DIALOG ADD,BROWSER,BROWSER1,5,20,150,150,http://www.dialogscript.com
DIALOG SHOW
wait event
info @browser(browser1,url)
exit |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
bjdavis Valued Newbie

Joined: 03 Jan 2002 Posts: 28 Location: Jacksonville, FL
|
Posted: Wed Jul 02, 2003 2:25 pm Post subject: Browser Element Help File |
|
|
Is there a Help file for the Browser Element?  _________________ B.J. Davis, MCSE |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 02, 2003 2:29 pm Post subject: |
|
|
Commercial-Research still has things in the works.
As of now it's just been trial-and-error for me... this is my theory:
If you want to use a function, use:
| Code: | | %A = @browser({BROWSER_NAME},{function}) |
And for a command:
| Code: | | BROSWER {parameter},{BROWSER_NAME},{parameter} |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
NathanH Valued Newbie
Joined: 05 Sep 2001 Posts: 32
|
Posted: Fri Jul 04, 2003 9:57 pm Post subject: |
|
|
Does anyone have a full list of commands and functions for the Browser element.
This is what I have from the demo...
BROWSER BACK,{Browser_Name}
BROWSER FORWARD,{Browser_Name}
BROWSER STOP,{Browser_Name}
BROWSER REFRESH,{Browser_Name}
BROWSER PRINT,{Browser_Name}
@browser({Browser_Name},busy)
@browser({Browser_Name},url)
@browser({Browser_Name},name)
Nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Jul 04, 2003 10:59 pm Post subject: |
|
|
Hi Nathan. Right now Commercial Research is working on all of this... in
the near future you will probably see some updates with information such
as this.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
NathanH Valued Newbie
Joined: 05 Sep 2001 Posts: 32
|
Posted: Sat Jul 05, 2003 5:03 am Post subject: |
|
|
Good to hear, FF.
Hopefully they'll look into a way to allow the tab, del and backspace to operate normally, too, when the browser element has the focus.
Regards
Nathan |
|
| Back to top |
|
 |
|