Help me out for this Webbrowser control, please....
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Help me out for this Webbrowser control, please....

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Posts
    23

    Help me out for this Webbrowser control, please....

    Hey Friends,

    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?

    my code
    Code:
    Dim x = WebBrowser1.Document.ActiveElement
    Regards
    Seema

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,843

    Re: Help me out for this Webbrowser control, please....

    You do not Dim anything using = you use As

    Dim x= Integer ' is invalid
    Dim x as Integer ' is correct

    I do not mess around with the web browser control in Vb6 so not sure what you would need but may depend on what the active element is. i.e. a button, checkbox, text field here I would think a string is needed.
    Always use [code][/code] tags when posting code.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center