Link to home
Start Free TrialLog in
Avatar of raj_ms
raj_ms

asked on

is it possible to change a text on a hosted website using visual basic

is it possible to change aspecific content or text on hosted website, which is created in php,using vb. take an example of google, in which i would like to change a text under the textfield. is it possible
Avatar of unknown_routine
unknown_routine
Flag of United States of America image



Hi,

Changing the way text shows in your browser is possilbe.
But note that you can not change the the text which is actually in the website server.(can not be changed without hacking and I'm sure you are not into that)

Changing the way text shows in your browser can be done this way:

Step1: you show the webpage in a webbroswer component which is put on your form.

Step2: you read the HTML of the page.

dim s as string

s=Webbrowser.document.innerhtml

Now s contains HTML (PHD) text. you can find the text and edit it.

then

Webbrowser.document.innerhtml =s




any questions : please mention.
Avatar of raj_ms
raj_ms

ASKER

i am creating a webeditor for my website, instead of changing all the web page, i have planned to edit only some text using vb.
I see,

Since you own that website, so you should be able to go through the steps in my previous comment and

then publish it back to the website.

I think you want to edit the PHP file?

If this is correct, then the Internet Transfer Control (which comes with VB) can be used to FTP the file(s) to and from your server.
You can edit the source text using a standard TextBox or via code in VB.

If you need more info or some examples of using the Inet Control, just ask.
Avatar of raj_ms

ASKER

i want to about ITC of vb
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial