Thx a lot for this wonderful help
Regards::
Shruti Jain
Euroinfo Systems Pvt. Ltd.
C-126, Sector - 2
Noida - 201301 (U.P.)
Phone :- +91-120-2520414
----- Original Message -----
From: Jacob Hjelmer Nielsen
To: [email protected]
Sent: Monday, February 07, 2005 5:54 PM
Subject: RE: [development-axapta] To Open any file
----------------------------------------------------------------------
email-body was scanned and no virus found
---------------- Virus Warning Message (on india.euroinfosys.com)-----------------------------
------------------------------------------------------------------------------
You can access Word/Excel etc. through COM, please see the example below:
COM comAppl;
COM comDocuments;
COM comDocument;
COM comRange;
#define.Word('Word.Application')
#define.Normal('Normal.dot')
comAppl = COM::getObject(#Word);
if (! comAppl)
comAppl = new COM(#Word);
comAppl.visible(true);
comDocuments = comAppl.documents();
comDocument = comDocuments.add(#Normal);
comRange = comDocument.range();
comRange.insertAfter("Some text written from Axapta");
comDocument.saveAs("MyDocument",0,false,'',false);
comDocument.close();
:-J
Systemdeveloper
Jacob Hjelmer
Thy Data Center Development A/S
S�vej 13b
DK-3460 Birker�d
Denmark
Phone : +45 96 170 470
Fax : +45 45 824 544
URL : http://development.thydatacenter.dk/ <blocked::http://development.thydatacenter.dk/>
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
________________________________
From: Shruti [mailto:[EMAIL PROTECTED]
Sent: 7. februar 2005 06:30
To: [email protected]
Subject: [development-axapta] To Open any file
----------------------------------------- (on india.euroinfosys.com)
email-body was scanned and no virus found
email-body was scanned and no virus found
---------------------------------------------------------
----------
Is there any method that can help me to open any kind of file say MS- word or excel file thru Axapta?
Wht if I have to write data to this file.
Regards::
Shruti Jain
Euroinfo Systems Pvt. Ltd.
C-126, Sector - 2
Noida - 201301 (U.P.)
Phone :- +91-120-2520414
[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
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
----------
email-body was scanned and no virus found
email-body was scanned and no virus found
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
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]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

