Results 1 to 7 of 7

Thread: CreateObject("Word.Application") lasts 2-3 minutes !

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    109

    Question 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!

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    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

  3. #3
    Fanatic Member dmaruca's Avatar
    Join Date
    May 2006
    Location
    Jacksonville, FL
    Posts
    577

    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.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    109

    Re: CreateObject("Word.Application") lasts 2-3 minutes !

    Quote Originally Posted by koolsid View Post
    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.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    109

    Re: CreateObject("Word.Application") lasts 2-3 minutes !

    meanwhile i found PIA fro Office 2010 and installed it - but same problem !

  6. #6
    New Member
    Join Date
    Sep 2011
    Posts
    1

    Re: CreateObject("Word.Application") lasts 2-3 minutes !

    Hi,

    I encountered the similar problem, can share any resolution on the above issue?

    Thanks.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    109

    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
  •  



Click Here to Expand Forum to Full Width