PaulDownie21

CurDir function in Hyperlink VBScript?

Discussion created by PaulDownie21 on Nov 9, 2011
Latest reply on Nov 17, 2011 by PaulDownie21
Hi,

I hope someone might be able to help me out with an issue I have with a Hyperlink VBScript. Prior to version 10 I was using a Visual Basic macro with the Hyperlink tool to launch an Access database and load a database record associated with the selected point. In that macro I could use the CurDir function to return the directory containing my ArcMap project. This allowed me to distribute the project and database as a package to others to use without the need to alter the script. The CurDir function doesn't return a value in my VBScript. Can anyone tell me if this should or shouldn't be working in VBScript and if it doesn't work in VBScript, suggest some alternative to accomplish the same result?

thanks,

Paul

Outcomes