"Windows Explorer has stopped working" after a few minutes

Post any technical problems or questions you have while using or configuring Dexpot.
Bug-Tracker
dfreder1
Posts: 1
Joined: 05.08.2013 20:16:42

"Windows Explorer has stopped working" after a few minutes

Postby dfreder1 » 05.08.2013 20:34:09

I have dexpot configured so when I open a desktop, a visual basic script runs which opens certain Windows Explorer windows. The script runs fine, the windows open fine, but after a few minutes I get the error "Windows Explorer has stopped working". I do the same thing to open a spreadsheet and that doesn't crash on me. Any ideas? Is there a better way to automatically open windows?

==========================================================================

The script looks like this:

Wscript.Timeout = 60
Wscript.Echo "Script Full Name: " & Wscript.ScriptFullName
'
Set objShell = WScript.CreateObject("WScript.Shell")
'
' Open 1 ---------------------------------------------------------------
' GET YOUR DESIGN SPREADSHEET OPEN
' strFolder = "c:\Users\dfreder1\Documents\FRED\Projects\408115_Elgin_OHare_Wolf_Creek\WolfCreek3.xlsx"
' strPath = "excel.exe /e," & strFolder
' objShell.Run strPath
'
filePath = "c:\Users\dfreder1\Documents\FRED\Projects\408115_Elgin_OHare_Wolf_Creek\WolfCreek3.xlsx"
Set oExcel = CreateObject("Excel.Application")
oExcel.Workbooks.Open(filepath)
oExcel.Visible = True
'
'
' Open 2 ---------------------------------------------------------------
' GET YOUR LOCAL PROJECT FOLDER ON C DRIVE OPEN
strFolder = "C:\Users\dfreder1\Documents\FRED\Projects\408115_Elgin_OHare_Wolf_Creek"
strPath = "explorer.exe /n," & strFolder
objShell.Exec strPath
'
' Stop Opening stuff and quit---------------------------------------------------------------
WScript.Quit

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: "Windows Explorer has stopped working" after a few minut

Postby Patrick » 09.08.2013 00:56:18

:dex:

You can enter folder names (Excel documents as well) directly as commands in "Configure Desktops > Start-up". Not sure if it really makes a difference, but it's worth a try.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 50 guests