populate asp page I REALLY NEED HELP!
[Originally posted by pcprgmr]
At work I am supposed to fill out a daily time sheet over the intranet.ÿ The page is written in asp and has basic fields (a name drop down, a password textbox, time worked etc...)ÿ I want to write a utility that will fill this form in for me with predefined static info.ÿ Any help would be greatly appreciated.
Re:populate asp page
[Originally posted by FreeVBCode.com]
Static info for everybody or on a per user basis?
I suspect you mean the latter, so you can have the person log-in based on a user/name password, pull out the value of an identfier field, and use this to look up the rest of the information and populate the page.
Re:populate asp page I REALLY NEED HELP!
[Originally posted by neophile]
Or are you just trying to shortcut for your own personal use? If so, construct a query string and use the Internet Transfer Control to send it off... like so
Private Sub Command1_Click()
ÿ ÿ Dim sData As String
ÿ ÿ Dim sResult As String
ÿ ÿ sData = "?username=" & MyUsername & "&Hours=" & MyHoursToday
ÿ ÿ sResult = Inet1.OpenURL("http://myserver/resultpage.asp" & sData, icString)
ÿ ÿ sData = ""
ÿ ÿ sResult = ""
...This may or may not work... you really should look at the form page's source.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center