hi
I am
not very sure as to what are u trying to do but
look
at the aot import form and see how the browse button works. Then send your
parameters but instead of sending just the extension for eg *.xpo send the full
filename i.e. filename.xpo. This should work
regards
harry
-----Original Message-----
From: Mikael Dalg�rd [mailto:[EMAIL PROTECTED]
Sent: Monday, April 26, 2004 3:58 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Open directory with AX codesHi allFrom DOS I can use this parameter to open a directory "explorer C:\dirname". Does anybody know how I can open a directory with Axapta codes.I have tried with this:void clicked()
{
str vItemName;
SMM_CustTable PrefTable;PrefTable = SMM_CustTable_DS.cursor();
if (PrefTable)
{
vItemName = ' ' + xinfo::directory(directoryType::Appl);
vItemName = vItemName + 'SMMArchive\\' + PrefTable.SMM_ID;
winapi::shellExecute('explorer.exe ' + vItemName);
}
super();
}Best regardsMikael Dalg�rd
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.

