RE: How to open picture using automation in NAV 2009R2
Hi Jonathan Archer,
Thank for your response.
Actually, Image is not accessed from item table...
....on the item card we added menu item =>ViewDrawing=>In ViewDrawing onpush trigger we called showpicture function(which has defined in item table).
In showpicture function code as follows
{
MfgSetup.GET;
ItemNo := "No.";
HYPERLINK(MfgSetup."Drawings Path" + FilterItemNo(ItemNo) + '.bmp');
}
where MfgSetup."Drawings Path" := \\Servername\NAV\Path\
This is Earlier Code...
Right now my issue is.........The picture is not existed in nav, it is accessed from external folder.
I could open using "'Microsoft Shell Controls And Automation'.Shell" automation variable.
I didn't find any method to fired when deletion occured in that autoamtion variable.
After opening image it's under os control.
So I need automation variable regarding Picture actions(open,save,delete) manageable.
If any automation variable existing like that...please let me know.
Thanks once again.