VB6 to VB.NET ?

somebody plz convert this to VB.NET

WebBrowser1.Navigate ("http://domain/mailer.php" + "?to=" + txtto + "&subject=" + txtsubject + "&from=" + txtfrom + "&message=" + txtmsg)

and is there any tool out there that converts VB6 Projects to VB.NET and the other way around ?

thanks a bunch.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
which version of VB.Net? Starting with VB.Net 2005, you also have a WebBrowser control. Have a look at http://www.emoreau.com/Entries/Articles/2007/04/The-WebBrowser-control.aspx
nkrulezAuthor Commented:
VB.NET 2008
nkrulezAuthor Commented:
and i obviously want to convert the expression [ + "?to=" + txtto + "&subject....etc ] because it is not the same for .NET
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Éric MoreauSenior .Net ConsultantCommented:
the syntax is almost the same. the Navigate method still exist. The only thing is that default properties (in your case the Text property of the Textbox object) is not supported anymore.

it should now be:
WebBrowser1.Navigate ("http://domain/mailer.php" + "?to=" + txtto.Text + "&subject=" + txtsubject.Text + "&from=" + txtfrom.Text + "&message=" + txtmsg.Text)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike TomlinsonHigh School Computer Science, Computer Applications, and Mathematics TeachersCommented:
It should work in VB.Net too...

If you want to be more "correct" then use & instead of +.

    WebBrowser1.Navigate ("http://domain/mailer.php" & "?to=" & txtto & "&subject=" & txtsubject & "&from=" & txtfrom & "&message=" & txtmsg)

Otherwise, what error messages are you getting?
Mike TomlinsonHigh School Computer Science, Computer Applications, and Mathematics TeachersCommented:
Good catch emoreau...wasn't clear if they were controls or variables.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.