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:
  1. Dim EnterKey As String = ChrW(Keys.Enter)
  2.                     If String.Compare(fUrl.Substring(0, fUrl.Length), EnterKey) Then
  3.                        
  4.                         i = fUrl.IndexOf(CInt(Val(EnterKey)))
  5.                         If i <> -1 Then
  6.                             fUrl = fUrl.Substring(0, i)
  7.                         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