Results 1 to 2 of 2

Thread: SHORTCUTS AGAIN! : )

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    68

    Wink

    Hi all,

    Thanks for your replies regarding the shortcut question.

    However, I am still unable to achieve what I origionaly
    set out to do... : (

    Ok, let me explain it again.

    I am writing an installation program, in vb, that will
    install several files etc. The location of these files
    vary.

    Once the files are installed I need my program to create
    shortcuts to the newly installed exe's. (Ok simple enough
    just use the shellcreatelink API)

    Well not quite because I need to specify the 'Start In' dir
    of these shortcuts. To clarify what I mean by the 'Start In'
    dir I mean the location where the executable will actually
    be started.

    Or to put it another way, go into the properties of any shortcut you have, go to the 'Shortcut' tab, and look at the 'Start In' section. (I think this section may be called 'Working Dir' on NT).

    Ok so basicly I need to daynamicly set up shortcuts, spoecifying their target and START IN!!!


    ANY IDEAS?????????
    THE DOUGSTER!!!!!!


    *-MCSD-*

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    WEll, the Statup directory is the last thing written in the lnk file so it shouldn't be hard to change that. But it seems like it put's nullchars after each char so it's probably written in unicode
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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