CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2013
    Posts
    28

    Thumbs up In Webbrowser1 ctrl how to set the name of selected file to a variable.

    Hi all,

    I have a webbrowser1 ctrl, on that i have some 10 files, i select one file and click on button1, then the selected file name along with url shld be shown in the string variable.

    Can any 1 tell me how to do it?

    Regards
    Seema

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: In Webbrowser1 ctrl how to set the name of selected file to a variable.

    Show the code that displays the file chosen, to expose the property that you want to copy, and we'll try to help
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2013
    Posts
    28

    Re: In Webbrowser1 ctrl how to set the name of selected file to a variable.

    Hi,

    Even i am trying for the same, i tried out with the following code. the code wich can save the url + the file name, but its not working, Help me David if u can. Please

    Code:
      
    Dim x = WebBrowser1.Document.ActiveElement

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

Featured