VB6 My Documents

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DGolfer

    #1

    VB6 My Documents

    How do I get a Dir list box to start up in "My Documents". Keeping in mind
    that I want it to do so on all machines where the user will have a different
    name.

    Thanks


  • Randy Birch

    #2
    Re: VB6 My Documents

    You have to use either SHGetFolderPath or SHGetSpecialFol derLocation. See
    http://vbnet.mvps.org/code/browse/csidl.htm or


    --

    Randy Birch
    MS MVP Visual Basic


    Please reply to the newsgroups so all can participate.




    "DGolfer" <trevr62@gmail. com> wrote in message
    news:7sqQf.3064 $dy4.1375@news-server.bigpond. net.au...
    How do I get a Dir list box to start up in "My Documents". Keeping in mind
    that I want it to do so on all machines where the user will have a different
    name.

    Thanks


    Comment

    Working...