4 Replies Latest reply on Nov 13, 2008 7:25 PM by (Mark_Elsner)

    Relink syntax - VB - CS4

      I just upgraded to CS 4 and I am going through and updating my scripts. I have a script that goes through text boxes and updates the links to a new path. I keep getting an error when I relink.

      syntax example....

      'This is how I define what link I want to relink
      myLink = myTextFrame.ParentStory.ItemLink
      strLink = "C:\1-Setup...." 'Path goes here
      myLink.Relink(strLink)
      myLink.Update()

      This used to work fine is CS2. Is there something I am doing wrong?

      Thanks in advance