From 97 to 2002 Call to a VB Viewer does not work...Can you handle it?

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 RetVa
Dim strViewerCommandLine As Strin

'Command Line parameters are userid, password, data source, and case id
strViewerCommandLine = strAppPath & "\ARIMSIMAGEVIEWER.EXE /U " & strLogonUser & " /P " & strLogonPwd &
" /D " & strTNS & " /C " & Me!CS_I


'MsgBox strViewerCommandLin

'RetVal is the Unique Task ID assigned to the program by window
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