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,
Thanks,





RE: How do you create a txt file through catvba and not catscript or vbscript?
You need Microsoft Scripting Runtime . With this you will no get that error.
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: How do you create a txt file through catvba and not catscript or vbscript?
RE: How do you create a txt file through catvba and not catscript or vbscript?
where does that automation object is from? Did you start a script/VBA or did you get it from a file?
indocti discant et ament meminisse periti