jon24422531
Technical User
Hi guys
Not sure if this is possible in ASP, but here goes....
Our customers are able to access data on their transactions with us over a secure internet application. We grant them access through a user name and password that is stored in a SQL table. We used to add these users in an Outlook VBA application that I have since transferred to our Intranet. So far so good, but the Outlook VBA also had a button through which you could open the Internet page and the logon details were filled in. This was an excellent way of checking it worked and also troubleshooting any users problems.
This is the VBA code:
Is there any way of doing something similar in ASP?
Jonathan
Not sure if this is possible in ASP, but here goes....
Our customers are able to access data on their transactions with us over a secure internet application. We grant them access through a user name and password that is stored in a SQL table. We used to add these users in an Outlook VBA application that I have since transferred to our Intranet. So far so good, but the Outlook VBA also had a button through which you could open the Internet page and the logon details were filled in. This was an excellent way of checking it worked and also troubleshooting any users problems.
This is the VBA code:
Code:
Private Sub FTWO_Open_Click()
Dim AltKey As String
Dim CtrlKey As String
Dim ShiftKey As String
Dim TabKey As String
Dim EnterKey As String
Dim obj As InternetExplorer
AltKey = "%"
CtrlKey = "^"
ShiftKey = "+"
TabKey = "{TAB}"
EnterKey = "~"
Set obj = CreateObject("InternetExplorer.Application")
obj.Toolbar = 1 'show toolbar
obj.Visible = True 'show Internet Explorer
Call obj.Navigate(ThisOutlookSession.FTWebURL)
ThisOutlookSession.SleepLength = 5000
Call Sleep_Time
SendKeys LoginTextBox.Text, False
SendKeys TabKey, False
SendKeys PasswordPrefixTextBox.Text, False
SendKeys TabKey, False
SendKeys ThisOutlookSession.FTWebCustomerToLookup, False
SendKeys TabKey, False
SendKeys EnterKey, False
End Sub
Jonathan