DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Append a line in VB Script File in Diadem9.0

I am trying to append a line into a VBS Script file(opened in script panel) of Diadem9.0 through another script file. I am using the command Opentextfile(WriteLine)/Filewriteln command. The line gets appended as an unicode characters.(kind of minute rectangles) Please suggest me a solution to this.
0 Kudos
Message 1 of 2
(3,136 Views)
Hi,

In DIAdem 9 you can specify whether to use Unicode or Ascii in the new commands for text handling:

Function: TextFileOpen(Argument1,Argument2)
Argument1 Text with path, name, and extension of the text file.
Argument2 Attribute which opens the file. You can connect logically various attributes. (eg.
TfANSI Specifies that DIAdem codes a text file in ANSI or
TfUNICODE Specifies that DIAdem codes a text file in UNICODE.

I hope this will help you

Greetings

Walter Rick
0 Kudos
Message 2 of 2
(3,136 Views)