D David W Jul 29, 2005 #1 How would you use object.RootDrive I am trying to determine what drive a specific file is installed on.
How would you use object.RootDrive I am trying to determine what drive a specific file is installed on.
D David W Jul 29, 2005 #2 I got it with by inserting this procedure Private Sub loadimage100(filespec) Dim fs, f, s, t Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile(filespec) s = UCase(f.Drive) t = s & (filespec) Me.Image100.Picture = t End Sub then call the procdure
I got it with by inserting this procedure Private Sub loadimage100(filespec) Dim fs, f, s, t Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile(filespec) s = UCase(f.Drive) t = s & (filespec) Me.Image100.Picture = t End Sub then call the procdure