|
-
Jan 20th, 2011, 11:28 AM
#1
Thread Starter
Lively Member
CreateObject("Word.Application") lasts 2-3 minutes !
I have an application, which creates an instance of word (visible=false), loads a document, fill in some data and close document & word.
using:
XP + Office2003/2007 --> this process needs between 2-5 sec
Win7 + Office2003/2007/2010 --> also 2-5 sec
XP + Office 2010 --> 2-3 MINUTES !!
i have to use late binding for supporting different environments. [WordApp = CreateObject("Word.Application")]
when i take a look to taskmanager, there are 2-3 MSIEXEC-processes, which are started with "CreateObject" and take a lot of time before the instance of WINWORD is created!?
ANY HINTS?? THANK YOU!
-
Jan 20th, 2011, 06:13 PM
#2
Re: CreateObject("Word.Application") lasts 2-3 minutes !
XP + Office 2010 --> 2-3 MINUTES !!
sigiK: Is this tested on one pc or multiple pc's whic had XP + Office 2010?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jan 20th, 2011, 07:34 PM
#3
Fanatic Member
Re: CreateObject("Word.Application") lasts 2-3 minutes !
msiexec is used in conjunction with .msi installation files. It sounds to me like there is an issue with the office installation itself. I have seen this in the past where opening an office app has caused the setup wizard to do something for a while every single time before opening the app. this has usually only happened when I pirated a copy of office. Thank goodness for the home user program now I don't have to pirate a copy lol.
-
Jan 20th, 2011, 08:38 PM
#4
Thread Starter
Lively Member
Re: CreateObject("Word.Application") lasts 2-3 minutes !
 Originally Posted by koolsid
sigiK: Is this tested on one pc or multiple pc's whic had XP + Office 2010?
on multiple - with different (all legal!) office 2010 professional plus -versions.
i also set up a vmware-session with new XP and new Office - same result.
Last edited by sigiK; Jan 21st, 2011 at 03:19 AM.
-
Jan 24th, 2011, 06:05 PM
#5
Thread Starter
Lively Member
-
Sep 7th, 2011, 04:30 AM
#6
New Member
Re: CreateObject("Word.Application") lasts 2-3 minutes !
Hi,
I encountered the similar problem, can share any resolution on the above issue?
Thanks.
-
Mar 8th, 2012, 03:45 PM
#7
Thread Starter
Lively Member
Re: CreateObject("Word.Application") lasts 2-3 minutes !
installing .NET-Framework 4.0. solved the problem ...
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
|
Click Here to Expand Forum to Full Width
|