473,387 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

UrlDecode

How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

Thanks
Oct 5 '06 #1
6 13104

microsoft.public.dotnet.framework.aspnet

would be a more germane newsgroup.


"Kenan Kilictepe" <ke***@kilictepe.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

Thanks


Oct 5 '06 #2
Kenan Kilictepe wrote:
How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.
Have you added a reference to System.Web.dll to your project? That doesn't
get added by default for Windows applications so you'll need to add it
manually. Just right click on the References for the project, select Add
Reference, select System.Web.dll in the list of .NET references. Once that
is added you should then be able to use the UrlDecode method on the
HttpUtility class.
--
Tom Porterfield

Oct 5 '06 #3
He's asking about using it in a *Windows* application.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

If the Truth hurts, wear it.

"sloan" <sl***@ipass.netwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>
microsoft.public.dotnet.framework.aspnet

would be a more germane newsgroup.


"Kenan Kilictepe" <ke***@kilictepe.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

Thanks



Oct 5 '06 #4
Never tried it, but it should just need a reference to System.Web in the
winforms project.

string s = System.Web.HttpUtility.UrlEncode("this is a test");
John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com

"Kevin Spencer" <uc*@ftc.govwrote in message
news:eY**************@TK2MSFTNGP03.phx.gbl...
He's asking about using it in a *Windows* application.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

If the Truth hurts, wear it.

"sloan" <sl***@ipass.netwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>
microsoft.public.dotnet.framework.aspnet

would be a more germane newsgroup.


"Kenan Kilictepe" <ke***@kilictepe.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

Thanks




Oct 5 '06 #5
Thanks.

"Tom Porterfield" <tp******@mvps.orgwrote in message
news:uX**************@TK2MSFTNGP05.phx.gbl...
Kenan Kilictepe wrote:
>How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

Have you added a reference to System.Web.dll to your project? That
doesn't get added by default for Windows applications so you'll need to
add it manually. Just right click on the References for the project,
select Add Reference, select System.Web.dll in the list of .NET
references. Once that is added you should then be able to use the
UrlDecode method on the HttpUtility class.
--
Tom Porterfield

Oct 5 '06 #6
Doopppppppppp

You're right. Ooops.
Yeah. Referencing System.Web.dll should fix it.


"Kevin Spencer" <uc*@ftc.govwrote in message
news:eY**************@TK2MSFTNGP03.phx.gbl...
He's asking about using it in a *Windows* application.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

If the Truth hurts, wear it.

"sloan" <sl***@ipass.netwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...

microsoft.public.dotnet.framework.aspnet

would be a more germane newsgroup.


"Kenan Kilictepe" <ke***@kilictepe.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
How can I use HTTPUtility.UrlDecode method in a windows application?
Isn`t it possible?
VS IDE doesn`t show HTTPUtility Class in System.Web namespace.

Thanks



Oct 5 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Thomas Henz | last post by:
Hi again, can anyone tell me why it says that the object doesnt support this method? rs is a db query resultset. msg is a db field with urlencoded data in it. ------------ if not rs.eof then...
0
by: Yifan | last post by:
Hi I want to use UrlDecode() in C++. I have a Win32 Visual C++ (.NET) project #using <mscorlib.dll #using <System.dll #using <System.Web.dll using namespace System using namespace...
1
by: Joăo Santa Bárbara | last post by:
hi all is there any replace for the System.Web.HttpUtility.UrlDecode to windows forms ... thks JSB
5
by: Yifan | last post by:
Hi I want to use UrlDecode() in C++. I have a Visual C++ (.NET) Win32 project #using <mscorlib.dll #using <System.dll #using <System.Web.dll using namespace System using namespace...
4
by: John Hoge | last post by:
Hi, I need to UrlDecode a string in a simple console application, but I am having trouble accessing Server.UrlDecode, even though System.Web is included. The application pulls a text out of a...
6
by: John Grandy | last post by:
Does Server.URLDecode() need to be applied to Request.QueryString(<key name>) ?
10
by: Alex | last post by:
Hi, I UrlEncode a value that I put in my querystring. This value originally contains the character "č", which is UrlEncoded to "%E8". When I try to read the value from the querystring, I find...
1
by: fjm67 | last post by:
I see Google edited my email address. Lets try this. captonline at yahoo dot com Can you guys help me out please? I need to implement urldecode into a php script and don't know how. Here is...
20
by: gert | last post by:
This based on a example i found at http://www.cs.tut.fi/~jkorpela/ forms/cgic.html #include <fcgi_stdio.h> #include <stdlib.h> int urldecode(char *src, char *last, char *dest){ int code;...
3
by: gert | last post by:
Anybody can tell me what i need to import to make urlDecode() work in python2.5 please. import urllib urllib.urlDecode(post) #doesn't exist urllib.urldecode(post) #doesn't exist...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.