| View previous topic :: View next topic |
| Author |
Message |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Mon Nov 10, 2003 8:36 pm Post subject: vdsbrw50.dll Problems |
|
|
I have tried everything to get it to work!
The example that comes with VDS5 for the webbrowser, WORKS !
This does not:
| Code: |
#DEFINE COMMAND,BROWSER
#DEFINE FUNCTION,BROWSER
#DEFINE COMMAND,ShowAboutBox
option errortrap,novdsbrw
external @path(%0)VDSBRW50.DLL
goto vdsbrwok
:novdsbrw
warn A required file VDSBRW50.DLL was not found
stop
:vdsbrwok
DIALOG CREATE,New Dialog,-1,0,520,327
DIALOG ADD,STYLE,STYLE1,,,B,,004080
...
...
...
etc
DIALOG ADD,BROWSER,Browser1,29,137,363,63,
DIALOG SHOW
:evloop
wait event
goto @event()
|
Keeps displaying: A required file VDSBRW50.DLL was not found
The dll is in the same directory as the script, and it is also in the windows\system32 directory also
Any ideas?
Nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Nov 10, 2003 8:41 pm Post subject: |
|
|
You should clear the OPTION ERRORTRAP and see what happens. There
could be an error in your actual code and it is then just going back to
what you put as an errortrap, "A required file VDSBRW50.DLL was not found".
Try using @FILE() to see if it exists first instead of using errortrap, as this
may cut down on unrelated VDSBRW50 problems.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Nov 10, 2003 8:44 pm Post subject: |
|
|
Ahh.. I think I see what's going on. Sometimes the VDSBRW50.DLL will
throw an error if you don't put any default address for it when defining it
on the dialog. If you just want a blank, like there is when you put no
parameter in, use the following code:
| Code: | | DIALOG ADD,BROWSER,Browser1,29,137,363,63,about:blank |
Because it sometimes throws the errors, you'll get the pre-defined error
message under your errortrap.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Mon Nov 10, 2003 8:50 pm Post subject: |
|
|
Thanks FF
I could not the wood for the trees
nathan |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Nov 11, 2003 12:12 am Post subject: |
|
|
No problem, glad to help!  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|