Results 1 to 5 of 5

Thread: Creating / editing Shortcuts with VB

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 1999
    Location
    Caracas, Miranda, Venezuela
    Posts
    69

    Post

    I got your answer send me to :
    [email protected] your e-mail address to send to you and attachment whith a .VBP

    ------------------


  2. #2
    New Member
    Join Date
    Feb 2000
    Location
    Canterbury,Kent,UK
    Posts
    8

    Post

    I'm having big trouble with creating shortcuts using VB6.... I can create a shortcut on the startmenu using OSfCreateShellLink(VB6STKIT.DLL) and that works fine... except...

    I need to be able to

    i) specify a different icon other than the default on the exe and
    ii) to specify a different working directory instead of the exe's path

    CreateShellLink doesn't seem to have parameters for this so does anyone know how to either

    a) create a shortcut in a way that allows the above
    b) change a shortcut after creation


    Why couldn't they have just used text files?

  3. #3
    New Member
    Join Date
    Feb 2000
    Location
    Canterbury,Kent,UK
    Posts
    8

    Post

    Sorry, i should have been a bit more specific...

    I need to be able to create a shortcut with a different icon and working directory to that of the exe...

    Neither OSfCreateShellLink or the work-around using the recent documents folder will do this.

    Anyone got any ideas?

  4. #4
    New Member
    Join Date
    Jun 1999
    Posts
    15
    Check out http://www.planet-source-code.com/vb...xtCodeId=7349.
    There is code from the VB6 Pro CD that creates shortcuts.
    This will let you specify the working directory, icon source & index.

  5. #5
    New Member
    Join Date
    Mar 2000
    Location
    Quito, Pichincha, Ecuador
    Posts
    9
    you can try in
    http://www.thescarms.com/VBasic/ShellLnk.htm

    There is an example there that you can analize,

    Marco.

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