Search found 946 matches

by Richard Chidiak
Mon Nov 04, 2013 12:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Need help with Ado
Replies: 4
Views: 832

Re: Need help with Ado

Antonio

NO the php runs OK

In the fwh program i get

Error in Opening client table

Richard
by Richard Chidiak
Mon Nov 04, 2013 11:01 am
Forum: FiveWin for Harbour/xHarbour
Topic: Need help with Ado
Replies: 4
Views: 832

Need help with Ado

Good morning I need to use ADO to access an sql table on our website from our fwh application, we usually do all our sql job with php. I have installed a new db and tables on a test website to do some tests . Remote access is authorized. My external ports are authorized through firewall and router ,...
by Richard Chidiak
Mon Oct 07, 2013 2:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Current Harbour - where is it?
Replies: 11
Views: 1650

Re: Current Harbour - where is it?

Antonio

Thank you

I guess the same build can be used for msvc 2010 right ?

I have a problem with Msvc 2012 , it generates exe that do not run on xp, only win 7 or win 8 ..... ! So i have reverted back to Msvc 2010

Best regards,

Richard
by Richard Chidiak
Mon Oct 07, 2013 12:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Current Harbour - where is it?
Replies: 11
Views: 1650

Re: Current Harbour - where is it?

Antonio

Can you build Harbour for Msvc ?

Thanks

Richard
by Richard Chidiak
Sun Oct 06, 2013 4:53 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple selection on a XBROWSE
Replies: 4
Views: 1194

Re: Multiple selection on a XBROWSE

You have to program it This is what i do in one of my programs, Hth Richard BMPADDCOL(oBrw:aCols[01]) oBrw:aCols[01]:bBmpData   := { || PROTABLE(ATABLE) }   oBRW:blDblClick := { | nRow, nCol, nKey |CHECKTAB(@ATABLE,OBRW) } FUNCTION BMPADDCOL(OCOL) oCol:AddBmpFile( DIRAPPLI() + "BMP\BLEU.BMP&quo...
by Richard Chidiak
Sat Oct 05, 2013 9:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15301

Re: Migrating to Harbour

Enrico The code below works OK with Harbour if the file exists I tried it with a file on my disk at it opened ok. Note : I executed my test program as an administrator Compiled with Harbour and Msvc I sent you by email the exe , this way you can check your Harbour configuration also. Richard #INCLUD...
by Richard Chidiak
Sat Oct 05, 2013 8:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15301

Re: Migrating to Harbour

Enrico Please take a look at the excel workbooks property http://msdn.microsoft.com/en-us/library/bb179167(v=office.12).aspx Oledefaultarg() is supposed to be the format parameter ? Format Optional Variant If Microsoft Excel is opening a text file, this argument specifies the delimiter character. If...
by Richard Chidiak
Sat Oct 05, 2013 3:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15301

Re: Migrating to Harbour

Enrico OleDefaultArg() is a shortcut to: VTWrapper( VT_ERROR, DISP_E_PARAMNOTFOUND ) Here is the MSDN doc: If an optional argument to an Automation method is left blank, do not pass a VARIANT of type VT_EMPTY. Instead, pass a VARIANT of type VT_ERROR with a value of DISP_E_PARAMNOTFOUND. http://msdn...
by Richard Chidiak
Sat Oct 05, 2013 11:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15301

Re: Migrating to Harbour

Enrico

I use this in my main program

#ifndef __XHARBOUR__
FUNCTION DbSkipper( n ) ; RETURN __DbSkipper( n )
FUNCTION DbPack() ; RETURN __DbPack()
FUNCTION DbZap() ; RETURN hb_DbZap()
FUNCTION CurDrive( x ) ; RETURN hb_CurDrive( x )
#EndIf


Hth

Richard
by Richard Chidiak
Sat Oct 05, 2013 5:58 am
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple selection on a XBROWSE
Replies: 4
Views: 1194

Re: Multiple selection on a XBROWSE

oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS // multisel does the job

you can mark the lines needed by clicking

then

FOR I = 1 TO LEN(oBRW:aSELECTED) // obrw:aSELECTED is an array containing recnos marked

dbgoto->(oBRW:aSELECTED))
.....
next

Hth

Richard
by Richard Chidiak
Fri Oct 04, 2013 11:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15301

Re: Migrating to Harbour

Enrico I have this in my fivewin.ch (fwh 13.05) #ifdef __HARBOUR__ #ifndef __XHARBOUR__ /* static bError #xcommand TRY => bError := errorBlock( {|oErr| break( oErr ) } ) ;; BEGIN SEQUENCE #xcommand CATCH [<!oErr!>] => errorBlock( bError ) ;; RECOVER [USING <oErr>] <-oErr-> ;; errorBlock( bError ) */...
by Richard Chidiak
Fri Oct 04, 2013 10:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 52
Views: 15301

Re: Migrating to Harbour

Enrico I have migrated a while ago to Harbour and Msvc , i use a lot of try/catch like below and i have no problems with it, i don't see the point. TRY oExcel := CREATEOBJECT( "Excel.Application" ) CATCH MSGSTOP("L'Application Microsoft Excel n'est pas installée sur cet Ordinateur !&q...
by Richard Chidiak
Mon Sep 30, 2013 12:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Toolbar Images does NOT display LNK4088 ERROR
Replies: 10
Views: 1680

Re: Toolbar Images does NOT display LNK4088 ERROR

Shridhar

probably these files have been installed by Msvc 2010 express

My advice is to install also Msvc 2010 express

I have both editions working

Richard
by Richard Chidiak
Mon Sep 30, 2013 11:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?
Replies: 14
Views: 4170

Re: How to setup UEStudio IDE and MS Visual Studio Exp 2012 ?

Andrés

What fwh version are you using ?

It looks like your fwh libraries are not correct

Have you done a complete generation to the program ?

Richard
by Richard Chidiak
Mon Sep 30, 2013 11:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Toolbar Images does NOT display LNK4088 ERROR
Replies: 10
Views: 1680

Re: Toolbar Images does NOT display LNK4088 ERROR

Shridhar I have msvc 2012 express edition installed on a pc with windows 7 and it works OK Here is the application file for uestudio, please adapt the directories especially the harbour one as i install harbour differently, Also please note i have Msvc 2010 express edition installed on the same comp...