Results 1 to 13 of 13

Thread: [RESOLVED] Directory

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Posts
    31

    Resolved [RESOLVED] Directory

    Can anyone help me?


    1. How can I get the directory / folder for desktop?
    If I want to make a program that write a .txt file directly to the desktop, how can I get the desktop folder so that when the program is copied to another computer, I won't have to change the directory again and again? (Without using commondialog control or browsing for the folder)


    2. And also, for the same case, how can I get the directory of the startup menu. I want to copy a file to the startup menu that will enable the computer to start the program every time the computer is started.

    3. How can I know (how to check) whether a file exists or not. e.g. I want to write a .txt file, but before creating (writing) the file, I want to check whether the file exists or not.


    Thanks.
    Last edited by Hack; Apr 20th, 2006 at 06:05 AM. Reason: Added [RESOLVED] to thread title and green "resolved" checkmark
    The only thing for the triumph of evil is for a good man to do nothing

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