Results 1 to 4 of 4
  1. #1
    Silver Lounger GARYPSWANSON's Avatar
    Join Date
    Aug 2001
    Location
    Frederick, Maryland, USA
    Posts
    1,788
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Referencing UNC (A2K SR1)

    Our IT staff recently changed the way our drives are mapped to using UNC Codes. Of course, this has caused some of our apps to stop working.....

    Anyway, prior to the change to UNC Codes, the following statement was used to launch an executable on the W drive.

    RETVAL = Shell("W:MPMDDF.EXE", 1)

    However, the W drive no longer exists. It is now, dprtdc03winmpmprojectsmpm_projmaster
    ... But the MPMDDF.exe that I need to launch is at dprtdc03winmpm

    I tried to launch the executable as
    RETVAL = Shell("dprtdc03WINMPMMPMDDF.EXE", 1), but of course, this doesn't work. I get a runtime error 5, invalid procedure call or argument.

    Anyone have any ideas on how to get this to work??

    Thanks
    Regards,

    Gary
    (It's been a while!)

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Referencing UNC (A2K SR1)

    The first thing you need to do is to go to Network Neighborhood to see if dprtdc03WINMPM exists and whether it allows you access to it.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    Silver Lounger GARYPSWANSON's Avatar
    Join Date
    Aug 2001
    Location
    Frederick, Maryland, USA
    Posts
    1,788
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Referencing UNC (A2K SR1)

    Thanks Mark,

    I already went that route and determined that dprtdc03winmpm does not exist. (Thus my problem) I have to attach to a NetLogon file to attach to a terminal server before I can access the files. I am waiting for our IT staff to send a response to my question (posted above).

    Thanks
    Regards,

    Gary
    (It's been a while!)

  4. #4
    Silver Lounger GARYPSWANSON's Avatar
    Join Date
    Aug 2001
    Location
    Frederick, Maryland, USA
    Posts
    1,788
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Referencing UNC (A2K SR1)

    ... to close the loop on this. The problem was that our IT staff changed the needed UNC code and did not let us know of the change. Once the correct UNC reference was used, the code executed properly when I thought I coded it incorrectly.
    Regards,

    Gary
    (It's been a while!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •