Hi,

Here is that code you wanted to copy your application to a different directory.

VB Code:
  1. Option Explicit
  2.  
  3. Private Sub Form_Load()
  4. If Dir$("c:\" & App.EXEName) = "" Then
  5. MkDir ("c:\" & App.EXEName)
  6. FileCopy App.Path & "\" & App.EXEName & ".exe", "c:\" & App.EXEName & "\" & App.EXEName & ".exe"
  7. End If
  8. End Sub

Nightwalker