--- In [EMAIL PROTECTED], "Holger K. Pedersen" <[EMAIL PROTECTED]> wrote:
You can use TextBuffer class or BinData class, which are easy touse.
append to
static void FileTestJob(Args _args) { TextBuffer tb; BinaryIo bio; BinData bd;
tb = new TextBuffer(); tb.setText("some text"); print tb.getText();
bd = new BinData(); bd.setStrData("Axapta"); bd.saveFile(@"C:\kilroy.txt"); pause; bd.loadFile(@"C:\kilroy.txt"); bd.setStrData("Hello, " + bd.getStrData()); bd.saveFile(@"C:\kilroy.txt");
tb.setText(""); // If you forget this one, the fromFile() will
findthe current textbuffer. tb.fromFile(@"C:\kilroy.txt"); print tb.getText(); }
I'll hope this is useful.
>From: "volkankaraboga" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [development-axapta] creating and writing a file
>Date: Thu, 11 Dec 2003 10:07:19 -0000
>
>Hi all...
>
>I want to create and write a txt file through axapta but I cant
http://messenger.msn.dk/>any function about this. >How can I do this? or can I do this with using axapta? >thanks your advise... >
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger
Yahoo! Groups Sponsor ADVERTISEMENT
click here
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

