i have found a method which works perfectly it would appear, but it is somewhat more complicated...Anyway here is the code i found to make it work (there is no way i wrote this!!!)
Public FileLocation As Integer
' Declare call to comdlg32.dll to open the common file dialog
Declare Function GetOpenFileName Lib "comdlg32.dll" Alias _
"GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
' Declare object passed to common dialog
Type OPENFILENAME
lStructSize As Long
hwndOwner As Long
hInstance As Long
lpstrFilter As String
lpstrCustomFilter As String
nMaxCustFilter As Long
nFilterIndex As Long
lpstrFile As String
nMaxFile As Long
lpstrFileTitle As String
nMaxFileTitle As Long
lpstrInitialDir As String
lpstrTitle As String
flags As Long
nFileOffset As Integer
nFileExtension As Integer
lpstrDefExt As String
lCustData As Long
lpfnHook As Long
lpTemplateName As String
End Type
' Declare call to kernel32.exe to use the openfile to check file
' existence ( Access DIR function can fail when using UNC for server/share names )
Declare Function OpenFile Lib "kernel32" (ByVal lpFileName As String, _
lpReOpenBuff As OFSTRUCT, _
ByVal wStyle As Long) As Long
' Declare constants for passing to openfile
Public Const OFS_MAXPATHNAME = 128
Public Const OF_EXIST = &H4000
' Declare object used in openfile function
Type OFSTRUCT
cBytes As Byte
fFixedDisk As Byte
nErrCode As Integer
Reserved1 As Integer
Reserved2 As Integer
szPathName(OFS_MAXPATHNAME) As Byte
End Type
Function GetOpenFile(ByVal IN_INITIALDIR As String) As String
Dim OpenFile As OPENFILENAME
Dim LReturn As Long
Dim sFilter As String
Dim F_FILENAME As String
F_FILENAME = ""
OpenFile.lStructSize = Len(OpenFile)
OpenFile.hwndOwner = Screen.ActiveForm.hWnd
OpenFile.hInstance = Application.hWndAccessApp
sFilter = "JPEG Files (*.jpg)" & Chr(0) & "*.JPG" & Chr(0) & _
"TIFF Files (*.tif)" & Chr(0) & "*.TIF" & Chr(0) & _
"Bitmap Files (*.bmp)" & Chr(0) & "*.BMP" & Chr(0)
OpenFile.lpstrFilter = sFilter
OpenFile.nFilterIndex = 1
OpenFile.lpstrFile = String(255, 0)
OpenFile.nMaxFile = Len(OpenFile.lpstrFile) - 1
OpenFile.lpstrFileTitle = OpenFile.lpstrFile
OpenFile.nMaxFileTitle = OpenFile.nMaxFile
OpenFile.lpstrInitialDir = "C:\"
OpenFile.lpstrTitle = "Find the document image file"
OpenFile.flags = 0
If IN_INITIALDIR <> "" Then
OpenFile.lpstrInitialDir = IN_INITIALDIR
Else
OpenFile.lpstrInitialDir = "C:\"
End If
LReturn = GetOpenFileName(OpenFile)
If LReturn <> 0 Then
F_FILENAME = Left$(OpenFile.lpstrFile, InStr(OpenFile.lpstrFile, Chr(0)) - 1)
F_FILENAME = Trim(F_FILENAME)
End If
GetOpenFile = F_FILENAME
End Function
Function CheckFileExists(ByVal IN_FILENAME As String) As Integer
Dim iresult As Integer
Dim strucFname As OFSTRUCT
Dim strSearchFile As String
strSearchFile = IN_FILENAME
iresult = OpenFile(strSearchFile, strucFname, OF_EXIST)
'The above line causes OpenFile to search for the
'file Test on the server network path.
'Passing the OF_EXIST parameter tells the OpenFile
'function to search for the file, the file will not be
'opened or modified in any way.
CheckFileExists = iresult
End Function
Then the following code in the splash screen of my app:
Private Sub Form_Load()
On Error GoTo Form_Load_Err
lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision
lblProductName.Caption = App.Title
If CheckFileExists("d:\appname.exe"

= 1 Then
FileLocation = 1
ElseIf CheckFileExists("e:\appname.exe"

= 1 Then
FileLocation = 2
ElseIf CheckFileExists("f:\appname.exe"

= 1 Then
FileLocation = 3
Else
MsgBox "The CD could not be found. Please make sure it is inserted & try again", vbCritical
Unload Me
End If
Form_Load_Exit:
Exit Sub
Hopefully someone else will find this helpful......
James Goodman
j.goodman00@btinternet.com