DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    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
    Posts
    43,023

    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
    Posts
    43,023

    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.

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links