Results 1 to 6 of 6

Thread: click and open ?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Post

    hi folks!

    most programs have a special code, so that if you click on a file in (e.g.) the explorer, the program + (!) the file opens. i want my program to do that, but i don't know how....

    please help...

    alex

  2. #2
    Lively Member
    Join Date
    Jan 2000
    Posts
    76

    Post

    Try the tree control or List control in vb6

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Post

    i think you got a wrong meaning of my message.
    example:
    you have a .doc file on a floppy. on your computer you have installed word. you click on this file on the floppy (in mycomputer, or in the explorer, or in "run",...)
    word opens and displays the file.
    if i link several files(-types) with my program, it opens, but i dont know the code that is required that the program opens the file you clicked automaticaly.

  4. #4
    Junior Member
    Join Date
    Jan 2000
    Location
    Bryan, Texas
    Posts
    27

    Post

    I probably shouldn't suggest that you ask someone whom I myself don't know.... But if I remember right "KENNNY" was a member of a group(cintel) that was making a Windows Shell replacement.... He (or somone in his group) would have to have written some code like that..... Hopefully I'm naming the right person.... If not, sorry.

    ------------------
    Mitchell Hayenga
    [email protected]

    [This message has been edited by mhayenga (edited 02-10-2000).]

  5. #5
    Hyperactive Member
    Join Date
    Jun 1999
    Posts
    308

    Post

    Suggestion;

    1.Your installer must set file(extention) association in the registry. It will call for your programm when the file is clicked.

    2.You should pass the extention of the file to your programm as a parameter (if you are going to deal with multiple tipes of files).


  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    chicago (hope)
    Posts
    146

    Post

    thanx

    i created an entry in the registry but i don't know the code i need, so that my program is able to get the variable, in that the file is saved.....

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