What is the equivalent of URLEncode in vb?<BR><BR>Thanks,<BR>jc
Found this.<BR>Maybe?<BR><BR>[Visual Basic]<BR>Overloads Public Shared Function UrlEncode( _<BR> ByVal str As String _<BR>) As String<BR><BR>str is the url string to encode...<BR>
...maybe he is talking about VB 6? Creating a DLL?<BR><BR>If so, then you just use Server.URLEncode, after getting the Server object from the Context object, from ASP.<BR>
Just saw [Visual Basic] at the top of it and assumed it was.<BR><BR>Just went back and read it again.<BR>Wasnt really to descriptive.
i believe that it's the same in vbScript as it is in vb.NET.<BR><BR>just call the URLEncode method of the Server object...<BR><BR>perhaps the problem is that he didn't specify the server object.