Window Explorer

JBHAMMERJBHAMMER Member Posts: 2
edited 2010-02-02 in NAV Three Tier
Good Morning Community,

I have a question how can i call the Windows Explorer from NAvision.

thx before

Greets
JBHAMMER

Comments

  • raven44raven44 Member Posts: 85
    A couple of ways I can think off-hand include:

    //If RTC is not being used
    SHELL('"C:\Windows\Explorer.exe"');
    

    //If RTC is being used
    Using the ‘Windows Script Host Object Model’.WshShell automation object.
    IF ISCLEAR (WSHShell) THEN
      CREATE(WSHShell,TRUE,TRUE);
    WSHShell.RUN(WSHShell.ExpandEnvironmentStrings('%windir%' + '\explorer.exe'));
    
  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    The latter will actually work in the classic as well.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Sign In or Register to comment.