Re: VBScript and opening html page by Marek
Marek
Thu Nov 04 08:00:44 CST 2004
Is there any method, to open page from vbscript?
U¿ytkownik "McKirahan" <News@McKirahan.com> napisa³ w wiadomo¶ci
news:feqid.568600$8_6.290843@attbi_s04...
> "Marek" <marek@zegarek.pl> wrote in message
> news:#Oq4eDnwEHA.824@TK2MSFTNGP11.phx.gbl...
>> How can I open html webpage from VBScript?
>>
>> My script is checking permissions and when see, that i have permission to
>> see other page, then give me result.
>> I want to open other page when i have permission for it.
>> I have three possibilities by permissions.
>>
>> My question is:
>> How open other pages by VBScript? In frame?
>>
>> For example:
>> If I have 1 level VBScript open for me page1
>> If I have 2 level VBScript open for me page2
>> If I have 3 level VBScript open for me page3
>>
>>
>
> Will this example help?
>
> Dim objIEA
> Set objIEA = CreateObject("InternetExplorer.Application")
> objIEA.Navigate cURL
> objIEA.Visible = True
> While objIEA.ReadyState <> 4
> Wend
> Set objIEA = Nothing
>
> If this will be in a Web page then you should probably use JavaScript's
> "window.open()" or "location.href = ".
>
>