topic
stringlengths
1
63
text
stringlengths
1
577k
ActiveX parameters
I'm using voiceangel activex for tapi support Regards
ActiveX problem
Hi everyone; I'm trying to use an ActiveX that works with a signing pad hardware. It contains a method to display a standard dialog to pickup a signature. When executed it looks like this: [img:1omadbnk]http&#58;//ssfl&#46;dynalias&#46;com/temp/screen1&#46;jpg[/img:1omadbnk] After clicking [OK] the application aborts without showing any type of message. Clicking on [Clear] or [Cancel] work as expected. The error can't be trapped with TRY-CATCH-END. All other properties and methods seem to work just fine. Here is part of the code: [code:1omadbnk] //------------------------------------------------------------------------// METHOD New( ) CLASS TePad local lOk &#58;= &#46;t&#46; local oErr DEFINE WINDOW &#58;&#58;oWnd FROM -300, -300 TO -300, -300 //hidden TRY &#58;&#58;oActiveX &#58;= TActiveX()&#58;New( &#58;&#58;oWnd, "esW25COM&#46;esCapture&#46;1" ) &#58;&#58;cDevice &#58;= &#58;&#58;oActiveX&#058;GetProp( "ConnectedDevice" ) /*---------------------------------------------------------------------------- ConnectedDevice = {98C174D3-6D2A-4509-96DB-D5B34FA7A561}&#58; Interlink ePadInk {7FCD9512-8763-436E-8747-40972EE28EFD}&#58; Interlink ePad {C55C5D54-8A92-48AD-A32F-1FC58092A581}&#58; Interlink ePadID ------------------------------------------------------------------------------*/ CATCH oErr &#58;&#58;end() Return Nil END RETURN Self //------------------------------------------------------------------------// METHOD SetProp() CLASS TePad &#58;&#58;oActiveX&#058;SetProp( "SignDlgCaption", &#58;&#58;cCaption ) &#58;&#58;oActiveX&#058;SetProp( "DisplayName", &#58;&#58;cDispName ) &#58;&#58;oActiveX&#058;SetProp( "ShowSignerName", 1 ) //true &#58;&#58;oActiveX&#058;SetProp( "EnableAntiAliasing", 1 ) RETURN NIL //------------------------------------------------------------------------// METHOD PickUpSignature() CLASS TePad local nRet TRY nRet &#58;= &#58;&#58;oActiveX&#058;Do( "StartSign" , 0, 1 ) CATCH logfile( "trace&#46;log", {"catched with errors"}) END Logfile( "trace&#46;log", { "Just testing", &#58;&#58;cDevice } ) Return nRet [/code:1omadbnk] To execute I simply do this: [code:1omadbnk] Static Function Test() Local oSign &#58;= TePad()&#58;New() if oSign <> nil oSign&#58;cCaption &#58;= "Get Patient Signature Dialog" oSign&#58;cDispName &#58;= ProperPatName( odbf ) + " Or Guardian" oSign&#58;SetProp() oSign&#58;PickUpSignature() oSign&#58;End() endif [/code:1omadbnk] Any ideas how to debug this problem? Reinaldo.
ActiveX problem
Reinaldo, Please use oActiveX&#058;bOnEvent to check what events you receive. Please review FWH\samples\webexp.prg for an oActiveX&#058;bOnEvent example of use.
ActiveX problem
Hello Reinaldo, there is a very good solution in FWPPC forum in pure FIVEWIN. This should work with FWH too. Regards, Otto function Signature() local oMain, oSig, nHdc, ; nOldX := -1, ; nOldY := -1 LOCAL DFILE := CURDIR() + "\MYSIGN.BMP" DEFINE WINDOW oMain TITLE "Signature" @40,5 SAY oSig PROMPT "test"+CRLF+"test2"+CRLF+dtoc(date())+" - " +time() SIZE 230,150 PIXEL BORDER @15, 5 BUTTON "Clear" SIZE 50,20 PIXEL ACTION oSig:refresh(.t.) @15,60 BUTTON "Save" SIZE 50,20 PIXEL ACTION ( oSig:saveToBmp( DFIle ), oSig:refresh(.t.), ReleaseDC( oSig:hWnd, oSig:hDC ), OMAIN:END() ) nHdc := GetDC( oSig:hWnd ) oSig:bLButtonUp := { |x,y,z| DoDraw( nHdc, y+1, x+1,@noldx,@noldy ), nOldX := -1, nOldY := -1 } oSig:bMMoved := { |x,y,z| DoDraw( nHdc, y, x ,@noldx,@noldy) } oSig:bLClicked := { |x,y,z| DoDraw( nHdc, y, x ,@noldx,@noldy) } ACTIVATE WINDOW oMain MODAL return nil //----------------------------------------------------------------------------// STATIC Function DoDraw( hDc, x, y, noldx, noldy ) If nOldX == -1 .And. nOldY == -1 nOldX := x nOldY := y MoveTo( hDC, x, y ) Else LineTo( hDc,x,y ) EndIf RETURN Nil //----------------------------------------------------------------------------//
ActiveX problem
Otto; Thank you for your reply. I agree, that is an excellent example. However, not appropriate for a point of sale where you want to pick up a customer signature or a legal biding contract where you want the parties to sign some legal e-document. The signature pad is used to pickup a customer signatures in stores and is widely used in the business world. You sign with a stylus which has a better feel than the mouse, and furthermore, the signing pad is on the other side of the desk easily available for the customer to sign. My intention is to store the signature in a blob field, so that it may be reproduced later. Again, thank you for the reply; but I need to use a signing pad. In case anyone is interested here is a link to some good signing pads that work with ocx controls: [url:2r8n78bs]http&#58;//www&#46;interlinkelectronics&#46;com/library/media/papers/pdf/epad-ink-datasheet-6-27&#46;pdf[/url:2r8n78bs] Reinaldo.
ActiveX problem
Hello Reinaldo, you are right. I didn't thought on hardware. Thank you for the link. Regards, Otto
ActiveX problem
Antonio; Did as per your suggestion. Here is my new code: [code:1xrjixr5] //------------------------------------------------------------------------// METHOD New( oOwner, oProcess ) CLASS TePad local lOk &#58;= &#46;t&#46; local oErr local cEvents &#58;= "" DEFINE WINDOW &#58;&#58;oWnd FROM -300, -300 TO -300, -300 //hidden TRY &#58;&#58;oActiveX &#58;= TActiveX()&#58;New( &#58;&#58;oWnd, "esW25COM&#46;esCapture&#46;1" ) &#58;&#58;cDevice &#58;= &#58;&#58;oActiveX&#058;GetProp( "ConnectedDevice" ) &#58;&#58;oWnd&#58;oClient &#58;= &#58;&#58;oActiveX &#58;&#58;oActiveX&#058;bOnEvent &#58;= { |e, a| cEvents += EventInfo( e, a ) } CATCH oErr &#58;&#58;end() Return Nil END ACTIVATE WINDOW &#58;&#58;oWnd RETURN Self //------------------------------------------------------------------------// METHOD SetProp() CLASS TePad &#58;&#58;oActiveX&#058;SetProp( "SignDlgCaption", &#58;&#58;cCaption ) &#58;&#58;oActiveX&#058;SetProp( "DisplayName", &#58;&#58;cDispName ) &#58;&#58;oActiveX&#058;SetProp( "ShowSignerName", 1 ) //true &#58;&#58;oActiveX&#058;SetProp( "EnableAntiAliasing", 1 ) RETURN NIL //------------------------------------------------------------------------// METHOD PickUpSignature() CLASS TePad local nRet TRY &#58;&#58;oActiveX&#058;Do( "StartSign" , 0, 1 ) CATCH logfile( "trace&#46;log", {"catched with errors"}) END Logfile( "trace&#46;log", { "Just testing", &#58;&#58;cDevice } ) Return nRet //------------------------------------------------------------------------// static function EventInfo( e, a ) local cMsg &#58;= "Event&#58;" + cValToChar( e ) + CRLF local n cMsg += "Parms&#58;" for n&#58;=1 to Len ( a ) cMsg += cValToChar( a&#91;n&#93; ) + CRLF next n return cMsg + CRLF [/code:1xrjixr5] And here is the code that calls that code: [code:1xrjixr5]Local oSign &#58;= TePad()&#58;New() if oSign <> nil oSign&#58;cCaption &#58;= "Get Patient Signature Dialog" oSign&#58;cDispName &#58;= ProperPatName( odbf ) + " Or Guardian" oSign&#58;SetProp() oSign&#58;PickUpSignature() oSign&#58;End() endif [/code:1xrjixr5] The standard signing dialog pops up and everything works as expected until I press the [ok] button. At that moment the application aborts and no messages are displayed. Nothing gets logged into trace.log either. Any other ideas? Reinaldo
ActiveX problem
Antonio; I realized that I wasn't doing anything with bOnEvent, so I changed the line to this: [code:d96hxixx] &#58;&#58;oActiveX&#058;bOnEvent &#58;= { |e, a| logfile( "trace&#46;log", {EventInfo( e, a ) } ) } [/code:d96hxixx] The following information gets logged as soon as the signing begins: 01/11/2009 15:48:34: Event:OnFirstTouch Parms: But after pressing [ok] nothing gets logged and the application aborts. Reinaldo
ActiveX problem
Reinaldo, Are you sure that you have to use it as an ActiveX ? Maybe you should create it using CreateObject() and manage it as an OLE object, not as an ActiveX.
ActiveX problem
Tried it. Same result. I only wish I could stop execution to see what's happening after the [ok] button on that dialog is doing. Here is my new code: [code:1le9z36q] //------------------------------------------------------------------------// METHOD New() CLASS TePad TRY &#58;&#58;oActiveX &#58;= GETACTIVEOBJECT( "esW25COM&#46;esCapture&#46;1" ) CATCH TRY &#58;&#58;oActiveX &#58;= CREATEOBJECT( "esW25COM&#46;esCapture&#46;1" ) CATCH Alert( "ERROR! SigningPad not avialable&#46; &#91;" + Ole2TxtError()+ "&#93;" ) &#58;&#58;end() Return Nil END END RETURN Self //------------------------------------------------------------------------// METHOD SetProp() CLASS TePad &#58;&#58;oActiveX&#058;SignDlgCaption &#58;= &#58;&#58;cCaption RETURN NIL //------------------------------------------------------------------------// METHOD PickUpSignature() CLASS TePad local nRet TRY &#58;&#58;oActiveX&#058;ClearSign() &#58;&#58;oActiveX&#058;StartSign( 0, 1 ) CATCH logfile( "trace&#46;log", {"catched with errors"}) END Logfile( "trace&#46;log", { "Just testing", &#58;&#58;cDevice } ) Return nRet [/code:1le9z36q] The dialog hast three buttons. [Clear], [Cancel], [Ok]. Clicking on any of these and it all work as expected, except when clicking on [Ok] after signing. The app simply aborts. Reinaldo.
ActiveX problem
Reinaldo, Is ::oActiveX&#058;StartSign( 0, 1 ) the method to invoke the signature dialogbox ? What 0 and 1 mean ? Do you have any example of use in VB, C, etc. or docs for it ?
ActiveX problem
Antonio; Good idea. Here is a link to the documentation and the actual ocx and dll needed for testing: [url:1i1tdceu]http&#58;//ssfl&#46;dynalias&#46;com/temp[/url:1i1tdceu] Download the .pdf and the .ocx and the .dll for your own tests. [I think] The only thing you won't be able to do without the pad is the actual signing, therefore you won't be able to test the ok button. The ocx is usable for different models. The model I'm testing is the ePad id. That first parameter does nothing with the ePad Id. On a ePad Ink, it would control the number of buttons to display on the pad. Here is a link to their devices: [url:1i1tdceu]http&#58;//www&#46;interlinkelectronics&#46;com/esign/products/epad/index&#46;html[/url:1i1tdceu] Thank you for your help. Reinaldo.
ActiveX problem
Reinaldo, What we need is that you locate some VB or C example code for it and post it here to review it, thanks
ActiveX problem
Ok. Here is the whole vb project and also the .exe build of the sample code: [url:569exesl]http&#58;//ssfl&#46;dynalias&#46;com/temp/epad_vb_sample[/url:569exesl] Reinaldo.
ActiveX problem
Reinaldo, Is your PRG code similar to this one ? [code:3dvk9a6o] Private Sub CmdStartSign_Click() SignData = vbNullString 'set the sign dialog caption IntegriSign1&#46;SignDlgCaption = "IntegriSign Signature Capture" 'set the data to be associated with the signature IntegriSign1&#46;HashData = txtHashData&#46;Text 'set whether cross mark needs to be displayed if content is modified If chkAppOptions(5)&#46;Value = 0 Then IntegriSign1&#46;Cross = Cross_OFF Else IntegriSign1&#46;Cross = Cross_ON End If 'initiate the act of signing IntegriSign1&#46;StartSign cmbBut&#46;ListIndex, chkAppOptions(6)&#46;Value If chkAppOptions(6)&#46;Value = 1 Then lblft&#46;Caption = vbNullString End If End Sub [/code:3dvk9a6o]
ActiveX problem
Well... I'm skipping some of the optional statements. According to the documentation you don't have to set hash data if you don't need signature validation. I'm not setting the .cross property either, since I'm not doing the hashing anyway. So actually, my code is much simpler. I first create the Ole instance object, set the dialog caption, and proceed to StartSign(). So basically my code is: [code:1zeoppbs] &#58;&#58;oActiveX &#58;= CREATEOBJECT( "esW25COM&#46;esCapture&#46;1" ) &#58;&#58;oActiveX&#058;SignDlgCaption &#58;= &#58;&#58;cCaption &#58;&#58;oActiveX&#058;StartSign( 0, 1 ) [/code:1zeoppbs] For some reason it all works well in their sample apps. But pressing [ok] after taking the signature breaks my app. I'll continue to investigate. Thank you, Reinaldo
ActiveX problem
Hi I am also having the same problem while using VBScript with integrisign. Did you find out the solution for this...if so could you please share it Thanks & Regard Sukesh
ActiveX problem
Sukes; Nope. No luck. I lost that potential customer. But, I would still love to find a signing pad that can be used and controlled from FW. Please get back if you are able to make any progress. thank you, Reinaldo.
ActiveX problem
Try this way: [code=fw:2rgmeips]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<br /><br /><span style="color: #00C800;">local</span> oAct, oWnd<br /><br /><span style="color: #0000ff;">define</span> <span style="color: #0000ff;">window</span> ownd<br /><br />&nbsp;oAct:=TActiveX<span style="color: #000000;">&#40;</span>oWnd,<span style="color: #ff0000;">"esW25COM.esCapture"</span><span style="color: #000000;">&#41;</span><br />&nbsp;oAct:<span style="color: #000000;">bOnEvent</span>:=<span style="color: #000000;">&#123;</span>|e,a| Evento<span style="color: #000000;">&#40;</span>e,a<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />&nbsp;oAct:<span style="color: #000000;">SignDlgCaption</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"IntegriSign Signature Capture"</span><span style="color: #000000;">&#41;</span><br />&nbsp;oAct:<span style="color: #000000;">HashData</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"string txthashdata"</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// txtHashData.Text</span><br />&nbsp;oAct:<span style="color: #0000ff;">Cross</span> = Cross_ON <span style="color: #B900B9;">// you need know value of cross_on</span><br />&nbsp;oAct:<span style="color: #000000;">StartSign</span><span style="color: #000000;">&#40;</span> cA,cB <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// cmbBut.ListIndex, chkAppOptions(6).Value</span><br /><br /><span style="color: #0000ff;">activate</span> <span style="color: #0000ff;">window</span> ownd<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">function</span> Evento<span style="color: #000000;">&#40;</span> wEvent, aParams <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> i<br /><br />&nbsp;<span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span> wEvent , <span style="color: #ff0000;">"Evento"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> valtype<span style="color: #000000;">&#40;</span> aParams <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"A"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; <span style="color: #00C800;">for</span> i = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span> aParams <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Msginfo</span><span style="color: #000000;">&#40;</span>aParams<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span>,<span style="color: #ff0000;">"Params"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">next</span> i<br /><br />&nbsp;elseif <span style="color: #000000;">&#40;</span> ValType<span style="color: #000000;">&#40;</span> aParams <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"C"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style="color: #0000ff;">Msginfo</span><span style="color: #000000;">&#40;</span>aParams,<span style="color: #ff0000;">"Params"</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp;<span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:2rgmeips] <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
ActiveX problem
All: I'm testing an activex and having some problems. I an activate it with oSmtp = TActiveX():New(oWnd, "SocketTools.InternetMail.7" ) but I cannot access any of the properties or methods. I get an error message 'Error description: Error 11944840/3 DISP_E_MEMBERNOTFOUND: TO Args:' I can access the methods/properties if I create the object with: oSmtp := CreateObject("SocketTools.InternetMail.7") but I want to use it as an activex so I can process events. Does anyone have any idea what the problem may be? I can create/use other activex controls without a problem. I asked the author and this was their response: If the Initialize method returns any value other than 0, that’s a failure; the error that you’re getting indicates an invalid procedure call. There can be one of two general causes for this. First, all of the method arguments must be passed as variants or the language must be capable of converting its native data types into variants before invoking the method. Second, when an instance of the control is created, its container must flag it as being in "user mode" (i.e.: a running application, not in design mode). If the development tool that you're using doesn't set the ambient UserMode property to true, then initialization will fail and you won't be able to access most properties. I'm afraid I can't offer any specific details because I'm not familiar with xHarbour, but generally speaking, our controls expect that they're going to be running in an environment that fully supports the ActiveX control standard and in essence handles controls in exactly the same way that Visual Basic does. I"m using FHW 10.9 / xHarbour 10.9 Thanks, Randal
ActiveX problem
I have FiveWin 15.01 and xHarbour 1.2.3 Intl. (SimpLex) (Build 20151110) and I cant run any example with ActiveX. Program hand at this point: Activex.prg (line 77): ::hActiveX = CreateActiveX( ::hWnd, cProgID, Self ) Thanks ...
ActiveX problem
Please try to build this in fwh\samples folder: buildx.bat webexp Here it is working fine using FWH 16.03 What Windows version are you using ?
ActiveX problem
It's same ... program just stop. Hothing happens. I have Win10.
ActiveX problem
Could you consider using Harbour ?
ActiveX problem
I'm using SQLRDD xHarbour in my app for PostgreSQL access. As far I can see this is faster then ADORDD. Em I wrong maybe ?
ActiveX problem
Nobody has compared their speeds yet, as far as I know. If you already have your app coded with SQLRDD then there is no sense in using ADORDD. Yesterday I tested samples\webexp.prg (ActiveX) with xHarbour and FWH 16.03 and worked fine
ActiveX problem?
Hello Antonio, Look it below: [code:ey2wwkbz] DEFINE WINDOW oWnd TITLE "Test ActiveX" oActX &#58;= TActiveX&#40;&#41;&#58;New&#40; oWnd, "Codejock&#46;ReportControl&#46;10&#46;4&#46;2" &#41; oWnd&#58;oClient = oActX ACTIVATE WINDOW oWnd [/code:ey2wwkbz] [url=http&#58;//img153&#46;imageshack&#46;us/my&#46;php?image=fwhwndau9&#46;jpg:ey2wwkbz][img:ey2wwkbz]http&#58;//img153&#46;imageshack&#46;us/img153/1268/fwhwndau9&#46;th&#46;jpg[/img:ey2wwkbz][/url:ey2wwkbz] [code:ey2wwkbz] DEFINE DIALOG oDlg RESOURCE "Test_ACTIVEX" oActX &#58;= TActiveX&#40;&#41;&#58;ReDefine&#40; 100, oDlg, "Codejock&#46;CalendarControl&#46;10&#46;4&#46;2" &#41; ACTIVATE DIALOG oDlg [/code:ey2wwkbz] [url=http&#58;//img217&#46;imageshack&#46;us/my&#46;php?image=fwhdlgjs3&#46;jpg:ey2wwkbz][img:ey2wwkbz]http&#58;//img217&#46;imageshack&#46;us/img217/3719/fwhdlgjs3&#46;th&#46;jpg[/img:ey2wwkbz][/url:ey2wwkbz] Regards, Richard
ActiveX problem?
Hello Antonio, Add a method below: [code:23u5p5g7] DEFINE WINDOW oWnd TITLE "Test ActiveX" oActX &#58;= TActiveX&#40;&#41;&#58;New&#40; oWnd, "Codejock&#46;ReportControl&#46;10&#46;4&#46;2" &#41; oWnd&#58;oClient = oActX oActX&#58;Do&#40; "SetVirtualMode", 1000 &#41; ACTIVATE WINDOW oWnd [/code:23u5p5g7] Work fine. Please look Message 1 of picture 1 [code:23u5p5g7] DEFINE DIALOG oDlg RESOURCE "Test_ACTIVEX" oActX &#58;= TActiveX&#40;&#41;&#58;ReDefine&#40; 100, oDlg, "Codejock&#46;CalendarControl&#46;10&#46;4&#46;2" &#41; oActX&#58;Do&#40; "SetVirtualMode", 1000 &#41; ACTIVATE DIALOG oDlg [/code:23u5p5g7] I got error message. [url=http&#58;//img99&#46;imageshack&#46;us/my&#46;php?image=fwherrorjg8&#46;jpg:23u5p5g7][img:23u5p5g7]http&#58;//img99&#46;imageshack&#46;us/img99/8620/fwherrorjg8&#46;th&#46;jpg[/img:23u5p5g7][/url:23u5p5g7] Regards, Richard
ActiveX problem?
[code:tpeqo1o6] DEFINE DIALOG oDlg RESOURCE "Test_ACTIVEX" REDEFINE ACTIVEX oActX ID 100 OF oDlg PROGID "Codejock&#46;CalendarControl&#46;10&#46;4&#46;2" ACTIVATE DIALOG oDlg ; ON INIT &#40; oActX&#58;nTop &#58;= 0, oActX&#58;nLeft &#58;= 0, oActX&#58;nWidth &#58;= oDlg&#58;nWidth, oActX&#58;nHeight &#58;= oDlg&#58;nHeight, oActX&#58;Do&#40; "SetVirtualMode", 1000 &#41; [/code:tpeqo1o6]
ActiveX problem?
Richard or Antonio, I don't know much about ADO, but unlike Word or Excel, the calendar control is not (I presume) already installed on the users computer. So how does this work; is the control linked into the app as a library? James
ActiveX program
Hello All, I was wondering if it is possible to make FWH program listen and respond to another programs activex calls to it? Thanks
ActiveX program
Dave, Without having further details about what you need to do, you may review Windows msg WM_COPYDATA. There is a working sample at samples\copydata_16_32 the WM_COPYDATA message is sent when an application passes data to another application WM_COPYDATA wParam = (WPARAM) (HWND) hwnd; // handle of sending window lParam = (LPARAM) (PCOPYDATASTRUCT) pcds; // pointer to structure with data Parameters hwnd Identifies the window passing the data. pcds Points to a COPYDATASTRUCT structure that contains the data to be passed. Return Values If the receiving application processes this message, it should return TRUE; otherwise, it should return FALSE. Remarks An application must use the SendMessage function to send this message, not the PostMessage function. The data being passed must not contain pointers or other references to objects not accessible to the application receiving the data. While this message is being sent, the referenced data must not be changed by another thread of the sending process. The receiving application should consider the data read-only. The pcds parameter is valid only during the processing of the message. The receiving application should not free the memory referenced by pcds. If the receiving application must access the data after SendMessage returns, it must copy the data into a local buffer. See Also PostMessage, SendMessage, COPYDATASTRUCT
ActiveX program
Also, you can use sockets. Please review samples\sockserv.prg and sockcli.prg
ActiveX program
Antonio, I will give a good look at the program you mentioned. It may be what I am looking for. Thanks
ActiveX program
OK I think I can pose my question better. I looked at the fwcopy16 program and it may be a part of the answer to my question. If I have an application (A) that is residing on the C drive as an exe and I wanted to make an activex call to that application from another application (B) that I am running. Two questions. Does application (A) need to be running or registered with operating system in any way? And in application (B) what syntax would I use to call it? example like: oActiveX1 = TActiveX():New( oWnd, "Shell.Explorer" ) oPdf = TActiveX():New( oWnd, "AcroPDF.PDF" ) Let me know if I am way off. Thanks
ActiveX program
Dave, What you describe seems possible to be implemented. If you provide us some more exact details then we may be able to provide you more help
ActiveX program
PMJI, I remember I saw in xHarbour.com website that the commercial version of xHarbour support ActiveX server, I mean, that you can turn your xHabour application into an ActiveX server, not only an ActiveX client. Take a look into <!-- w --><a class="postlink" href="http://www.xharbour.com">www.xharbour.com</a><!-- w -->
ActiveX program
Rene, I will take a look, that sounds like what I am talking about. Thanks
ActiveX properties
... oObj := TActiveX():New(oWnd, "MyControl") oPanels := oObj:GetProp("Panels") oPanels:Do("Add", "Item 1") oPanels:Do("Add", "Item 2") ... Can I access to activex properties like this? Regards
ActiveX properties
Roberto, oPanels is not an ActiveX, so you have to do it this way: [code:titlllgr] oObj &#58;= TActiveX&#40;&#41;&#58;New&#40;oWnd, "MyControl"&#41; oPanels &#58;= oObj&#58;GetProp&#40; "Panels" &#41; OleInvoke&#40; oPanels, "Add", "Item 1" &#41; OleInvoke&#40; oPanels, "Add", "Item 2" &#41; [/code:titlllgr]
ActiveX properties
Thx Antonio, now it works. What about a more simple access to propertyies and methods like xHarbour Activex? oObj := TActiveX():New(oWnd, "MyControl") oObj:Panels:Add("Item1") oObj:Panels:Add("Item2") ... Regards, Roberto Parisi
ActiveX properties
Roberto, Yes, we may implement it.
ActiveX question?
Hello Antonio, If I define window for ActiveX, work fine. [code:54oopnxy] DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support" oActiveX = TActiveX&#40;&#41;&#58;New&#40; oWnd, "oa&#46;oactrl&#46;1" &#41; oWnd&#58;oClient = oActiveX oActiveX&#58;Do&#40; "ShowToolBars", &#46;t&#46; &#41; oActiveX&#58;Do&#40; "Open", "c&#58;\&#35336;&#31639;&#46;xls" &#41; ACTIVATE WINDOW ownd on init oActiveX&#58;Do&#40; "Open", "c&#58;\&#35336;&#31639;&#46;xls" &#41; [/code:54oopnxy] If I define Dialog for ActiveX, work. but disappear any action. [code:54oopnxy] DEFINE DIALOG oDlg RESOURCE "D_DR_WIN_TestActiveX" REDEFINE ACTIVEX oActiveX ID 10000 OF oDlg ; PROGID "oa&#46;oactrl&#46;1" ACTIVATE DIALOG oDlg CENTER on init init oActiveX&#58;Do&#40; "Open", "c&#58;\&#35336;&#31639;&#46;xls" &#41; [/code:54oopnxy] I use xHarbour 0.99.4+FWH2.6+BCC55 Regards, Richard
ActiveX question?
Richard, Have you defined the activex control in your RC as "TActiveX" ?
ActiveX question?
Hello Antonio, Yes, I had define it as you said. Richard
ActiveX question?
Hello Antonio, This is my Resource RC below: [code:2y0sotd2] D_DR_WIN_TESTACTIVEX DIALOG 4, 36, 458, 263 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "ActiveX" FONT 12, "&#32048;&#26126;&#39636;" &#123; CONTROL "", 10000, "TActiveX", 0 | WS_CHILD | WS_VISIBLE, 3, 2, 454, 260 &#125; [/code:2y0sotd2] Richard
ActiveX question?
Hello Antonio, I found new question below: [code:390p1duf] DEFINE DIALOG oDlg RESOURCE "D_DR_WIN_TestActiveX" REDEFINE ACTIVEX oActiveX ID 10000 OF oDlg ; PROGID "oa&#46;oactrl&#46;1" oActiveX&#58;Do&#40; "ShowToolBars", &#46;t&#46; &#41; ==> New add oActiveX&#58;Do&#40; "Open", "c&#58;\&#35336;&#31639;&#46;xls" &#41; ==> New add ACTIVATE DIALOG oDlg CENTER ; on init &#40; oActiveX&#58;Do&#40; "ShowToolBars", &#46;t&#46; &#41;,; oActiveX&#58;Do&#40; "Open", "c&#58;\&#35336;&#31639;&#46;xls" &#41; &#41; [/code:390p1duf] If I New add two line code and get GPF occurred. Called from ACTXPDISP(0) Called from TACTIVEX&#058;DO(297) Called from TestActiveX(197) .......
ActiveX question?
Richard, You can not send msgs to the activex before the dialogbox has been initialized, as the activex has not been initialized yet too.
ActiveX question?
Hello Antonio, I see. But why not appear in my Resource ActiveX? if I have not add New line. Richard
ActiveX question?
Richard, > But why not appear in my Resource ActiveX? if I have not add New line. I don't understand what you mean, sorry.
ActiveX question?
Hello Antonio, Let's return first message. Please review my codes. My code use 1.DEFINE WINDOW 2.REDEFINE DIALOG Problem is REDEFINE DIALOG .... REDEFINE ACTIVEX Why not disappear ActiveX function? Regards, Richard
ActiveX question?
Richard, Do you mean that oActiveX&#058;Do( "Open", "c:\&#35336;&#31639;.xls" ) does not work ?
ActiveX question?
Richard, Only DEFINE WINDOW can use with ActiveX this is same with DEFINE TIMER TIMER CAN'T work with DIALOG Best Regard areang
ActiveX question?
This is not true: [code:jcapplew]#include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oDlg, oTmr DEFINE DIALOG oDlg DEFINE TIMER oTmr OF oDlg; INTERVAL 1000; ACTION TONE&#40; 440, 1 &#41; ACTIVATE DIALOG oDlg; ON INIT &#40; oTmr&#58;hWndOwner &#58;= oDlg&#58;hWnd,; oTmr&#58;Activate&#40;&#41; &#41;; CENTER RELEASE TIMER oTmr RETURN NIL[/code:jcapplew] EMG
ActiveX question?
Hello Antonio, [quote="Antonio Linares":3gqv8ed6]Richard, Do you mean that oActiveX&#058;Do( "Open", "c:\&#35336;&#31639;.xls" ) does not work ?[/quote:3gqv8ed6] Yes, it's not work(Disappear). Richard
ActiveX question?
Richard, What do you mean with "disappear" ? Does the ActiveX gets hidden ?
ActiveX question?
[quote="Antonio Linares":1tb6kntx]Richard, What do you mean with "disappear" ? Does the ActiveX gets hidden ?[/quote:1tb6kntx] Hello Antonio, Look it. DEFINE WINDOW OK. [url=http&#58;//imageshack&#46;us:1tb6kntx][img:1tb6kntx]http&#58;//img222&#46;imageshack&#46;us/img222/5853/acxwndgu9&#46;jpg[/img:1tb6kntx][/url:1tb6kntx] DEFINE DIALOG REDEFINE ACTIVEX not display [url=http&#58;//imageshack&#46;us:1tb6kntx][img:1tb6kntx]http&#58;//img213&#46;imageshack&#46;us/img213/6762/acxdlgco5&#46;jpg[/img:1tb6kntx][/url:1tb6kntx] Richard
ActiveX question?
Richard, That was fixed on a past FWH build. Please email me your sample code and we will build it here.
ActiveX question?
Antonio, Ok. I'll send to you. Richard
ActiveX question?
Richard, Tested and working ok using "OWC11.Spreadsheet"
ActiveX question?
[quote="Antonio Linares":pginkt4r]Richard, Tested and working ok using "OWC11.Spreadsheet"[/quote:pginkt4r] Antonio, Yes, it's working within Dialog. But I use some 3rd party ActiveX to help my customer. Any idea or suggestion? Richard
ActiveX question?
What OCX is it ?
ActiveX question?
Enrico, Thank to reply about timer on dialog I missing to add oTmr:hWndOwner := oDlg:hWnd Now work fine. How about OCX with DIALOG ? Best Regard Areang
ActiveX question?
[quote="areang":13ne1bno]Enrico, Thank to reply about timer on dialog I missing to add oTmr:hWndOwner := oDlg:hWnd Now work fine. How about OCX with DIALOG ? Best Regard Areang[/quote:13ne1bno] I don't know, sorry. EMG
ActiveX question?
Areang, > How about OCX with DIALOG ? We have tested it and it works fine.
ActiveX question?
[quote="Antonio Linares":e9pzjhhk]What OCX is it ?[/quote:e9pzjhhk] Antonio, Please visit this web. [url:e9pzjhhk]http&#58;//www&#46;officeocx&#46;com/OfficeActiveX&#46;htm[/url:e9pzjhhk] Richard
ActiveX question?
Hello Antonio, Could you try Play GIF ActiveX within Resource Dialog? Could you fix this problem? Regards, Richard
ActiveX question?
Richard, The animated GIF is properly working on a dialog, though the OCX control does not paint very well (it paints a strange border around).
ActiveX question?
[quote="Antonio Linares":3lbpswzq]Richard, The animated GIF is properly working on a dialog, though the OCX control does not paint very well (it paints a strange border around).[/quote:3lbpswzq] Antonio, So how to do it? or any suggestion or solution? Richard
ActiveX question?
Richard, You may ask the OCX manufacturer. We have noticed the same strange behavior with Visual Basic. This is the working code: [code:jnue6qo6] #include "FiveWin&#46;ch" Function TestActiveX_Dlg&#40;&#41; LOCAL oDlg, oActiveX DEFINE WINDOW oDlg @ 1, 1 ACTIVEX oActiveX OF oDlg ; PROGID "ANIMATEDGIF&#46;AnimatedGifCtrl&#46;1" oActiveX&#58;Do&#40; "AnimatedGif", "world&#46;gif" &#41; oActiveX&#58;Do&#40; "Play" &#41; ACTIVATE WINDOW oDlg RETURN NIL [/code:jnue6qo6] And here you have an AVI file: <!-- m --><a class="postlink" href="http://hyperupload.com/download/0230e60253/world.zip.html">http://hyperupload.com/download/0230e60 ... d.zip.html</a><!-- m -->
ActiveX question?
Here you have the EXE: <!-- m --><a class="postlink" href="http://hyperupload.com/download/02ea275455/TestActX.zip.html">http://hyperupload.com/download/02ea275 ... X.zip.html</a><!-- m -->
ActiveX question?
[quote="Antonio Linares":2r1bk94x]Here you have the EXE: <!-- m --><a class="postlink" href="http://hyperupload.com/download/02ea275455/TestActX.zip.html">http://hyperupload.com/download/02ea275 ... X.zip.html</a><!-- m -->[/quote:2r1bk94x] Antonio, But I test some ActiveX( maybe OCX ) components, Define Window work OK, but Resource Dialog not work. I just think why Window OK, Resource Dialog not OK Richard
ActiveX question?
Richard, The EXE we have provided you is a DIALOG and it works fine.
ActiveX question?
[quote="Antonio Linares":tisr9k3j]Richard, The EXE we have provided you is a DIALOG and it works fine.[/quote:tisr9k3j] Antonio, I look your sample code not Dialog. It's Window. I want Resource Dialog and REDEFINE ActiveX oActiveX ..ID Richard
ActiveX shell.explorer
Fala Pessoal! Estou tendo um problema usando o activex shell.explorer. Uso ele para abrir uma pagina web em uma window ou dialog. Acontece que, de forma intermitente, ocorre erro gpf ao abrir a pagina. Alguem tem idéia do que pode estar ocorrendo? Exemplo do código: [code=fw:2mzn38hs]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> WebExe<span style="color: #000000;">&#40;</span>cLink<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> oDlg<br /><span style="color: #00C800;">Local</span> oActiveX<br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oDlg <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Help Online"</span><br /><br />   oActiveX   := TActiveX<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> oDlg, <span style="color: #ff0000;">"Shell.Explorer"</span><span style="color: #000000;">&#41;</span><br />   <br />   oDlg:<span style="color: #000000;">oClient</span> = oActiveX<br />   <br />   oActiveX&#<span style="color: #000000;">058</span>;bOnEvent = <span style="color: #000000;">&#123;</span> | event, aParams, pParams | EventInfo<span style="color: #000000;">&#40;</span> event, aParams, pParams, oActiveX ,<span style="color: #ff0000;">"LINK DE ERRO"</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />   <br />   <br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oDlg <span style="color: #0000ff;">MAXIMIZED</span> <span style="color: #0000ff;">On</span> <span style="color: #0000ff;">Init</span> <span style="color: #000000;">&#40;</span>Navega<span style="color: #000000;">&#40;</span>oActiveX,cLink<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><span style="color: #00C800;">Return</span><br /><br /><br /><span style="color: #00C800;">Static</span> <span style="color: #00C800;">Function</span> Navega<span style="color: #000000;">&#40;</span>oActiveX,cLink<span style="color: #000000;">&#41;</span><br /><br />oActiveX&#<span style="color: #000000;">058</span>;Do<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'Navigate2'</span>,cLink<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">while</span> oActiveX&#<span style="color: #000000;">058</span>;Document == <span style="color: #00C800;">nil</span><br />   SysRefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />end<br /><br /><span style="color: #00C800;">Return</span> .t.<br /><br /><br /><br /><br /><span style="color: #00C800;">Static</span> <span style="color: #00C800;">function</span> EventInfo<span style="color: #000000;">&#40;</span> event, aParams, pParams, oActiveX , cLinkPad <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">If</span> cValToChar<span style="color: #000000;">&#40;</span> event <span style="color: #000000;">&#41;</span>==<span style="color: #ff0000;">"NavigateError"</span> .and. <span style="color: #000000;">&#40;</span>lWebError==<span style="color: #00C800;">Nil</span> .or. !lWebError<span style="color: #000000;">&#41;</span><br />      lWebError := .t.<br />      oActiveX&#<span style="color: #000000;">058</span>;Navigate<span style="color: #000000;">&#40;</span>cLinkPad<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">EndIF</span><br /><span style="color: #00C800;">return</span> <br /> </div>[/code:2mzn38hs] Erro: [img:2mzn38hs]http&#58;//img406&#46;imageshack&#46;us/img406/483/gpfc&#46;jpg[/img:2mzn38hs]
ActiveX shell.explorer
eu uso com janela. ex: [code=fw:3btft0z1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> AbreWebWin<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; <span style="color: #00C800;">Local</span> oWndWeb, oActiveX, cURL:=<span style="color: #ff0000;">"http://www.google.com.br"</span><br /><br />&nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWndWeb <span style="color: #0000ff;">From</span> <span style="color: #000000;">10</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">To</span> <span style="color: #000000;">43</span>,<span style="color: #000000;">90</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"teste web"</span><br /><br />&nbsp; &nbsp;oActiveX = TActiveX<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> oWndWeb, <span style="color: #ff0000;">"Shell.Explorer"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWndWeb:<span style="color: #000000;">oClient</span> = oActiveX<br />&nbsp; &nbsp;oActiveX&#<span style="color: #000000;">058</span>;Do<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Navigate"</span>, cURL<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oWndWeb:<span style="color: #0000ff;">center</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWndWeb <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> BARRABOTOESMSN<span style="color: #000000;">&#40;</span>oWndWeb, oActiveX<span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><br />&nbsp;</div>[/code:3btft0z1]
ActiveX shell.explorer
Aqui samples\webexp.prg funciona bien y nunca ha dado ese problema. Puedes probar el ejemplo estandard webexp.prg que nosotros incluimos en FWH ? gracias
ActiveX support!
ActiveX support is already working <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Now we are building some tests and we will publish a new build asap
ActiveX support!
Greetings Antonio, This is great news!! I look forward to seeing some examples of to implement ActiveX.
ActiveX support!
Bill, We use the same syntax as in FWH. Quite simple <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> : [code:3dzwdcj0] #include "FWCE&#46;ch" function Main&#40;&#41; local oWnd, oActiveX local cEvents &#58;= "" DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support" oActiveX = TActiveX&#40;&#41;&#58;New&#40; oWnd, "WMPlayer&#46;OCX" &#41; oWnd&#58;oClient = oActiveX // To fill the entire window surface oActiveX&#58;SetProp&#40; "url", CurDir&#40;&#41; + "\clapping&#46;wav" &#41; oActiveX&#58;bOnEvent = &#123; | event, aParams, pParams | cEvents += EventInfo&#40; event, aParams, pParams, oActiveX &#41; &#125; ACTIVATE WINDOW oWnd ; VALID &#40; MsgInfo&#40; cEvents &#41;, &#46;t&#46; &#41; return nil function EventInfo&#40; event, aParams, pParams, oActiveX &#41; local cMsg &#58;= "Event&#58; " + cValToChar&#40; event &#41; + CRLF local n cMsg += "Params&#58; " + CRLF for n = 1 to Len&#40; aParams &#41; cMsg += cValToChar&#40; aParams&#91; n &#93; &#41; + CRLF next return cMsg + CRLF [/code:3dzwdcj0]
ActiveX support!
Dear Antonio, I am getting an illegal operation trying to perform the following ActiveX call on Win CE 4. What am I doing wrong? //-------------------------------------------------------------------- DEFINE WINDOW oWnd2 TITLE Ptitle + " - Transmit" oActiveX = TActiveX():New( oWnd2, "Shell.Explorer" ) oWnd2:oClient = oActiveX oActiveX&#058;SetProp( "url", , Pdd + cPost + ".HTM" ) ACTIVATE WINDOW oWnd2
ActiveX window runs minimized
I am having a problem with the following code. When the window is activated it displays for a brief second then goes to the task bar (minimized); I then need to click the task bar item for the window to reappear. What can I do so the window does not run minimized? I have tried the following with no luck. ACTIVATE WINDOW oWnd2 ON INIT BringWindowToTop( oWnd2:hWnd ) ACTIVATE WINDOW oWnd2 ON INIT ShowWindow( oWnd2, 1) ACTIVATE WINDOW oWnd2 ON INIT ShowWindow( oWnd2, 5 ) ACTIVATE WINDOW oWnd2 ON INIT ShowWindow( oWnd2, 9) ACTIVATE WINDOW oWnd2 NORMAL // Source below... MENU oMenu MENUITEM "&Close" ACTION ( oWnd2:End() ) ENDMENU DEFINE WINDOW oWnd2 FROM 0, 0 TO 40, 85 MENU oMenu oActiveX = TActiveX():New( oWnd2, "Shell.Explorer" ) oWnd2:oClient = oActiveX oActiveX&#058;Do( "Navigate2", cAesdd + cHan ) ACTIVATE WINDOW oWnd2 NORMAL Thank you,
ActiveX window runs minimized
Darrell, I don't know if either of these will work, but you can try: SetForeGroundWindow( hWnd ) Or, SetActiveWindow( hWnd ) You might also try a sysRefresh() afterward. James
ActiveX window runs minimized
Hi James, Thank you, I will try to use these two with ON INIT
ActiveX window runs minimized
Darrell, You may also try: ACTIVATE WINDOW oWnd2 NORMAL ; ON INIT SetFocus( oWnd2:hWnd )
ActiveX window runs minimized
Thank you James and Antonio; I tried all three with and without sysrefresh() and it did not work. Any chance it has something to do wiht IE7?
ActiveX window runs minimized
Darrell, Could you provide a small and self contained sample to test it here ? thanks
ActiveX window runs minimized
Darrell, This works for fine here (and it is visible): [code:31lhq8qs]// Test ActiveX #include "fivewin&#46;ch" function main&#40;&#41; local oWnd,oActiveX DEFINE WINDOW oWnd oActiveX = TActiveX&#40;&#41;&#58;New&#40; oWnd, "Shell&#46;Explorer" &#41; oWnd&#58;oClient = oActiveX oActiveX&#58;Do&#40; "Navigate2", "www&#46;microsoft&#46;com" &#41; ACTIVATE WINDOW oWnd return nil[/code:31lhq8qs]
ActiveX with eN-Touch 1000
Hi. I need help interfacing to a signature capture device. The device has an lcd where you can display text using an activex component and another activex to capture a signature. My objective is to display contract information and then gather someone's signature. Store the form and the signature for later printing. <!-- m --><a class="postlink" href="http://www.ingenico-us.com/products/pdfs/tch1000.pdf">http://www.ingenico-us.com/products/pdfs/tch1000.pdf</a><!-- m --> I simply have no idea how to get started on this. I can email all the documentation and ocxs. Can someone help? Thank you, Reinaldo Crespo-Bazán.
ActiveX with eN-Touch 1000
You can send me the info if you want and i will check it this weekend. i've work with many OCX, so maybe i can help you. Regards. <!-- e --><a href="mailto:jcso@esm.com.mx">jcso@esm.com.mx</a><!-- e -->
ActiveX with eN-Touch 1000
Verce! Thank you very much. I've just emailed you the zipped file with documentation and ocxs. The zipped file is 10mb. If it doesn't reach you, please let me know. ok? You can write to me at: reinaldocrespo arroba structuredsystems punto com Reinaldo.
ActiveX with events - demo!
You may download samples\webexp.prg with events support from here: <!-- m --><a class="postlink" href="http://hyperupload.com/download/83ddff56/webexp.zip.html">http://hyperupload.com/download/83ddff5 ... p.zip.html</a><!-- m --> Source code and EXE included.
ActiveX with events - demo!
Another sample from samples\media.prg using events: <!-- m --><a class="postlink" href="http://hyperupload.com/download/cc868225/media.zip.html">http://hyperupload.com/download/cc868225/media.zip.html</a><!-- m -->
ActiveX with events - demo!
This is great .Will it be inside May fwh upgrade?
ActiveX with events - demo!
Ask, It will be available on early days of March.
ActiveX with events - demo!
[quote="Antonio Linares":2egjd316]Ask, It will be available on early days of March.[/quote:2egjd316] Antonio <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Excellent ! This is a great job, Congrats, Richard
ActiveX y Word
Estimado Estoy compilando el ejemplo fwh\samples\word y me mando error de memoria no se puede leer...blabla.. pero compilo los otros ejemplos y funcionan bien [code:1nwewdhe]#include "FiveWin&#46;ch" function Main&#40;&#41; local oWnd, oActiveX DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support" oActiveX = TActiveX&#40;&#41;&#58;New&#40; oWnd, "Word&#46;Application&#46;8" &#41; alert&#40; oActivex&#58;Classname &#41; oWnd&#58;oClient = oActiveX // To fill the entire window surface ACTIVATE WINDOW oWnd return nil [/code:1nwewdhe] ahora el nombre "Word.Application.8", depende de alguna version en especial?, ya que tengo office2003 Bueno en realidad lo que quiero hacer es enviar un documento y luego que lo impriman saludos Patricio
ActiveX y Word
Baje el ejemplo que antonio puso en el post [url:xqfcyyrt]http&#58;//fivetechsoft&#46;com/forums/viewtopic&#46;php?t=4404&postdays=0&postorder=asc&start=0[/url:xqfcyyrt] [url:xqfcyyrt]http&#58;//hyperupload&#46;com/download/0287ba6816/pdf&#46;zip&#46;html[/url:xqfcyyrt] y me salio el mismo error [url:xqfcyyrt]http&#58;//img457&#46;imageshack&#46;us/my&#46;php?image=activexeo9&#46;jpg[/url:xqfcyyrt] Ahora la pregunta, al utilizar activeX y cambien de version los usuarios, puede provocar que salga este error?? Saludos Patricio
ActiveX y Word
Hello What's version of FWH and xHarbour? Richard
ActiveX y Word
Amiguinho Tentas antes: [code:11cq790m] if IsActivex&#40; "Word&#46;Application&#46;8" &#41; cString &#58;= "Word&#46;Application&#46;8" endif if IsActivex&#40; "Word&#46;Application&#46;9" &#41; cString &#58;= "Word&#46;Application&#46;9" endif if IsActivex&#40; "Word&#46;Application&#46;10" &#41; cString &#58;= "Word&#46;Application&#46;10" endif if IsActivex&#40; "Word&#46;Application&#46;11" &#41; cString &#58;= "Word&#46;Application&#46;11" endif oActiveX = TActiveX&#40;&#41;&#58;New&#40; oWnd, cString &#41; [/code:11cq790m]