• VB scripting (WD2000)

    Author
    Topic
    #411460

    I am working on a scripting utility. I am using the file system object to gather information on files and directories. Basically I’m populating a list box with a custom VBA created list of files and directories. What I need to do is open any file as needed pretty much as windows explorer would. But the scripting library shows only “Open as Text Stream” option (which basically won’t allow me to open a file associated to the proper application). Is there a way to get around this?. Thanks in advance

    Viewing 1 reply thread
    Author
    Replies
    • #892247

      You can use
      ActiveDocument.FollowHyperlink “file:path”
      where path is the complete path to the file, or you can use ShellExecute – see post 232065

    • #892248

      You can use
      ActiveDocument.FollowHyperlink “file:path”
      where path is the complete path to the file, or you can use ShellExecute – see post 232065

    Viewing 1 reply thread
    Reply To: VB scripting (WD2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: