Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


a newbie question about IE control

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,29380
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> a newbie question about IE control
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 a newbie question about IE control - 12/28/2005 5:37:57 PM   
  gavinwang

 

Posts: 1
Score: 0
Joined: 12/28/2005
Status: offline
Currently I am using vbscript to create an IE object and navigate to an html which is located in my local system(navigate to a url like file://xxx.htm). In my html there is only a form named "myform" and there is a submit button.
But when I try to access the form via such code:
myIE.document.myform.submit
The Windows Script Host prompt an error:"object does not support the property or method".
Can anyone help me?
Thank you.
 
 
Post #: 1
 
 RE: a newbie question about IE control - 12/28/2005 8:02:19 PM   
  ehvbs

 

Posts: 2204
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Hi gavinwang,

I hope this


      

will help you to check, whether you
  1. named your objects correctly
  2. used the correct syntax to invoke methods of your objects

(in reply to gavinwang)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> a newbie question about IE control Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts