ShellExecute missing under Shell Controls And Automation

amr_wafaamr_wafa Member Posts: 23
Hi all,

I'm facing a strange issue here. Im using NAV 2009 with Windows XP.

Requirement came from one client where they want automatically to print a file @ the time of posting Purchase Order. Initially I wrote the code in Windows7 were it worked fine, but while testing in XP one method under 'Microsoft Shell Controls And Automation'.Shell was missing which is ShellExecute.

As per Microsoft this function is available for Windows XP, I even used a software called DLL Export View to check whether the Shell32.dll includes this method or not, it was there!

So the problem is NAV when I created this variable:

Name DataType Subtype
ShellAutomation Automation 'Microsoft Shell Controls And Automation'.Shell

The method ShellExecute (among others) is missing!

Any body had a similar problem before? Please help.

Thanks.
Sign In or Register to comment.