Results 1 to 4 of 4

Thread: Is there a way to modify a shortcut file's TARGET through VB code?

  1. #1
    Guest
    Here is the scenario, each of my users has a shortcut, this shortcut triggers one of my Access applications. Within the shortcut property, I manually added the location of my Access program, workgroup file, user name and password. This way the user doesn't need to log on manually to the my program.

    I am done with our annual changes for this program and I am ready to implement it. There are about 40 users using it. I was thinking create a small executable file in VB so once the user run the executable, it will copy the new access program file from our server to their local hard drives. However, I was hoping to change their existing shortcut property as well, Is there a way I could do this? Thanks!

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008

    Unhappy APIs to the rescue...

    Bet there is an API for it - Ask Yonatan...

    Seriously, I think there is an API call to do it - there is a list at http://vbapi.com/ref/funca.html

    Cheers,

    Paul.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  3. #3
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Maybe this post'll help ya and otherwise ask MerryVip, he's doing the same thing I believe

    http://forums.vb-world.net/showthrea...threadid=36718
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  4. #4
    Guest
    Thanks for the link. I think I can work something out with the ShiellLink program.

Posting Permissions

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



Click Here to Expand Forum to Full Width