In VB6 I checked to see if the user had MS Access installed before checking for a table. This procedure is to make sure the app does not crash because lack of the program Access. this code in VB6
This line
is causing initial problems. Is there a work around in .net?
Thanks.
Code:
Public Sub FindAccessVer(ByRef bFound As Boolean)
Dim oXLApp As Object
Dim sAppName As String
sAppName = "Access.Application"
Set oXLApp = OpenApp(sAppName, bFound)
If Not bFound Then Exit Sub
oXLApp.Quit
Set oXLApp = Nothing
End Sub
Code:
Set oXLApp = OpenApp(sAppName, bFound)
Thanks.