Yanıt how to amend this code?

  • 20 Ağustos 2012 Pazartesi 23:18
     
      Kod İçerir

    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

Tüm Yanıtlar