Results 1 to 4 of 4

Thread: open browser from window application

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    182

    open browser from window application

    I need to open a url from a window application when a user click a button. However the URL which is a login webpage, i need to pass username and password as well, to authenticate the user. How can i do this in window application? How can i pass the parameters?

    The purpose of this is to make our online stuff secure, that is why i am using this approach. The online help is open in a URL when the user clicks the button. We dont want it to be available to other users but can only use through our application. Any help would be greatly appreciated.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: open browser from window application

    URLs that accept parameters use a form like "http://www.somedomain.com?username=hello&password=world". Assuming that your page accepts parameters then just create a URL like that and pass it to Process.Start.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    182

    Re: open browser from window application

    Is there a way i can post instead of passing as querystring. Also do you have any other suggestions on making online help secure without any username password authentication.

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: open browser from window application

    You can use HTTP authentication. If necessary, you can also encrypt that using SSL. Have a look at the HttpRequest class.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width