1 Replies - 917 Views - Last Post: 08 October 2012 - 03:41 AM Rate Topic: -----

#1 kentlucky  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 67
  • Joined: 20-June 12

My.Computer.FileSystem variable not defined

Posted 08 October 2012 - 03:22 AM

Hi guyz
I put this code in my progam
If My.Computer.FileSystem.DirectoryExists("C:\MyNewDatabase.mdb") Then
  logDirectoryProperties = My.Computer.FileSystem.GetDirectoryInfo("C:\MyNewDatabase.mdb")
End If


And I've got an compiler error: Variable not defined.
Can u tell me if what is the missing codes here or what should I do? Thanks guys :bigsmile:

Is This A Good Question/Topic? 0
  • +

Replies To: My.Computer.FileSystem variable not defined

#2 DimitriV  Icon User is offline

  • They don't think it be like it is, but it do
  • member icon

Reputation: 583
  • View blog
  • Posts: 2,738
  • Joined: 24-July 11

Re: My.Computer.FileSystem variable not defined

Posted 08 October 2012 - 03:41 AM

1: this looks like VB.Net, but I'm not too sure.
2: the only variable there is the logDirectoryProperties variable. Please show us where you declare this particular variable…
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1