Hi
all
From 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;
{
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();
}
if (PrefTable)
{
vItemName = ' ' + xinfo::directory(directoryType::Appl);
vItemName = vItemName + 'SMMArchive\\' + PrefTable.SMM_ID;
winapi::shellExecute('explorer.exe ' + vItemName);
}
super();
}
Best
regards
Mikael 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.

