-
Using VB6 to Start Excel in Safe Mode
I use the following code in my VB6 application to open Excel...
On Error Resume Next
Set ExcelApp = GetObject("Excel.Application")
If ExcelApp Is Nothing Then
Set ExcelApp = CreateObject("Excel.Application")
End If
However, after a number of years of working perfectly, I am experiencing a problem with Excel 2010 in Win7. For unknown reasons, Excel freezes when selecting "Save" or "Save As" from the File tab and the Task Manager must be used to exit Excel. However, the problem does not occur when Excel is started in safe mode ("Ctrl+Excel Icon" or "Excel /safe" from the command line). An internet search indicates that many users are experiencing the same problem with Excel 2010. My code, which was working perfectly before, and on other PCs, now does not produce the same results in Excel. Hopefully, if I can start Excel in safe mode, the problem will not occur. Is there VB6 code for starting Excel in safe mode as this might fix the problem and/or prevent the problems for other users experiencing the same behavior in Excel.
Brian
Similar Threads
-
By anonymous in forum VB Classic
Replies: 0
Last Post: 08-14-2003, 11:42 AM
-
By anonymous in forum VB Classic
Replies: 0
Last Post: 06-02-2003, 06:47 PM
-
By anonymous in forum VB Classic
Replies: 0
Last Post: 08-29-2002, 01:06 PM
-
By anonymous in forum VB Classic
Replies: 0
Last Post: 11-20-2001, 05:36 AM
-
By kenny in forum VB Classic
Replies: 0
Last Post: 06-04-2001, 10:02 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|