Answered how to amend this code?

  • Monday, August 20, 2012 11:18 PM
     
      Has Code

    hi all

     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Me.Timer1.Enabled = True
            If My.Application.CommandLineArgs.Count > 0 Then CIA(My.Application.CommandLineArgs(0))
            RegisterForAllFiles("""" & Application.ExecutablePath & """" & " ""%1""", "CIA")
           
    
        End Sub

    Iam using this code in my app to copy file's path on right click on its icons

    by veiwing its path in TextBox1 in my app form

    now how to hide my app form? so user when he click on any file dircktly my app send file's path to TextBox1 with out appearing any form to him

    couse I'll make anthor feature in my app to copy any file's path from TextBox1  to a text file stored in user's computer so he can know any files were opened when he was away from his computer

All Replies