DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004

    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.

  2. #2
    Join Date
    Aug 2004

    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.

  3. #3
    Join Date
    Aug 2004

    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 = ""
    End Sub

    ...This may or may not work... you really should look at the form page's source.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.