Search found 40 matches: ole2txterror

Return to advanced search

TDolphin - linking problems ...

Hi, Thought I sucesed linked samples in Dolphin\samples , can't to create own project . Diff. here that dolphin use win-make utility , I'm using hbmk2 and .hbp . Sorry , but I'm not a good expert of hbmk2 or win-make . What I must to do for that project ? .hbp ( 1-st version ) -inc-incpath=\a\fwh\in...
by Rimantas
Wed Mar 06, 2013 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDolphin - linking problems ...
Replies: 9
Views: 1890

Re: Excel works with xHarbour, not Harbour

Tim, It seems as Ole2TxtError() is not returning the right value. If you comment out this code, then your example is working fine:       /*   IF Ole2TxtError() != "S_OK"      ...
by Antonio Linares
Tue Jun 19, 2012 3:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Excel works with xHarbour, not Harbour
Replies: 4
Views: 965

HOWTO: Controlar errores "MSXML2.DOMDocument"

... , cuando ocurría algún tipo de error, el try/catch daba un error, usando OLE2TxtError(), y aparecían cosas como que el atributo no existía. Por ejemplo, un cosa que me ha estado sucediendo y que me ha llegado loco toda la ...
by thefull
Thu Oct 06, 2011 11:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: HOWTO: Controlar errores "MSXML2.DOMDocument"
Replies: 0
Views: 345

Word with Harbour and xHArbour Solved

... ) CATCH TRY oWord := CreateObject( "Word.Application" ) CATCH Alert( "ERROR! Word not avialable. [" + Ole2TxtError()+ "]" ) RETURN END END oWord:Documents:Add() oText := oWord:Selection() oText:Font:Size := 16 oText:Invoke( "TypeText", ...
by Maurizio
Wed Feb 16, 2011 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Word with Harbour and xHArbour Solved
Replies: 3
Views: 875

Re: New AdoRDD (free)

... 2 ) ) } )  that way Roberto will be able to get a better feedback about the error In xharbour, the equivalent function name is OLE2TXTERROR()
by Antonio Linares
Wed Oct 14, 2009 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New AdoRDD (free)
Replies: 203
Views: 104454

msword

... ) CATCH TRY oWord := CreateObject( "Word.Application" ) CATCH Alert( "Blad! MS Word nie dostepny. [" + Ole2TxtError()+ "]" ) break END END // create a new, empty Word document oDocument := oWord:documents:add() // get the text selection object ...
by kajot
Sun Jun 28, 2009 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: msword
Replies: 0
Views: 327

What error do you get now ? this link error ? FiveHcm.lib(CURSORS.obj) : warning LNK4006: _HB_FUN_CURSORNO already defined in Fivehm.lib(CONTROL.obj); second definition ignored gtgui.lib(gtgui.obj) : warning LNK4006: _HB_FUN_HB_GT_GUI_DEFAULT already defined in Fivehm.lib(ERRSYSW.obj); second defin...
by yunbg1
Thu Apr 10, 2008 12:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CVS Link Error. 8.03 Version. Help me please
Replies: 17
Views: 3558

Hi Antonio link add hbwin32.lib -> this link error ? FiveHcm.lib(CURSORS.obj) : warning LNK4006: _HB_FUN_CURSORNO already defined in Fivehm.lib(CONTROL.obj); second definition ignored gtgui.lib(gtgui.obj) : warning LNK4006: _HB_FUN_HB_GT_GUI_DEFAULT already defined in Fivehm.lib(ERRSYSW.obj); sec...
by yunbg1
Thu Apr 10, 2008 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CVS Link Error. 8.03 Version. Help me please
Replies: 17
Views: 3558

Compilar aoleAuto.prg para Harbour

Muy buenas, estoy intentando compilar el oleauto.prg para usarlo en Harbour, pero no me reconoce las siguientes funciones:

- GetOleObject
- Ole2TxtError
- OleShorWxception
- OleError

¿Sabeis donde puedo encontrar estas funciones?

Un Saludo.
by softruz
Wed Mar 05, 2008 6:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar aoleAuto.prg para Harbour
Replies: 7
Views: 1450

... oSkype := GetActiveObject("Skype4COM.Skype") Catch Try oSkype := CreateObject("Skype4COM.Skype") Catch alert("Skype4Com não está instalado!"+; ";"+ole2txterror()) return 0 End End If .not. oSkype:Client:IsRunning() MsgRun("Informação","Activando o Skipe",{||oSkype:Client:Start()}) Endif //not online ...
by AHF
Sat Nov 17, 2007 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Making Skype phone calls and sms
Replies: 10
Views: 5740

... "Excel.Application" ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH MsgAlert( "ERROR! Excel no esta disponible. ", Ole2TxtError() ) RETURN END END CursorWait() SysRefresh() oDlg:SetText( "Importando datos a excel!" ) oPBar:SetRange(1,nContador) nRow:=0 oExcel:WorkBooks:Add() ...
by carlos vargas
Wed Sep 26, 2007 7:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar Arreglos en campo de una tabla
Replies: 10
Views: 2557

... := GetActiveObject( "Outlook.Application" ) CATCH TRY oOutlook := CreateObject( "Outlook.Application" ) CATCH ? "Outlook no disponible. [" + Ole2TxtError()+ "]" RETURN nil END END oMail := oOutlook:CreateItem( 0 ) FOR EACH el IN aDir oMail:Recipients:Add( el ) NEXT IF !EMPTY(cAsunto) oMail:Subject ...
by Manuel Valdenebro
Tue Feb 20, 2007 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with sending emails - some questions
Replies: 15
Views: 7048

Try .. Catch

... "Excel.Application" ) CATCH TRY oExcel := CreateObject( "Excel.Application" ) CATCH Mensagem( "ERRO! MS-Excel nao encontrado. [" + Ole2TxtError()+ "]" ) RETURN END END oExcel:WorkBooks:Add() Ps: Se alguem tiver sugestão, de uma maneira mais simples de fazer isso, eu agradeço... ...
by Rodrigo Pavan
Mon Feb 05, 2007 11:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Try .. Catch
Replies: 1
Views: 801

Vikthor - Por favor - Preciso que funcione a TWORD!

... "Word.Application" ) CATCH TRY ::oWord := CreateObject( "Word.Application" ) CATCH Alert( "ERROR! Word no está instaldo en esta PC. [" + Ole2TxtError()+ "]" ) ::lWord := .F. END END RETURN( Self ) MAIS MESMO ASSIM, CONTINUA A ME DAR O ERRO: Application =========== Path and name: C:\XCARCERE\INQ\INQUERITO.EXE ...
by AOKISANTOS
Sat Sep 09, 2006 11:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Vikthor - Por favor - Preciso que funcione a TWORD!
Replies: 4
Views: 1384

... "Word.Application" ) CATCH TRY ::oWord := CreateObject( "Word.Application" ) CATCH Alert( "ERROR! Word no está instaldo en esta PC. [" + Ole2TxtError()+ "]" ) ::lWord := .F. END END RETURN( Self ) MAIS MESMO ASSIM, CONTINUA A ME DAR O ERRO: Application =========== Path and name: C:\XCARCERE\INQ\INQUERITO.EXE ...
by AOKISANTOS
Thu Sep 07, 2006 10:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio - Por Favor, TWORDHB?
Replies: 6
Views: 2089
PreviousNext

Return to advanced search