So like this

Textbox1 has this text

http://www.facebook/whatever1
http://www.facebook/whatever2
http://m.facebook/whatever3
http://m.facebook/whatever4
http://m.facebook/whatever5

I want it on a button press

it will change any urls with Http://www.

to
http://m.

so at the end after button press it will be

http://m.facebook/whatever1
http://m.facebook/whatever2
http://m.facebook/whatever3
http://m.facebook/whatever4
http://m.facebook/whatever5

And

Also i need it on button press to change the current url in the webbrowser1

from: http://m.facebook/whatever

to

http://www.facebook/whatever

Recommended Answers

All 4 Replies

and you have done so far?
Show us your code and mark where you have problems, so we can help you.
But dont expect us to write your program.

and you have done so far?
Show us your code and mark where you have problems, so we can help you.
But dont expect us to write your program.

I don't know the code thats why im posting..

I'm pretty sure you'll find some code in here to get you started.

So like this

Textbox1 has this text

http://www.facebook/whatever1
http://www.facebook/whatever2
http://m.facebook/whatever3
http://m.facebook/whatever4
http://m.facebook/whatever5

I want it on a button press

it will change any urls with Http://www.

to
http://m.

so at the end after button press it will be

http://m.facebook/whatever1
http://m.facebook/whatever2
http://m.facebook/whatever3
http://m.facebook/whatever4
http://m.facebook/whatever5

And

Also i need it on button press to change the current url in the webbrowser1

from: http://m.facebook/whatever

to

http://www.facebook/whatever

we encourage hardwork you know?:)

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.