Results 1 to 2 of 2

Thread: [2005] Working with webbrowser control.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    29

    Question [2005] Working with webbrowser control.

    I saw a post about this but i cannot find it. If somebody could point me in the right direction I'd appreciate it.

    What I'm trying to do is use an aspx page from a webbrowser control in a vb form. I want to submit values entered on the form into the webbrowser page and return a boolean True/False to the form.

    So far the only way I've figured to get the value to the .aspx is to have it by default request a query string into the input textbox. Then based on the value submitted in the form pass it a new Url and refresh it.

    I've no clue on how to return a value from the webbrowser control back to a form variable

    This is how I'm submitting the value to the .aspx page on a button click:

    Code:
     
    Dim strurl As String
    strurl = "http://SNinfo.aspx?SN=" & Me.TextBox1.Text
    WebBrowser1.Navigate(strurl)
    any clue how to return a boolean value back to the form once the .navigate is finished? Or a better way to get the form value into the webbrowser page?

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jan 2007
    Posts
    29

    Re: [2005] Working with webbrowser control.

    Yikes. I know this sounds stupid but it's neccessary for a short term fix to "high-tech Red-Neck" this. I've searched google and cant seem to find what im looking for. Maybe it's just not meant to be!

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