Calling .js file from Visual Basic[Error]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maria80e
    New Member
    • Jan 2008
    • 12

    Calling .js file from Visual Basic[Error]

    I called the .js file through visual Basic for Adobe illustrator CS. Its working nice. But some times javascript runtime error occured. But if i run the .js file directly, it does not throws any error. Could you please advice me.

    code:
    Dim docref As Illustrator.Doc ument
    Dim appRef As New Illustrator.App lication
    appRef.DoJavaSc riptFile ("C:\HH.js")

    Thanks,
    Maria
Working...