T
Todd E
We are converting from Access 97 to 2002 and changing operatins systems from NT to XP. One app calls and external Viewer in Visual Basic so the user can leaf through the pages of a file online. It works fine in 97 using NT and has for the last two years. But converting the DB to 2002 and running on XP does not open the viewer. The current code to open the viewer reads:
Dim RetVal
Dim strViewerCommandLine As String
'Command Line parameters are userid, password, data source, and case id.
strViewerCommandLine = strAppPath & "\ARIMSIMAGEVIEWER.EXE /U " & strLogonUser & " /P " & strLogonPwd & _
" /D " & strTNS & " /C " & Me!CS_ID
'MsgBox strViewerCommandLine
'RetVal is the Unique Task ID assigned to the program by windows
RetVal = Shell(strViewerCommandLine, vbNormalFocus)
Exit_cmdViewImages_Click:
Exit Sub
Dim RetVal
Dim strViewerCommandLine As String
'Command Line parameters are userid, password, data source, and case id.
strViewerCommandLine = strAppPath & "\ARIMSIMAGEVIEWER.EXE /U " & strLogonUser & " /P " & strLogonPwd & _
" /D " & strTNS & " /C " & Me!CS_ID
'MsgBox strViewerCommandLine
'RetVal is the Unique Task ID assigned to the program by windows
RetVal = Shell(strViewerCommandLine, vbNormalFocus)
Exit_cmdViewImages_Click:
Exit Sub