Creating appointment from ASP web site HTML file

D

Dave the Wave

I'm retrieving scheduling information from a web site (Active Server
Page) that requires my login name and password. I'm using the
following code to retrieve the web page using Outlook 2007 VBA.

dim strWebPage as string

Sub Start()

On Error GoTo Error_Start
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate2 [insert URL text here]

end sub

Private Sub IE_DocumentComplete(ByVal pDisp As Object, URL As Variant)
strWebPage = pDisp.Document.Body.innerText
Debug.Print strWebPage
End Sub


The core of the above code was provided by a MSVP from this
newsgroup, and it works sometimes if I am already logged into the web
site. I was hoping I could modify the URL text to include my login
name and password.

The URL is: https://mydish.olivegarden.com/company/TOG/home.asp

Is this possible and what is the correct syntax?

Thanks in advance.
 
K

Ken Slovak - [MVP - Outlook]

Does that Web site support passing logon information that way? That and how
it supports it are things no one here would know anything about. On some
sites you can add a parameter to the URL:
http://www.foobar.com?password=foobar. On other sites you'd have to encode
the information or supply it in a separate Post operation or even use https.

You'd also be better off posting this in a different group, this is for
Outlook programming and the question has nothing to do with Outlook.
 
D

Dave the Wave

Does that Web site support passing logon information that way? That and how
it supports it are things no one here would know anything about. On some
sites you can add a parameter to the URL:
http://www.foobar.com?password=foobar. On other sites you'd have to encode
the information or supply it in a separate Post operation or even use https.

You'd also be better off posting this in a different group, this is for
Outlook programming and the question has nothing to do with Outlook.
Thanks for your reply. I posted to this NG because I'm working in the
Outlook VBE, trying to access another MS program to automate creating
scheduling items.

Best wishes,
David Glotfelty
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top