FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Word 2010 & Win7/64bit problem
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Word 2010 & Win7/64bit problem
Posted: Fri Oct 14, 2011 07:39 AM
Hi,

I'am installing my program on a customer PC Win7/64 bit and Word 2010 Starter.
Im using
Code (fw): Select all Collapse
oWord := TOleAuto():New("Word.Application")
top open word, an I always get the error
Code (fw): Select all Collapse
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
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Word 2010 & Win7/64bit problem
Posted: Fri Oct 14, 2011 08:07 AM

Marc

oWORD := CREATEOBJECT( "word.Application" )

Hth

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Word 2010 & Win7/64bit problem
Posted: Fri Oct 14, 2011 08: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
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Word 2010 & Win7/64bit problem
Posted: Fri Oct 14, 2011 08:40 AM
Did you use "Click-to-Run" to install Word?
This method does not install OLE.

Best regrads,
Otto
Code (fw): Select all Collapse
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.
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Word 2010 & Win7/64bit problem
Posted: Fri Oct 14, 2011 08: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
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Word 2010 & Win7/64bit problem
Posted: 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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Word 2010 & Win7/64bit problem
Posted: Mon Oct 17, 2011 07: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

Continue the discussion