Results 1 to 3 of 3

Thread: how to learn which file made my project run ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    ankara, turkey
    Posts
    14
    can you give an example ? i am not quite sure i understood it... and i am still open to any other suggestions...

  2. #2
    Hyperactive Member
    Join Date
    Jul 2000
    Location
    Halifax,UK
    Posts
    274
    start a new project with a textbox on it

    insert this code:


    Private Sub Form_Load()
    Text1.Text = Command
    End Sub

    and compile it


    then in windows you need to create an associtaition for a filetype

    eg. create a file called 'testfile.xyz' click on it and it will ask what program you wish to open it with..click other and find your program that you just compiled....make sure the always use this program for this filetype is checked...

    now whenever you click on a file of type .xyz it will open your program and the name of the file will be in the text box
    VB6 VS2005

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    ankara, turkey
    Posts
    14
    thank you very much chrisa it really works )

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