December 16th, 2013, 07:35 AM
Help me out for this Webbrowser control, please....
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?
Dim x = WebBrowser1.Document.ActiveElement
December 16th, 2013, 01:03 PM
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.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!