Any Visual Basic Gurus?

C++, C#, Java, PHP, ect...
Genaga
Posts: 86
Joined: Fri Dec 11, 2009 7:05 pm

Re: Any Visual Basic Gurus?

Post by Genaga »

If the program is in .NET then it is incredibly easy. Download Reflector (free) and decompile.
Gustava
Posts: 66
Joined: Tue Dec 29, 2009 5:49 am

Re: Any Visual Basic Gurus?

Post by Gustava »

Thank you, that's a pretty sweet program :)
Gustava
Posts: 66
Joined: Tue Dec 29, 2009 5:49 am

Re: Any Visual Basic Gurus?

Post by Gustava »

I'v been playing around with it this morning and got confused about this one line of code, basically it replaces a value on a form from a textbox - But I was trying to do it backwards:

Code: Select all

WebBrowser1.Document.GetElementById("productID").SetAttribute(TextBox6.Text, "value")
Grabbing it from this below:

Code: Select all

<input align="right" type="Text" name="productID" size="10" value="402">

I know when I do the last 2 values backwards -

WebBrowser1.Document.GetElementById("productID").SetAttribute("value", TextBox6.Text)



- it works fine. For example I used it to log into a site, it inserts the elements perfectly. Is there something more required to select an element off a webpage and send it to the textbox instead?
Post Reply

Return to “Coding”