RodShinall
Registered User.
- Local time
- Today, 06:48
- Joined
- Dec 21, 2006
- Messages
- 32
A command button on my form runs the Shell function to open a PDF viewer which displays the PDF file associated with the current record.
Dim strClickScan As String
strClickScan = Shell("C:\Program Files\SumatraPDF\SumatraPDF.exe ""D:\Periodical Reference Index\" & txtRecordID.Value & ".pdf""", vbNormalFocus)
Until recently Sumatra opened and displayed the PDF instantly. Now, however, there is a delay of several seconds with a Not Responding message before the program starts and displays the file. This happens when Shell runs other programs as well. But here's the strange thing; this delay occurs only when my PC is connected to my router (I am not online at the time). When I disconnect the problem does not occur and it does not occur outside of Access. As I have noticed this only for the last few weeks and my feeling is that this has something to do with a Microsoft update and possibly security related. This is very annoying. Any help would be greatly appreciated.
Dim strClickScan As String
strClickScan = Shell("C:\Program Files\SumatraPDF\SumatraPDF.exe ""D:\Periodical Reference Index\" & txtRecordID.Value & ".pdf""", vbNormalFocus)
Until recently Sumatra opened and displayed the PDF instantly. Now, however, there is a delay of several seconds with a Not Responding message before the program starts and displays the file. This happens when Shell runs other programs as well. But here's the strange thing; this delay occurs only when my PC is connected to my router (I am not online at the time). When I disconnect the problem does not occur and it does not occur outside of Access. As I have noticed this only for the last few weeks and my feeling is that this has something to do with a Microsoft update and possibly security related. This is very annoying. Any help would be greatly appreciated.