Search found 33 matches

by emotta_no
Wed Dec 03, 2014 2:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Equivalent of VB Sendkey
Replies: 12
Views: 3511

Re: Equivalent of VB Sendkey

I made this function. It do this.


Function TesteSend()MySendText("TESTANDO")ReturnStatic Function MySendText(cTexto)Local nILocal cCarLocal lShift// sem shiftcTexto := StrTran(cTexto,".",Chr(190))cTexto := StrTran(cTexto,"/",Chr(193))cTexto ...
by emotta_no
Fri Oct 24, 2014 1:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problema com timer + tprogress
Replies: 2
Views: 694

Re: Problema com timer + tprogress

João, o problema não é fazer o progress com timer e sim o BUG que acontece. Este é apenas um exemplo simples que simula o BUG.

precisamos de uma solução para o BUG... mas obrigado pela tentativa...
by emotta_no
Fri Oct 24, 2014 1:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with "timer + tprogress"
Replies: 2
Views: 586

Re: Problem with "timer + tprogress"

João, o problema não é fazer o progress com timer e sim o BUG que acontece. Este é apenas um exemplo simples que simula o BUG.

precisamos de uma solução para o BUG... mas obrigado pela tentativa...
by emotta_no
Thu Oct 23, 2014 4:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with "timer + tprogress"
Replies: 0
Views: 433

Problem with "timer + tprogress"

I am having problems when I use a timer with a tprogress. What happens is that as soon as I call the SetPos of progress, the timer ignores the interval that was previous defined to it.

An example is when I create a timer with a 15 seconds interval and activate it. At the time I call the SetPos of ...
by emotta_no
Fri Aug 01, 2014 6:22 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Extend Codeblock
Replies: 9
Views: 1476

Re: Extend Codeblock

Thanks Antonio, I want to use Harbour... but now it's impossible.
by emotta_no
Fri Aug 01, 2014 1:50 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Extend Codeblock
Replies: 9
Views: 1476

Re: Extend Codeblock

Thanks Antonio.. your solution is best. I can't to migrate for Harbour now because I use SQLRDD. I use this code for this solution...

oScript := __hrbLoad( cArquivo )
__hrbDo( oScript,aPar[1],aPar[2],aPar[3],aPar[4],aPar[5],aPar[6],aPar[7],aPar[8],aPar[9] )
by emotta_no
Thu Jul 31, 2014 5:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Extend Codeblock
Replies: 9
Views: 1476

Re: Extend Codeblock

This only works Harbour? For XHARBOUR what solution?
by emotta_no
Thu Jul 31, 2014 2:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Extend Codeblock
Replies: 9
Views: 1476

Re: Extend Codeblock

do it

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25813&p=141241&hilit=hrbrun#p141241

    function Run_prg( cPrg )    local oHrb, cResult    if !db_conn()       return( NIL )    endif    if ...
by emotta_no
Thu Jul 24, 2014 8:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio Linares, run xHarbour function from C code.
Replies: 2
Views: 473

Antonio Linares, run xHarbour function from C code.

Is it possible? I need to run xHarbour function from C code.



Function Main&#40;&#41;Fun_C&#40;&#41; &nbsp;// aqui executo a funcao em CReturnFunction calchrb&#40;&#41;Return 1#pragma begindump#include <windows.h>#include <stdlib.h>#include "hbapi.h"HB_FUNC&#40; FUN_C &#41; &#123;int x;x ...
by emotta_no
Thu Jul 24, 2014 2:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Crash/GPF in SendKey Functon
Replies: 4
Views: 1112

Re: Crash/GPF in SendKey Functon

Great,
by emotta_no
Wed Jul 23, 2014 7:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Crash/GPF in SendKey Functon
Replies: 4
Views: 1112

Re: Crash/GPF in SendKey Functon

Yes, you can...

MySendKey(VK_TAB)
by emotta_no
Wed Jul 23, 2014 2:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Crash/GPF in SendKey Functon
Replies: 4
Views: 1112

Crash/GPF in SendKey Functon

Antonio, the funcion "SenKey" is with bug... I developed a new function SendKey. Please, see it.


#include "fivewin.ch"Function TestSendKey&#40;&#41;Local nKeyLocal oWndPrivate oTimer,oTimer2&nbsp; &nbsp;DEFINE WINDOW oWnd TITLE "3D objects"&nbsp; &nbsp;ACTIVATE WINDOW oWnd On Init &#40;MyHook&#40 ...
by emotta_no
Wed Jul 23, 2014 1:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How translate virtual key to asc code?
Replies: 6
Views: 1670

Re: How translate virtual key to asc code?

Thanks James, I got...
by emotta_no
Tue Jul 22, 2014 9:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How translate virtual key to asc code?
Replies: 6
Views: 1670

Re: How translate virtual key to asc code?

Virtual-Key CodesThe following table shows the symbolic constant names, hexadecimal values, and mouse or keyboard equivalents for the virtual-key codes used by the system. The codes are listed in numeric order.Constant/value&nbsp; DescriptionVK_LBUTTON0x01&nbsp; &nbsp; Left mouse buttonVK ...