Click here to Skip to main content
16,005,734 members
Home / Discussions / C#
   

C#

 
AnswerRe: itextsharp font question for pdf Pin
Luc Pattyn8-Jun-11 5:22
sitebuilderLuc Pattyn8-Jun-11 5:22 
GeneralRe: itextsharp font question for pdf Pin
gavindon8-Jun-11 6:12
gavindon8-Jun-11 6:12 
QuestionAutoSizeMode = Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. [modified] Pin
Zadbuke8-Jun-11 0:53
Zadbuke8-Jun-11 0:53 
AnswerRe: AutoSizeMode = Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. Pin
Luc Pattyn8-Jun-11 1:48
sitebuilderLuc Pattyn8-Jun-11 1:48 
QuestionSending HttpWebRequest with a Unicode string Pin
ShadowUz7-Jun-11 18:58
ShadowUz7-Jun-11 18:58 
AnswerRe: Sending HttpWebRequest with a Unicode string Pin
Peter_in_27807-Jun-11 21:30
professionalPeter_in_27807-Jun-11 21:30 
AnswerRe: Sending HttpWebRequest with a Unicode string Pin
BobJanova7-Jun-11 23:20
BobJanova7-Jun-11 23:20 
GeneralRe: Sending HttpWebRequest with a Unicode string Pin
ShadowUz9-Jun-11 16:20
ShadowUz9-Jun-11 16:20 
Thank you for the answer.

Yes. You are right.

I could have encoded the Unicode characters and URL using HttpUtility.UrlEncode Method.
But the problem is, it is implemented only in .Net 4.0, but unfortunately, I'm writing my program in .Net 3.5 do to the compatibility with "a little bit old OSs" with older versions of .Net.

Still did not find a proper solution.


That was totally wrong.


I tried to use HttpUtility.UrlPathEncode(str) method directly without adding reference to the System.Web Namespace in project's properties:
...
using System.Web;
...
string convertedPath=HttpUtility.UrlPathEncode(path);
...


And after adding reference, I did like this:
...
string convertedPath=System.Web.HttpUtility.UrlPathEncode(path);
...

and it worked.

Thank you guys!
QuestionExecuting a delegate from one class and project to another [modified] Pin
MAW307-Jun-11 14:02
MAW307-Jun-11 14:02 
AnswerRe: Executing a delegate from one class and project to another Pin
DaveyM697-Jun-11 14:12
professionalDaveyM697-Jun-11 14:12 
GeneralRe: Executing a delegate from one class and project to another Pin
MAW307-Jun-11 14:35
MAW307-Jun-11 14:35 
AnswerRe: Executing a delegate from one class and project to another Pin
PIEBALDconsult7-Jun-11 15:31
mvePIEBALDconsult7-Jun-11 15:31 
GeneralRe: Executing a delegate from one class and project to another [modified] Pin
MAW307-Jun-11 15:52
MAW307-Jun-11 15:52 
GeneralRe: Executing a delegate from one class and project to another [modified] Pin
PIEBALDconsult7-Jun-11 17:34
mvePIEBALDconsult7-Jun-11 17:34 
GeneralRe: Executing a delegate from one class and project to another Pin
MAW307-Jun-11 20:48
MAW307-Jun-11 20:48 
GeneralRe: Executing a delegate from one class and project to another Pin
PIEBALDconsult8-Jun-11 2:31
mvePIEBALDconsult8-Jun-11 2:31 
QuestionHelp reading window titles and text in c sharp Pin
turbosupramk37-Jun-11 6:15
turbosupramk37-Jun-11 6:15 
AnswerRe: Help reading window titles and text in c sharp Pin
SledgeHammer017-Jun-11 7:32
SledgeHammer017-Jun-11 7:32 
GeneralRe: Help reading window titles and text in c sharp Pin
turbosupramk37-Jun-11 11:05
turbosupramk37-Jun-11 11:05 
GeneralRe: Help reading window titles and text in c sharp Pin
SledgeHammer017-Jun-11 11:44
SledgeHammer017-Jun-11 11:44 
AnswerRe: Help reading window titles and text in c sharp [modified] Pin
DaveyM697-Jun-11 10:14
professionalDaveyM697-Jun-11 10:14 
GeneralRe: Help reading window titles and text in c sharp Pin
turbosupramk37-Jun-11 11:00
turbosupramk37-Jun-11 11:00 
GeneralRe: Help reading window titles and text in c sharp Pin
DaveyM697-Jun-11 11:25
professionalDaveyM697-Jun-11 11:25 
GeneralRe: Help reading window titles and text in c sharp Pin
Pete O'Hanlon7-Jun-11 11:38
mvePete O'Hanlon7-Jun-11 11:38 
GeneralRe: Help reading window titles and text in c sharp Pin
DaveyM697-Jun-11 11:54
professionalDaveyM697-Jun-11 11:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.