Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the url property of a scriptlet object on a VB form 1

Status
Not open for further replies.

Paladyr

Programmer
Apr 22, 2001
508
US
Trying this statement:

ie1.url = "file://" & AppPath & "Catalyze2.gif"

on the Form_Load event and it is saying object doesn't support this property or method.

I also tried putting it in the onreadystatechange event of the scriptlet but it does the same thing. This is an animated gif so it also kept calling that event. Thanks for the help!
 
AppPath is a String variable that has the location of the .exe. It is in the format "C:\Dir\App\"
 
Try this:
Code:
ie1.Navigate ("file://" & AppPath & "Catalyze2.gif")
Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Doesn't seem to have that method... tried it anyway and it says object doesn't support this property or method. Thanks for trying though!!

Is there maybe another object I should be using other than a scriptlet?
 
Sorry I assumed you were using a Webbrowser control.

ASSUME makes an ASS of U and ME Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
shoot, how do i get rid of the scroll bars?? also, all the changes I make to the settings like setting the addressbar to false seem to get reset after I run the program... what's up with that???
 
Tried all this and that gray bar to the right still shows up:

.navigate AppPath & "Catalyze2.gif"
.AddressBar = False
.MenuBar = False
.Offline = True
.Toolbar = False
.TabStop = False
.Silent = True
.FullScreen = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top