forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vdsbrw50.dll Problems

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Mon Nov 10, 2003 8:36 pm    Post subject: vdsbrw50.dll Problems Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Nov 10, 2003 8:41 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Nov 10, 2003 8:44 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Mon Nov 10, 2003 8:50 pm    Post subject: Reply with quote

Thanks FF Very Happy

I could not the wood for the trees Very Happy

nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Nov 11, 2003 12:12 am    Post subject: Reply with quote

No problem, glad to help! Very Happy
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group