|
-
Jul 21st, 2010, 10:04 PM
#1
Thread Starter
New Member
-
Jul 21st, 2010, 10:28 PM
#2
Re: 2 questions!
For 1, Search the forum (and/or Google) for an URL Decode function.
For 2, search the forum for "move borderless form"
-
Jul 21st, 2010, 10:36 PM
#3
Thread Starter
New Member
Re: 2 questions!
 Originally Posted by baja_yu
For 1, Search the forum (and/or Google) for an URL Decode function.
For 2, search the forum for "move borderless form"
ok will do thanks
-
Jul 22nd, 2010, 12:18 AM
#4
Thread Starter
New Member
Re: 2 questions!
ok i searched and found this
vb Code:
Public Function urldecode(sText As String) As String Dim sTemp As String Dim sAns As String Dim sChar As String Dim lctr As Long For lctr = 1 To Len(sText) sChar = Mid$(sText, lctr, 1) If sChar = "+" Then Mid$(sText, lctr, 1) = " " ElseIf sChar = "%" Then the_code1 = Mid$(sText, lctr + 1, 2) the_code = "&H" & the_code1 convert_to = Chr(Val(the_code)) sText = Replace(sText, "%" & the_code1, convert_to) End If Next urldecode = sText End Function
but sadly it did not fix my problem for the URL decode its still the same problem as in the picture for question #1
-
Jul 22nd, 2010, 12:38 AM
#5
Addicted Member
Re: 2 questions!
Hi,
After Populating the list, run this code:
vb Code:
Dim i As Integer
For i = 0 To List1.ListCount-1
List1.List(i) = Replace(List1.List(i), "%20", " ")
Next
Regards
Veena
-
Jul 22nd, 2010, 12:57 AM
#6
Thread Starter
New Member
Re: 2 questions!
 Originally Posted by VeenaMG
Hi,
After Populating the list, run this code:
vb Code:
Dim i As Integer
For i = 0 To List1.ListCount-1
List1.List(i) = Replace(List1.List(i), "%20", " ")
Next
Regards
Veena
Thank you it worked great
-
Jul 22nd, 2010, 08:23 AM
#7
Re: [RESOLVED] 2 questions!
That will only decode the Space character. There could be other special characters that get coded in an URL that you will need to decode.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|