J
Jack Russell
Why doesn't the following code run acrobat?
It throws a file not found exception
Thanks
Dim s As String = sgAppPath + "TCW3Help.pdf"
Try
If Not File.Exists(s) Then
MsgBox("Cannot find " + s, MsgBoxStyle.Exclamation)
Else
s = """" + s + """"
Shell(s)
End If
Catch ex As FileNotFoundException
MsgBox("Unable to open Help file " + s + " check that
Acrobat is installed", MsgBoxStyle.Exclamation)
Catch ex As Exception
ReportBug(ex, "Trying to open help file " + s)
End Try
It throws a file not found exception
Thanks
Dim s As String = sgAppPath + "TCW3Help.pdf"
Try
If Not File.Exists(s) Then
MsgBox("Cannot find " + s, MsgBoxStyle.Exclamation)
Else
s = """" + s + """"
Shell(s)
End If
Catch ex As FileNotFoundException
MsgBox("Unable to open Help file " + s + " check that
Acrobat is installed", MsgBoxStyle.Exclamation)
Catch ex As Exception
ReportBug(ex, "Trying to open help file " + s)
End Try