Hi

You don't have to use winapi.

You could use TextBuffer class like this:

    textbuffer  tb = new textbuffer();
    ;
    tb.appendText('my text');
    tb.toFile('C:\MSB\Itemdefinitions.txt');

or asciio class like this:

    filename    filename = "c:\\temp\\jdxtest.txt";
    asciiio     a = new asciiio(filename,'w');
    ;
    a.write("my text");
    a = null;


   


________________________________

Fra: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] På vegne af Huseyin Akdag
Sendt: 20. april 2005 12:27
Til: development-axapta@yahoogroups.com
Emne: [development-axapta] Creating a text file in Axapta ????



Hello,



How Can I create a text file  into a specified Folder  (for example
C:\MSB\Itemdefinitions.txt)  in  Axapta with a simple Context? I took a look
to  Winapi class. But I couldn't find how to set  a path  for the file..

Does anyone have an Example?



Thanks & Regards

Huseyin





[Non-text portions of this message have been removed]






________________________________

Yahoo! Groups Links


*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]






Yahoo! Groups Links

Reply via email to