Works in 97, but not 2002 and XP - HELP!!!

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top