Hello to all, I would like to ask if it is possible to transfer a text from a VB textbox to HTML textbox? If it is, how? Thank you in advance.

Regards;

nagatron

Recommended Answers

All 3 Replies

Obtain the website you would like to control, right click on it and select "view Source". Note that you have to use the web browser control in your application. In vb6, references, select Internet library. In components, select web browser control.

In the source code, find the textbox name that will contain the text from your vb6 text box. In code the following -

Webbrowser1.Document.All("TheTextboxNameHere").Value = MyVb6TextboxName

Sorry for the late reply, I have internet connection problem last few days. I tried the code and it work 100%. Thank you so much. . Now I am going to mark it solve.

Only a pleasure. Happy coding.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.