Syntax
| Internet.PutProperty PropItem, Value
| ||||||
---|---|---|---|---|---|---|---|
Description
| Writes away a value Value as a property under the name PropItem in the currently opened Internet Explorer. It is an alternative to the PropertyBag function used in ActiveX documents.
| ||||||
See Also
| |||||||
Example
| Sub Main
Dim sPage as String
Internet.OpenPage "www.tradium.nl"
sPage = Internet.LocationURL
‘save page as property
Internet.PutProperty "MyWeb", sPage
sPage = "" ‘delete variable content
Wait 3 ‘seconds
‘back to the set homepage
Internet.GoHome
Wait 3 ‘wait for seconds, then back again
sPage = Internet.GetProperty("MyWeb")
Internet.OpenPage sPage
Internet.ClosePage
End Sub
|