URLEncode in vb.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to know if you can use URLEncode within vb.net or if it is an
ASP.Net only method. If it can be used in vb.net what namespace reference do
I need to import to get this to work? In asp.net its part of the
system.web.httputility object. How do you get it to work in vb.net windows
application?
 
Logger,

ASPNET(WebForms) and Winforms are two different ways. They both can use the
VB.Net and C# language.

In some of the projects are references and imports standard set. In a
winform is by instance not set System.Web.HttpUtility as you wrote already.
If you have set that import than you can use URLEndcode in a windowsform
project.

The reference can be set in many ways, one is to click on the menuitem
project
Than Add new references
Select this HttpUtility from the Net tab combobox.
etc etc. than

In top of your program
Imports system.web.httputility


I hope this helps,

Cor
 
ok working fine. Thank you..

Cor Ligthert said:
Logger,

ASPNET(WebForms) and Winforms are two different ways. They both can use the
VB.Net and C# language.

In some of the projects are references and imports standard set. In a
winform is by instance not set System.Web.HttpUtility as you wrote already.
If you have set that import than you can use URLEndcode in a windowsform
project.

The reference can be set in many ways, one is to click on the menuitem
project
Than Add new references
Select this HttpUtility from the Net tab combobox.
etc etc. than

In top of your program
Imports system.web.httputility


I hope this helps,

Cor
 
Back
Top