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 


browser element error

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Apr 06, 2004 8:07 am    Post subject: browser element error Reply with quote

hi,

i'm having continuous intermittent problem with the following code

Code:
DIALOG CREATE,%%title - About...,-1,0,540,475,NOSYS,ONTOP 
  wait 1
  DIALOG ADD,BROWSER,BROWSER1,10,5,530,420,
  dialog set, browser1, %%popup_file
  DIALOG ADD,BUTTON,child_ok,440,225,110,30,OK
  DIALOG SHOWMODAL


the error i get is number 14..."Invalid parameter to command" at the line where i add the browser element...any idea why?

i added the wait 1 command hoping that giving it some time would stop the problem but to no avail

thanks in advance

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Apr 06, 2004 10:25 am    Post subject: Reply with quote

An error 14 can only occur here if the second parameter isn't BROWSER or the third isn't a valid name, or is a valid name but it already exists. It could also occur if you hadn't loaded the browser extension in the first place.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Apr 06, 2004 1:55 pm    Post subject: Reply with quote

thanks for your input jules...i thought of changing the code to the following and so far so good Smile

Code:
DIALOG CREATE,%%title - About...,-1,0,540,475,NOSYS,ONTOP 
  wait 1
  DIALOG ADD,BROWSER,BROWSER1,10,5,530,420,%%popup_file
  DIALOG ADD,BUTTON,child_ok,440,225,110,30,OK
  DIALOG SHOWMODAL


time of course will tell whether this will work or not

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Apr 06, 2004 7:17 pm    Post subject: Reply with quote

I had the same problem before, try replacing the below:

child_ok

with

childok
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Apr 07, 2004 12:09 am    Post subject: Reply with quote

ok, vtol....i will give it a go...thanks for letting me know Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Apr 07, 2004 12:15 am    Post subject: Reply with quote

I'd say good luck, but thats something I know nothing about Laughing

I hope that does it for you...
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