×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How do you create a txt file through catvba and not catscript or vbscript?

How do you create a txt file through catvba and not catscript or vbscript?

How do you create a txt file through catvba and not catscript or vbscript?

(OP)
Hi I tried the help feature of catia vba but the procedure it gives is for scripting. So I cant get past the error saying the automation object does not exist. Is there another way for creating a text file through catvba instead of script? Also I still want to learn how to script, so in tools\references\ of the visual basic window of catia, what references do I have to activate to be able to write catscript routines?

Thanks,

RE: How do you create a txt file through catvba and not catscript or vbscript?

(OP)
Thanks ferdo.

RE: How do you create a txt file through catvba and not catscript or vbscript?

Quote (ruky)

So I cant get past the error saying the automation object does not exist

where does that automation object is from? Did you start a script/VBA or did you get it from a file?

Eric N.
indocti discant et ament meminisse periti

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources