|
-
Dec 14th, 2006, 08:08 AM
#1
Thread Starter
Addicted Member
[RESOLVED] [2005] Removing enterkey char from string
I'm developing a program that has to access and add files and folders from Internet Explorer's favorites folder.The problem is that there's more information in the string that is need, This is the full string
http://www.microsoft.com/isapi/redir...er=6&ar=CLinks
Modified=C0224780EF1AC7017A
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
i need to get the link on it's own without the rest of the info
Here's the code i'm using to try get it but something's wrong
VB Code:
Dim EnterKey As String = ChrW(Keys.Enter)
If String.Compare(fUrl.Substring(0, fUrl.Length), EnterKey) Then
i = fUrl.IndexOf(CInt(Val(EnterKey)))
If i <> -1 Then
fUrl = fUrl.Substring(0, i)
End If
But instead of getting me the link on it's own, it gives me this instead
http://www.microsoft.com/isapi/redir...er=6&ar=CLinks
Modified=C
Can anyone help me?
Redmo
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
|