Word 2010 & Win7/64bit problem

Word 2010 & Win7/64bit problem

Postby Marc Vanzegbroeck » Fri Oct 14, 2011 7:39 am

Hi,

I'am installing my program on a customer PC Win7/64 bit and Word 2010 Starter.
Im using
Code: Select all  Expand view
oWord := TOleAuto():New("Word.Application")
top open word, an I always get the error
Code: Select all  Expand view
Application
===========
   Path and name: C:\EasyFact\VLD.exe (32 bits)
   Size: 2,994,688 bytes
   Time from start: 0 hours 0 mins 54 secs
   Error occurred at: 14/10/11, 08:48:29
   Error description: Error TOleAuto/-1  CO_E_CLASSSTRING: TOLEAUTO:NEW
   Args:
     [   1] = C   Word.Application


Does anyone know what can be the problem? It's the first time I installed it with Word 2010 & Win64/bit.

Thanks,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Word 2010 & Win7/64bit problem

Postby Richard Chidiak » Fri Oct 14, 2011 8:07 am

Marc

oWORD := CREATEOBJECT( "word.Application" )

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Word 2010 & Win7/64bit problem

Postby Marc Vanzegbroeck » Fri Oct 14, 2011 8:09 am

Richard,

I have the same problem with oWORD := CREATEOBJECT( "word.Application" )

Regards,

Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Word 2010 & Win7/64bit problem

Postby Otto » Fri Oct 14, 2011 8:40 am

Did you use "Click-to-Run" to install Word?
This method does not install OLE.

Best regrads,
Otto
Code: Select all  Expand view

http://technet.microsoft.com/de-de/library/ee681792.aspx


Im Folgenden unsere Empfehlungen für die zu installierende Edition von Office 2010:
 Wenn Benutzer in Ihrer Organisation bestehende Erweiterungen von Office für ihre Arbeit benötigen, z. B. ActiveX-Steuerelemente, Add-Ins von Drittanbietern, hauseigene Lösungen, die auf Vorgängerversionen von Office aufbauen, oder 32-Bit-Versionen von Programmen, die eine direkte Schnittstelle mit Office haben, empfehlen wir Ihnen, die 32-Bit-Version von Office 2010 (die Standardinstallation) auf Computern zu installieren, auf denen unterstützte 32-Bit- und 64-Bit-Windows-Betriebssysteme ausgeführt werden.


 
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Word 2010 & Win7/64bit problem

Postby Marc Vanzegbroeck » Fri Oct 14, 2011 8:50 am

Otto,

It was a pre-installed Office on a new PC.

I just installed the Professional-version, and everthing works!!

Thanks,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Word 2010 & Win7/64bit problem

Postby driessen » Sun Oct 16, 2011 10:25 pm

Marc,

Office starter or student version don't have OLE, so your example cannot be used. You need to install a professional Office-version of 2010.

I have had this problem several times before. Changing to the professional version solves the problem.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Word 2010 & Win7/64bit problem

Postby Marc Vanzegbroeck » Mon Oct 17, 2011 7:01 am

Michel,

Thanks for the reply. Like I already posted in the previous message, I already installed the Professional version and everything is working fine.

Regards,
Marc
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 118 guests