I need to use VBScript (.vbs file) to open a URL, but not add the URL to the browser history. This is NOT for MS Access VBA -- but...
...In VBA in MS Access, if I were using it, I would use:
", , , AddHistory:=False
...but again I need to use VBS.
I don't see a property in the MSDN documentation (if it's even the right documentation) at http://msdn.microsoft.com/en-us/library/aa752084(v=vs.85).aspx
So how does Application.FollowHyperlin
k do it, and how can I do something similar in VBA? (I just don't want this particular link to get added to the history, I don't want or need to delete all my history.)
Set IE = wscript.createobject("internetexplorer.application","IE_")
.visible = False
.AddHistory = False
.navigate ("http://www.google.com/") 'May contain website login info, and thus I don't want this to be added to this history. How do I implement that?
while (.busy) 'wait until the site gets loaded
while (.ReadyState = 4) 'ReadyState_Complete
'IE.visible = True 'Commented to continue hiding
End With 'IE
Set IE = Nothing