Results 1 to 6 of 6

Thread: Creating automatic log file folder

Hybrid View

  1. #1
    Hyperactive Member
    Join Date
    Mar 2001
    Posts
    485

    Re: Creating automatic log file folder

    vb Code:
    1. Dim szTmpPath As String = System.IO.Path.Combine(Application.StartupPath, "Log")
    2.  
    3. Dim dirInfo As New System.IO.DirectoryInfo(szTmpPath)
    4.  
    5. '   if folder not exist, create
    6. If Not dirInfo.Exists Then dirInfo.Create()

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Sep 2009
    Posts
    29

    Re: Creating automatic log file folder

    Hi guys,

    Thanks for ur help..
    Actually this system is migration from vb6 to vb.net..

    I just enhanced it from the previous source cord..

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