Results 1 to 5 of 5

Thread: [RESOLVED] Getting an Error - Be Gentle, I'm Rusty!

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    22

    Re: Getting an Error - Be Gentle, I'm Rusty!

    Code:
    Public Sub LoadFile(ByVal fileInFolder)
    any reason you're not passing fileInFolder as type IO.FileInfo?

    then you could get the creation time using the following

    Code:
    fileInFolder.CreationTime

  2. #2

    Thread Starter
    Fanatic Member The_Grudge's Avatar
    Join Date
    Jan 2005
    Location
    Canada
    Posts
    836

    Re: Getting an Error - Be Gentle, I'm Rusty!

    Quote Originally Posted by morethantoast View Post
    Code:
    Public Sub LoadFile(ByVal fileInFolder)
    any reason you're not passing fileInFolder as type IO.FileInfo?

    then you could get the creation time using the following

    Code:
    fileInFolder.CreationTime
    The reason was pure oversight. That's better.

    Thanks MTM.

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