mjcaestecker
Registered User.
- Local time
- Today, 05:39
- Joined
- Aug 17, 2012
- Messages
- 25
Greetings All,
I've got this code to try and access some information from an XML file on Contant Contact's server. I can open the xml file in my internet browser, but only after i input the username and password. is it possible to modify what's below to include a username and password? I've replaced the information in brackets to protect my clients' information.
Me!XMLprint is a textbox so I can see what the code is returning.
-Martin
I've got this code to try and access some information from an XML file on Contant Contact's server. I can open the xml file in my internet browser, but only after i input the username and password. is it possible to modify what's below to include a username and password? I've replaced the information in brackets to protect my clients' information.
Me!XMLprint is a textbox so I can see what the code is returning.
Code:
Private Sub GetInfo_Click()
Dim doc As MSXML2.DOMDocument
Set doc = New MSXML2.DOMDocument
doc.async = False
doc.Load ("https://api.constantcontact.com/ws/customers/{username}/contacts/{contactID#}")
Me!XMLprint = doc.selectSingleNode("/entry/author/name").Text
End Sub
-Martin