messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2006-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Juan Carlos,\n\nYa tenemos algunos avances con los eventos. Confiamos en poder completarlos.", "time": "20:59", "topic": "ActiveX -- Para Antonio", "username": "Antonio Linares" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Antonio.\nAprovechando, explícame algo por favor..\nPorqué es posible usar un control ActiveX en una\nventana y en un dialogo no?\n\nSe podrá desde recursos??\n\nGracias", "time": "22:09", "topic": "ActiveX -- Para Antonio", "username": "VeRCE" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Juan Carlos,\n\nAcabamos de probar los ActiveX en diálogos y funcionan correctamente. Aquí tienes un ejemplo:\n\n[code:ungnlkvp]\n#include \"FiveWin.ch\"\n\nfunction Main()\n\n local oDlg\n\n DEFINE DIALOG oDlg TITLE \"FiveWin ActiveX Support\" SIZE 500, 300\n\n ACTIVATE DIALOG oDlg ;\n ON INIT SetActX( oDlg ) ;\n CENTERED\n\nreturn nil\n\nfunction SetActX( oDlg )\n\n local oActiveX := TActiveX():New( oDlg, \"Shell.Explorer\" )\n\n oDlg:oClient = oActiveX // To fill the entire window surface\n oDlg:Resize()\n\n oActiveX:Do( \"GoHome\" )\n\nreturn nil\n[/code:ungnlkvp]\n\nLo que sí falta es implementar el método Redefine()", "time": "22:46", "topic": "ActiveX -- Para Antonio", "username": "Antonio Linares" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Juan Carlos,\n\nAquí está la Clase TActiveX con el método Redefine() y otros necesarios implementados: <!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/dbb97186/activex.zip.html\">http://hyperupload.com/download/dbb9718 ... x.zip.html</a><!-- m -->\n\nY aquí un ejemplo de uso:\n[code:1t2x55u2]\n// Using an ActiveX in a dialog&#46;\n\n#include \"FiveWin&#46;ch\"\n\nfunction Main&#40;&#41;\n\n local oDlg, oActiveX\n\n DEFINE DIALOG oDlg RESOURCE \"Test\"\n\n oActiveX = TActiveX&#40;&#41;&#58;Redefine&#40; 10, oDlg, \"Shell&#46;Explorer\" &#41;\n \n ACTIVATE DIALOG oDlg CENTERED ;\n ON INIT oActiveX&#58;Do&#40; \"GoHome\" &#41;\n\nreturn nil\n[/code:1t2x55u2]\n\n[code:1t2x55u2]\n#ifdef __FLAT__\n 1 24 \"&#46;/&#46;&#46;/WinXP/WindowsXP&#46;Manifest\"\n#endif\n#define DIALOG_1\t1\n\nTest DIALOG 84, 77, 194, 119\nSTYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU\nCAPTION \"ActiveX Test\"\nFONT 8, \"MS Sans Serif\"\n&#123;\n CONTROL \"\", 10, \"TActiveX\", 0 | WS_CHILD | WS_VISIBLE, 11, 9, 171, 100\n&#125;\n[/code:1t2x55u2]", "time": "23:43", "topic": "ActiveX -- Para Antonio", "username": "Antonio Linares" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Y el comando que lo hace más sencillo de usar:\n\n[code:beeuetr3]\n#xcommand REDEFINE ACTIVEX <oActX> ;\n &#91; ID <nId> &#93;;\n &#91; <of&#58; OF, WINDOW, DIALOG> <oWnd> &#93; ;\n &#91; PROGID <cProgID> &#93; ;\n => ;\n <oActX> &#58;= TActiveX&#40;&#41;&#58;Redefine&#40; <nId>, <oWnd>, <cProgID> &#41;\n[/code:beeuetr3]\n\nREDEFINE ACTIVEX oActiveX ID 10 OF oDlg PROGID \"Shell.Explorer\"", "time": "23:52", "topic": "ActiveX -- Para Antonio", "username": "Antonio Linares" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Hello Antonio,\n\nCould you send to me this file?\nMy NB can't download it.\nThank you.\n\nRegards,\n\nRichard\n<!-- e --><a href=\"mailto:richard.service@seed.net.tw\">richard.service@seed.net.tw</a><!-- e -->", "time": "02:47", "topic": "ActiveX -- Para Antonio", "username": "Taiwan" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Richard,\n\nAlready sent.", "time": "11:57", "topic": "ActiveX -- Para Antonio", "username": "Antonio Linares" } ]
ActiveX -- Para Antonio
[ { "date": "2006-01-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Que tal Antonio \n\nRecién llego a la oficina y veo esto que acabas\nde poner y solo me resta decirte\n\nMIL GRACIAS! está genial !!!!\n\nSaludos", "time": "16:25", "topic": "ActiveX -- Para Antonio", "username": "VeRCE" } ]
ActiveX -- Para Antonio
[ { "date": "2006-03-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello All,\n\nHow can I pass parameter as address ? Putting @ sign in front of variable name do not seem to work.\n\nCan anyone guide me ?\n\nTIA\nMilan.", "time": "18:02", "topic": "ActiveX : How can I pass parameter as Address ?", "username": "Milan Mehta" } ]
ActiveX : How can I pass parameter as Address ?
[ { "date": "2006-03-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nWhat type of parameter value do you need to supply by address ?", "time": "19:33", "topic": "ActiveX : How can I pass parameter as Address ?", "username": "Antonio Linares" } ]
ActiveX : How can I pass parameter as Address ?
[ { "date": "2006-03-31", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":16lnyize]Milan,\n\nWhat type of parameter value do you need to supply by address ?[/quote:16lnyize]\n\nI need to pass character string.\n\nMilan.", "time": "05:18", "topic": "ActiveX : How can I pass parameter as Address ?", "username": "Milan Mehta" } ]
ActiveX : How can I pass parameter as Address ?
[ { "date": "2006-03-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nThere is no need to use @ as strings are passed by address (reference) always.", "time": "08:18", "topic": "ActiveX : How can I pass parameter as Address ?", "username": "Antonio Linares" } ]
ActiveX : How can I pass parameter as Address ?
[ { "date": "2006-04-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Antonio,\n\nI want to use an ActiveX control which has developer licensing; on the basis of developer license, it has free runtime license.\n\nIt ask for Runtime License at the compile time by using CtrlFactory:GetLicenseKey COM method. (As its document states).\n\nHow can I achieve it ?\n\nEagerly awaiting your reply,\n\nMilan.", "time": "07:57", "topic": "ActiveX Control : Developer Licensing.", "username": "Milan Mehta" } ]
ActiveX Control : Developer Licensing.
[ { "date": "2006-04-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nSorry, its not supported yet.", "time": "10:44", "topic": "ActiveX Control : Developer Licensing.", "username": "Antonio Linares" } ]
ActiveX Control : Developer Licensing.
[ { "date": "2006-04-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Antonio,\n\nAny plan to implement it in near future ? It will help me to use the third party ActiveX Control.\n\nMilan.\n\n[quote=\"Antonio Linares\":sj1ig7pd]Milan,\n\nSorry, its not supported yet.[/quote:sj1ig7pd]", "time": "05:31", "topic": "ActiveX Control : Developer Licensing.", "username": "Milan Mehta" } ]
ActiveX Control : Developer Licensing.
[ { "date": "2006-04-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Milan,\n\nWe can't say a date. We do know there is an API to do it, but we need to do some more research.", "time": "09:49", "topic": "ActiveX Control : Developer Licensing.", "username": "Antonio Linares" } ]
ActiveX Control : Developer Licensing.
[ { "date": "2006-04-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio..\n\nBy the way.... is there some other stuffs missed in ActiveX support ??", "time": "15:37", "topic": "ActiveX Control : Developer Licensing.", "username": "VeRCE" } ]
ActiveX Control : Developer Licensing.
[ { "date": "2006-04-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Juan Carlos,\n\nNo, that we may know about.", "time": "16:37", "topic": "ActiveX Control : Developer Licensing.", "username": "Antonio Linares" } ]
ActiveX Control : Developer Licensing.
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Everybody,\n\nI have an ActiveX DLL that I need to call functions from.\n\nI have not tried any ActiveX before and do not know where to start.\n\nCan someone give me some pointers as to how to call functions inside an ActiveX DLL.\n\n\nThanks,", "time": "14:02", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nPlease make a search for TActiveX in these forums. \n\nThere are many examples", "time": "14:24", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "[url=http&#58;//imageshack&#46;us:2vdv6401][img:2vdv6401]http&#58;//img357&#46;imageshack&#46;us/img357/4264/searchko6&#46;png[/img:2vdv6401][/url:2vdv6401]", "time": "14:27", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI've been looking at the different posts but I can not see how I tell my program that I want to use MyFile.DLL.\n\nIt looks like once I get that figured out I would be using commands like:\n\noActiveX&#058;DO(\"MyFunction\")\n\nIs that correct?", "time": "19:21", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "I guess step one is:\n\nhPOX := LoadLibrary(\"\\DLL\\MyFile.DLL\")\n\n\n\nBut how do I setup the oActiveX object?", "time": "19:31", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nThe first step is to know the PROGID (is a string) of the ActiveX that you are going to use. \n\ni.e. for Microsoft Excell the progid is \"OWC11.Spreadsheet\"\n\nWhats the activex that you are going to use ?", "time": "20:50", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "it is a 3rd party ActiveX that is used to control a medical device.\n\nAny idea on how I would find the PROGID.\n\nI looked at the DLL file with OleView (via the ITypeLib Viewer) but I can not see anything that looks like the ID.", "time": "21:21", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nDon't you have access to that ActiveX docs ?\n\nYou can also use its GUID instead of its PROGID ( <!-- m --><a class=\"postlink\" href=\"http://en.wikipedia.org/wiki/Globally_Unique_Identifier\">http://en.wikipedia.org/wiki/Globally_Unique_Identifier</a><!-- m --> ) which usually looks as a long sequence of numbers separated by \"-\" and between \"{\" and \"}\"\n\nHave you tried to instantiate the ActiveX from VB and review its properties ?", "time": "21:43", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Try this:\n\n828B8942-5924-4BD3-963D-20786181A6A4\n\n\nEMG", "time": "22:28", "topic": "ActiveX DLL Functions", "username": "Enrico Maria Giordano" } ]
ActiveX DLL Functions
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "When I try to do:\n\n\noPulseOX = TActiveX():New( oMainWnd, \"{828B8942-5924-4BD3-963D-20786181A6A4}\" )\n\nI get an empty white box in the upper left corner and the windows error:\n\nEzSat.exe has encountered a problem and needs to close. We are sorry for the inconvenience.\n\nIs there something I need to link into my app?\n\nThanks,", "time": "23:49", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nDo you get an error.log file ?", "time": "00:52", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Sorry, no error.log file is generated.", "time": "01:11", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nHave you tried that ActiveX with Visual Basic ?", "time": "01:31", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI have no way to test with Vb.", "time": "02:05", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nI am no ActiveX expert, but if I remember correctly ActiveX components have to be registered in the registry. You might do a Google on it.\n\nJames", "time": "02:11", "topic": "ActiveX DLL Functions", "username": "James Bott" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\nIf I check with OleView it is listed under \"Type Libraries\"\n\nJeff", "time": "02:15", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nIt does not look as an ActiveX control. I thought it was a DLL to be used with OLE automation, but after some tests I think it is an ActiveX library (it provides an activex interface, but no a visual control interface).\n\nI got the provided EXE running, but it gives an error when pressing the \"Get Version\" button. Don't know if it should work ok without the hardware. Could you ask the manufacturer about this ?\n\nI am trying on Vista 32. Now I am going to try on XP.", "time": "07:50", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nSame error on XP when pressing the \"Get Version\" button, testing their provided EXE.\n\nPlease contact the manufacturer about it, thanks", "time": "08:17", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nThe \"Get Version\" does require the hardware to be connected.", "time": "13:25", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIs it possible to use an ActiveX Library with FWH?\n\nIs yes, how would I make a call to the functions inside the DLL?\n\n\nThanks,", "time": "17:26", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\n> Is it possible to use an ActiveX Library with FWH? \n\nWe have never tested it before and it seems as something goes wrong\n\nWe have tried to build a test with Borland C++ builder, using your DLL, but we can't get it working too\n\nWe keep doing tests", "time": "18:01", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nCouldn't you ask the manufacturer if they could provide you a plain standard DLL with exported functions, not an ActiveX one ?", "time": "21:47", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-11", "forum": "FiveWin for Harbour/xHarbour", "text": "I just sent them an email.\n\nEnrico had mentioned in another post:\n\"As far as I know, you can't return a string from a DLL function\"\n\nThese are communication functions that need feedback from the device.\n\nWill a standard DLL work?", "time": "00:23", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\n>\nEnrico had mentioned in another post: \n\"As far as I know, you can't return a string from a DLL function\" \n>\n\nYou can do it using a GlobalAlloc() chunk of memory, that the DLL client will free later on\n\n> Will a standard DLL work?\n\nYes, why not ?", "time": "00:51", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nHere is the reply from the manufacturer\n\n>>\nour DLL files are in Visual Basic or ActiveX DLL as you described. We are presently not working in \"C\" code. You might be able to try installing MSI and this might assist you.\n<<", "time": "13:50", "topic": "ActiveX DLL Functions", "username": "Jeff Barnes" } ]
ActiveX DLL Functions
[ { "date": "2007-08-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nok, thanks for the info. We are going to do some tests with VB", "time": "16:37", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2007-08-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nWe are unable to build and run their sample using Visual Basic Express(free from Microsoft).\n\nDo they expect that their users will just use the latest Visual Basic version ? They should consider to deliver a standard C DLL so everyone can use it, not just Visual Basic users", "time": "17:17", "topic": "ActiveX DLL Functions", "username": "Antonio Linares" } ]
ActiveX DLL Functions
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi ppl,\r\n\r\nI don't understand what is the pourposes of activex events. There are any working sample that can help me to understand it please?\r\n\r\nRegards,\r\n\r\nToninho.", "time": "00:55", "topic": "ActiveX Events", "username": "toninhofwi" } ]
ActiveX Events
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Toninho,\r\n\r\nPlease review fwh/samples/webexp.prg\r\n\r\nthere you can see how to manage the activex events", "time": "01:02", "topic": "ActiveX Events", "username": "Antonio Linares" } ]
ActiveX Events
[ { "date": "2009-04-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, all !\n\n oAct = TActiveX():New( oWnd, \"Shell.Explorer.2\" )\n\n oDk:=oWnd:GetProp(\"Document\")\n OLEInvoke(oDk,\"Write\",buf) // buf - HTML-text variable\n\nThis design worked in earlier versions FWH, but in FWH9.3 I got window error ?", "time": "15:49", "topic": "ActiveX IE", "username": "Natter" } ]
ActiveX IE
[ { "date": "2009-04-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Try it this way:\n\n[code=fw:3vxqf4v1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oAct = 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> oWnd, <span style=\"color: #ff0000;\">\"Shell.Explorer.2\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />oDk:=oWnd:<span style=\"color: #000000;\">GetProp</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Document\"</span><span style=\"color: #000000;\">&#41;</span><br />oDk:<span style=\"color: #000000;\">Write</span><span style=\"color: #000000;\">&#40;</span> buf <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// buf - HTML-text variable</span><br />&nbsp;</div>[/code:3vxqf4v1]", "time": "19:08", "topic": "ActiveX IE", "username": "Antonio Linares" } ]
ActiveX IE
[ { "date": "2009-04-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks, Antonio !\nIt's work fine", "time": "20:35", "topic": "ActiveX IE", "username": "Natter" } ]
ActiveX IE
[ { "date": "2009-04-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello all,\n\noActiveX&#058;Print() works correctly \n[url:30l8ygz7]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/system&#46;windows&#46;forms&#46;webbrowser&#46;print&#46;aspx[/url:30l8ygz7]\nwhile oActiveX&#058;ShowPrintDialog() generates a runtime error.\n[url:30l8ygz7]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/0xbfs8f9&#46;aspx[/url:30l8ygz7]\n\nRIght clicking the control and choosing \"Print\" from the contect menu works correctly, so, why certain methods doesn't work on ActiveX ? \nAny solution ?\n\nTIA,\nDavide\nFWH 9.04 (latest ActiveX class) - xH - Bcc\n\nP.S.: The same for ShowPrintPreviewDialog() - Please see Error.log below\n[code=fw:30l8ygz7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />   Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\tests\\testprg\\testprg.exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">Size</span>:   <span style=\"color: #000000;\">798</span>,<span style=\"color: #000000;\">208</span> bytes<br />   Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">27</span> secs <br />   Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">04</span>/<span style=\"color: #000000;\">27</span>/<span style=\"color: #000000;\">2009</span>, <span style=\"color: #000000;\">03</span>:<span style=\"color: #000000;\">34</span>:<span style=\"color: #000000;\">40</span><br />   Error description: <span style=\"color: #000000;\">Error</span> <span style=\"color: #000000;\">1434464</span>/<span style=\"color: #000000;\">0</span>  S_OK: <span style=\"color: #000000;\">SHOWPRINTPREVIEWDIALOG</span><br />   Args:<br /><br /><span style=\"color: #000000;\">Stack</span> Calls<br />===========<br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">source</span>\\rtl\\win32ole.prg => TOLEAUTO:<span style=\"color: #000000;\">SHOWPRINTPREVIEWDIALOG</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => __OBJSENDMSG<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => HB_EXECFROMARRAY<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\ACTIVEX.PRG => TACTIVEX&#<span style=\"color: #000000;\">058</span>;SHOWPRINTPREVIEWDIALOG<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">169</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">fwie</span>.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>IENAVIGATE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">54</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\TOOLBAR.PRG => TTOOLBAR:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">219</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #000000;\">COMMAND</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1006</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3333</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => WINRUN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">952</span><span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">testprg</span>.prg => MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">190</span><span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />   CPU type:          Intel<span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Atom<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> CPU N270   @ <span style=\"color: #000000;\">1</span>.60GHz <span style=\"color: #000000;\">1600</span> Mhz<br />   Hardware memory: <span style=\"color: #000000;\">1012</span> megs<br /><br />   Free System resources: <span style=\"color: #000000;\">90</span> %<br />        GDI    resources: <span style=\"color: #000000;\">90</span> %<br />        User   resources: <span style=\"color: #000000;\">90</span> %<br /><br />   Compiler version: <span style=\"color: #000000;\">xHarbour</span> build <span style=\"color: #000000;\">1.2</span><span style=\"color: #000000;\">.1</span> Intl. <span style=\"color: #000000;\">&#40;</span>SimpLex<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#40;</span>Rev. <span style=\"color: #000000;\">6406</span><span style=\"color: #000000;\">&#41;</span><br />   Windows version: <span style=\"color: #000000;\">5.1</span>, Build <span style=\"color: #000000;\">2600</span> Service Pack <span style=\"color: #000000;\">3</span><br /><br />   Windows total applications running: <span style=\"color: #000000;\">58</span><br />      <span style=\"color: #000000;\">1</span> <br />      <span style=\"color: #000000;\">2</span> M<br />      <span style=\"color: #000000;\">3</span> <span style=\"color: #00C800;\">Default</span> IME<br />      <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">Menu</span> Avvio<br />      <span style=\"color: #000000;\">5</span> CiceroUIWndFrame<br />      <span style=\"color: #000000;\">6</span> S/PDIF IN/OUT Settings<br />      <span style=\"color: #000000;\">7</span> Set Device Type<br />      <span style=\"color: #000000;\">8</span> Mixer ToolBox<br />      <span style=\"color: #000000;\">9</span> Impostazioni connettore<br />     <span style=\"color: #000000;\">10</span> Controllo dello stato<br />     <span style=\"color: #000000;\">11</span> TF_FloatingLangBar_WndTitle<br />     <span style=\"color: #000000;\">12</span> <span style=\"color: #00C800;\">Print</span><br />     <span style=\"color: #000000;\">13</span> testprg: <span style=\"color: #000000;\">Manual</span><br />     <span style=\"color: #000000;\">14</span> testprg<br />     <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">Prompt</span> dei comandi<br />     <span style=\"color: #000000;\">16</span> WebBrowser.ShowPrintPreviewDialog <span style=\"color: #00C800;\">Method</span> <span style=\"color: #000000;\">&#40;</span>System.Windows.Forms<span style=\"color: #000000;\">&#41;</span> - Mozilla Firefox<br />     <span style=\"color: #000000;\">17</span> JavaUpdate SysTray <span style=\"color: #0000ff;\">Icon</span><br />     <span style=\"color: #000000;\">18</span> NetscapeDispatchWnd<br />     <span style=\"color: #000000;\">19</span> nsAppShell:<span style=\"color: #000000;\">EventWindow</span><br />     <span style=\"color: #000000;\">20</span> MCI command handling <span style=\"color: #0000ff;\">window</span><br />     <span style=\"color: #000000;\">21</span> VCL ImplGetDefaultWindow<br />     <span style=\"color: #000000;\">22</span> DTS Connect<br />     <span style=\"color: #000000;\">23</span> Dolby Home Threater<br />     <span style=\"color: #000000;\">24</span> Advance <span style=\"color: #0000ff;\">Setting</span><br />     <span style=\"color: #000000;\">25</span> TOOLBOX<br />     <span style=\"color: #000000;\">26</span> Load EQ Preset<br />     <span style=\"color: #000000;\">27</span> DeleteEQ<br />     <span style=\"color: #000000;\">28</span> Save EQ<br />     <span style=\"color: #000000;\">29</span> Realtek HD Audio Manager<br />     <span style=\"color: #000000;\">30</span> BackMain_Form<br />     <span style=\"color: #000000;\">31</span> Gestione Audio Realtek HD<br />     <span style=\"color: #000000;\">32</span> HiddenFaxWindow<br />     <span style=\"color: #000000;\">33</span> <span style=\"color: #000000;\">&#123;</span>A7E495BF<span style=\"color: #000000;\">-9589</span>-4a6e<span style=\"color: #000000;\">-8479</span>-DDA2D8D3C05F<span style=\"color: #000000;\">&#125;</span><br />     <span style=\"color: #000000;\">34</span> IgfxExt_Wnd_Name<br />     <span style=\"color: #000000;\">35</span> _GD_Crawl<br />     <span style=\"color: #000000;\">36</span> Connections Tray<br />     <span style=\"color: #000000;\">37</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span><br />     <span style=\"color: #000000;\">38</span> Internet Security<br />     <span style=\"color: #000000;\">39</span> InterVideo WinCinema Manager<br />     <span style=\"color: #000000;\">40</span> HkWndName<br />     <span style=\"color: #000000;\">41</span> PersistWndName<br />     <span style=\"color: #000000;\">42</span> F-Secure Manager<br />     <span style=\"color: #000000;\">43</span> BluetoothNotificationAreaIconWindowClass<br />     <span style=\"color: #000000;\">44</span> Launch Manager<br />     <span style=\"color: #000000;\">45</span> OnScreen <span style=\"color: #00C800;\">Display</span> <span style=\"color: #0000ff;\">Window</span><br />     <span style=\"color: #000000;\">46</span> DritekECWnd<br />     <span style=\"color: #000000;\">47</span> eRecoveryAgent<br />     <span style=\"color: #000000;\">48</span> TouchPad object helper <span style=\"color: #0000ff;\">window</span><br />     <span style=\"color: #000000;\">49</span> Misuratore alimentazione<br />     <span style=\"color: #000000;\">50</span> MS_WebcheckMonitor<br />     <span style=\"color: #000000;\">51</span> Touchpad driver tray <span style=\"color: #0000ff;\">icon</span> <span style=\"color: #0000ff;\">window</span><br />     <span style=\"color: #000000;\">52</span> Touchpad driver backward compatibility <span style=\"color: #0000ff;\">window</span><br />     <span style=\"color: #000000;\">53</span> Touchpad driver helper <span style=\"color: #0000ff;\">window</span><br />     <span style=\"color: #000000;\">54</span> igfxtrayWindow<br />     <span style=\"color: #000000;\">55</span> GDI+ <span style=\"color: #0000ff;\">Window</span><br />     <span style=\"color: #000000;\">56</span> Brother MFC-440CN <span style=\"color: #0000ff;\">Printer</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #000000;\">192.168</span><span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.2</span><br />     <span style=\"color: #000000;\">57</span> SysFader<br />     <span style=\"color: #000000;\">58</span> Program Manager<br /><br />Variables in use<br />================<br />   Procedure     Type   Value<br />   ==========================<br />   TOLEAUTO:<span style=\"color: #000000;\">SHOWPRINTPREVIEWDIALOG</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    C    <span style=\"color: #ff0000;\">\"1434464\"</span><br />   __OBJSENDMSG<br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TOLEAUTO</span><br />     Param   <span style=\"color: #000000;\">2</span>:    C    <span style=\"color: #ff0000;\">\"SHOWPRINTPREVIEWDIALOG\"</span><br />   HB_EXECFROMARRAY<br />     Param   <span style=\"color: #000000;\">1</span>:    P    <br />     Param   <span style=\"color: #000000;\">2</span>:    A    Len:    <span style=\"color: #000000;\">2</span><br />   TACTIVEX&#<span style=\"color: #000000;\">058</span>;SHOWPRINTPREVIEWDIALOG<br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TACTIVEX</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    A    Len:    <span style=\"color: #000000;\">2</span><br />   <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>IENAVIGATE<br />     Param   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TTOOLBAR</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">1</span><br />   TTOOLBAR:<span style=\"color: #000000;\">COMMAND</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">1</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">722022</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TTOOLBAR</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">1</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">722022</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">5</span>:    B    <span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />   TWINDOW:<span style=\"color: #000000;\">COMMAND</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">1</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">722022</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">0</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">1</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">722022</span><br />   TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">273</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">1</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">722022</span><br />   _FWH<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">722022</span><br />     Param   <span style=\"color: #000000;\">2</span>:    N    <span style=\"color: #000000;\">273</span><br />     Param   <span style=\"color: #000000;\">3</span>:    N    <span style=\"color: #000000;\">1</span><br />     Param   <span style=\"color: #000000;\">4</span>:    N    <span style=\"color: #000000;\">722022</span><br />     Param   <span style=\"color: #000000;\">5</span>:    N    <span style=\"color: #000000;\">3</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />   WINRUN<br />     Param   <span style=\"color: #000000;\">1</span>:    N    <span style=\"color: #000000;\">590726</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">4</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">5</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">6</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">7</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">8</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">9</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">10</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">11</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">12</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">13</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">14</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">15</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">16</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">17</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">18</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">19</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">20</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">21</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">22</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">23</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">24</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">25</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">26</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">27</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">28</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">29</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">30</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">31</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">32</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">33</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">34</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">35</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">36</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">37</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">38</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">39</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">40</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">41</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">42</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">43</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">44</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">45</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">46</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">47</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">48</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">49</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">50</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">51</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">52</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">53</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">54</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">55</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">56</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">57</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">58</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">59</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">60</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">61</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>  <span style=\"color: #000000;\">62</span>:    U    <br />   TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><br />     Param   <span style=\"color: #000000;\">1</span>:    C    <span style=\"color: #ff0000;\">\"ICONIZED\"</span><br />     Param   <span style=\"color: #000000;\">2</span>:    U    <br />     Param   <span style=\"color: #000000;\">3</span>:    U    <br />     Param   <span style=\"color: #000000;\">4</span>:    U    <br />     Param   <span style=\"color: #000000;\">5</span>:    U    <br />     Param   <span style=\"color: #000000;\">6</span>:    B    <span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />     Param   <span style=\"color: #000000;\">7</span>:    U    <br />     Param   <span style=\"color: #000000;\">8</span>:    B    <span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />     Param   <span style=\"color: #000000;\">9</span>:    U    <br />     Param  <span style=\"color: #000000;\">10</span>:    U    <br />     Param  <span style=\"color: #000000;\">11</span>:    U    <br />     Param  <span style=\"color: #000000;\">12</span>:    U    <br />     Param  <span style=\"color: #000000;\">13</span>:    U    <br />     Param  <span style=\"color: #000000;\">14</span>:    U    <br />     Param  <span style=\"color: #000000;\">15</span>:    U    <br />     Param  <span style=\"color: #000000;\">16</span>:    U    <br />     Param  <span style=\"color: #000000;\">17</span>:    B    <span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />     Param  <span style=\"color: #000000;\">18</span>:    U    <br />     Param  <span style=\"color: #000000;\">19</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    O    <span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">2</span>:    U    <br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">3</span>:    U    <br />   MAIN<br />     <span style=\"color: #00C800;\">Local</span>   <span style=\"color: #000000;\">1</span>:    C    <span style=\"color: #ff0000;\">\"\"</span><br /><br />Linked RDDs<br />===========<br />   DBF<br />   DBFFPT<br />   DBFBLOB<br />   DBFNTX<br /><br />DataBases in use<br />================<br /><br />  <span style=\"color: #000000;\">1</span>: => testprg                         RddName: <span style=\"color: #000000;\">DBFNTX</span><br />     ==============================<br />     RecNo    RecCount    BOF   EOF<br />         <span style=\"color: #000000;\">25</span>           <span style=\"color: #000000;\">24</span>      .F.   .T.<br /><br />     Indexes in use                        TagName<br /><br />     Relations in use<br /><br />Classes in use:<br />===============<br />     <span style=\"color: #000000;\">1</span> ERROR<br />     <span style=\"color: #000000;\">2</span> HASHENTRY<br />     <span style=\"color: #000000;\">3</span> HBCLASS<br />     <span style=\"color: #000000;\">4</span> HBOBJECT<br />     <span style=\"color: #000000;\">5</span> TMUTEX<br />     <span style=\"color: #000000;\">6</span> TINI<br />     <span style=\"color: #000000;\">7</span> TWINDOW<br />     <span style=\"color: #000000;\">8</span> TCONTROL<br />     <span style=\"color: #000000;\">9</span> TICON<br />    <span style=\"color: #000000;\">10</span> TBRUSH<br />    <span style=\"color: #000000;\">11</span> TFONT<br />    <span style=\"color: #000000;\">12</span> TTIMER<br />    <span style=\"color: #000000;\">13</span> TTRAYICON<br />    <span style=\"color: #000000;\">14</span> TSTRUCT<br />    <span style=\"color: #000000;\">15</span> TWEBCLIENT<br />    <span style=\"color: #000000;\">16</span> TSOCKET<br />    <span style=\"color: #000000;\">17</span> TDIALOG<br />    <span style=\"color: #000000;\">18</span> TSAY<br />    <span style=\"color: #000000;\">19</span> TMENU<br />    <span style=\"color: #000000;\">20</span> TMENUITEM<br />    <span style=\"color: #000000;\">21</span> TIMAGELIST<br />    <span style=\"color: #000000;\">22</span> TBITMAP<br />    <span style=\"color: #000000;\">23</span> TREBAR<br />    <span style=\"color: #000000;\">24</span> TTOOLBAR<br />    <span style=\"color: #000000;\">25</span> TACTIVEX<br />    <span style=\"color: #000000;\">26</span> TOLEAUTO<br />    <span style=\"color: #000000;\">27</span> TREG32<br /><br />Memory Analysis<br />===============<br />      <span style=\"color: #000000;\">215</span> <span style=\"color: #00C800;\">Static</span> variables<br /><br />   Dynamic memory consume:<br />      Actual  Value:          <span style=\"color: #000000;\">0</span> bytes<br />      Highest Value:          <span style=\"color: #000000;\">0</span> bytes<br />\u001aDestructors disabled! Destructor <span style=\"color: #0000ff;\">of</span> <span style=\"color: #00C800;\">class</span>: <span style=\"color: #ff0000;\">'TOLEAUTO'</span> can<span style=\"color: #ff0000;\">'t be executed.</span></div>[/code:30l8ygz7]", "time": "02:32", "topic": "ActiveX IE missing methods ?", "username": "Davide" } ]
ActiveX IE missing methods ?
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nHow can I put an activeX ona dialog with NO BORDER and with NO SCROLLBAR?\r\nThe dialog looks like this now:\r\n[img:u5fivd5g]http&#58;//www&#46;xharbour&#46;net/picture2&#46;jpg[/img:u5fivd5g]\r\nwhile I'd like to have it look like this:\r\n[img:u5fivd5g]http&#58;//www&#46;xharbour&#46;net/picture2-new&#46;jpg[/img:u5fivd5g]\r\n\r\nThanks!\r\n\r\nPatrick", "time": "09:14", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nAre you creating the dialogbox from source code or from resources ?", "time": "17:32", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":fpbbap4l]Are you creating the dialogbox from source code or from resources ?[/quote:fpbbap4l]From code with @ x, ACTIVEX...\r\n\r\nPatrick", "time": "17:35", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nIt seems as the Shell.Explorer ActiveX itself is setting those styles.\r\n\r\nIn the Class TActiveX we only use these styles:\r\n\r\n ::nStyle = nOR( WS_CHILD, WS_VISIBLE )\r\n\r\nYou could try to modify them dinamically calling to:\r\n\r\nSetWindowLong( oActiveX&#058;hWnd, GWL_STYLE, nXor( GetWindowLong( oActiveX&#058;hWnd, GWL_STYLE ), nOr( WS_BORDER, WS_VSCROLL ) ) ) from the ACTIVATE DIALOG oDlg ON INIT ...", "time": "17:39", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nAlso, If I press TAB when the cursor is in a field in the activeX, the TAB does not work in the activeX. Tab seems to go to the next field of the WINDOW, instead of the next label/get in the activex.\r\n\r\nPatrick", "time": "17:41", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nPlease try this:\r\n\r\noActiveX&#058;nDlgCode = DLGC_WANTALLKEYS", "time": "17:43", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":rr1aerw3]Please try this:\noActiveX&#058;nDlgCode = DLGC_WANTALLKEYS[/quote:rr1aerw3]\r\nSorry, that did not work.\r\n\r\nPatrick", "time": "17:55", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nPlease provide us your test.prg and tested url, if possible. Thanks\r\n\r\nOr is it a HTML file on disk ?", "time": "20:17", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\n[quote=\"Antonio Linares\":364m11ec]Please provide us your test.prg and tested url, if possible.[/quote:364m11ec]Same sample as before:[code:364m11ec]#include \"FiveWin&#46;ch\"\n\nPROCEDURE Main&#40;&#41;\n\n LOCAL oWnd, oActiveX\n\n DEFINE WINDOW oWnd\n\n @ 50, 10 ACTIVEX oActiveX OF oWnd ;\n SIZE 380, 170;\n PROGID \"Shell&#46;Explorer\" \n \n oActiveX&#58;nDlgCode = DLGC_WANTALLKEYS \n\n @ 1,2 BUTTON \"Fire 'Send' button\" OF oWnd;\n SIZE 150,20;\n ACTION oActiveX&#58;GetProp&#40;\"Document\"&#41;&#58;Forms&#91;0&#93;&#58;Submit&#40;&#41;\n\n ACTIVATE WINDOW oWnd;\n ON INIT oActiveX&#58;Do&#40;\"Navigate\", \"http&#58;//www&#46;winfakt&#46;be/form_test_1&#46;htm\" &#41;\n\nRETURN[/code:364m11ec]\r\n\r\nSo, 2 problems:\r\n1. Border and scrollbar in ActiveX\r\n2. Tab does not go from field1 to fields2 or in the sample from field1 to submit button. Tab is handled by the WINDOW instead of the ACTIVEX.\r\n\r\nI also tried to put the \"oActiveX&#058;nDlgCode = DLGC_WANTALLKEYS\" in the ON INIT of the window, but still no luck.\r\n\r\nThanks!\r\n\r\nPatrick", "time": "21:16", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nPlease try it with a dialogbox instead of a window.", "time": "22:36", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3l1iwtye]Please try it with a dialogbox instead of a window.[/quote:3l1iwtye]Still not ok. Please try this sample:[code:3l1iwtye]#include \"FiveWin&#46;ch\"\n\nPROCEDURE Main&#40;&#41;\n\n LOCAL oDlg, oActiveX\n\n DEFINE DIALOG oDlg FROM 0,0 TO 20,70\n\n @ 5,5 ACTIVEX oActiveX OF oDlg ;\n SIZE 265, 110;\n PROGID \"Shell&#46;Explorer\" \n \n oActiveX&#58;nDlgCode = DLGC_WANTALLKEYS\n \n @ 7,35 BUTTON \"Next\" OF oDlg;\n SIZE 50,12;\n ACTION oActiveX&#58;GetProp&#40;\"Document\"&#41;&#58;Forms&#91;0&#93;&#58;Submit&#40;&#41;\n\n @ 7,25 BUTTON \"Previous\" OF oDlg;\n SIZE 50,12;\n ACTION oActiveX&#58;Do&#40;\"GoBack\"&#41;\n \n ACTIVATE DIALOG oDlg CENTER;\n ON INIT &#40;oActiveX&#58;Do&#40;\"Navigate\", \"http&#58;//www&#46;winfakt&#46;be/wf/test&#46;asp\" &#41;,;\n oActiveX&#58;nDlgCode = DLGC_WANTALLKEYS&#41;\n\nRETURN[/code:3l1iwtye]\r\nIf you run this, the dialog looks like this:\r\n[img:3l1iwtye]http&#58;//www&#46;xharbour&#46;net/picture12&#46;jpg[/img:3l1iwtye]\r\nIf you now press TAB, it looks like this:\r\n[img:3l1iwtye]http&#58;//www&#46;xharbour&#46;net/picture13&#46;jpg[/img:3l1iwtye]\r\nWhile I expected to have input field 2 to become active.\r\n\r\nSo, 2 problems here;\r\n\r\n1. Pressing TAB still try's to go from control to control ON the DIALOG, instead of going from field to field in the BROWSER object.\r\n\r\n2. The Browser object gets repainted and it gets hidden except for the active input field.\r\n\r\nPatrick", "time": "08:16", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nYou are missing a \":\" here:\r\n\r\noActiveX&#058;nDlgCode [b:3sv4slf2]:=[/b:3sv4slf2] DLGC_WANTALLKEYS", "time": "10:00", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":nn9evn1k]You are missing a \":\" here:\noActiveX&#058;nDlgCode [b:nn9evn1k]:=[/b:nn9evn1k] DLGC_WANTALLKEYS[/quote:nn9evn1k]\r\nSame result with [b:nn9evn1k]:=[/b:nn9evn1k]\r\n\r\nI think you need to build the app and see for yourself Antonio. <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\r\n\r\nPatrick", "time": "10:08", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nWe are doing all kind of tests but no luck up to now. It seems as the ActiveX traps all the events. Please notice that bLostFocus is not executed:\r\n[code:3vlo3mcc]\n#include \"FiveWin&#46;ch\" \n\nPROCEDURE Main&#40;&#41; \n\n LOCAL oDlg, oActiveX, cEvents &#58;= \"\"\n\n DEFINE DIALOG oDlg FROM 0,0 TO 20,70 \n\n @ 5,5 ACTIVEX oActiveX OF oDlg ; \n SIZE 265, 110; \n PROGID \"Shell&#46;Explorer\" \n \n oActiveX&#58;bOnEvent = &#123; | event, aParams, pParams | cEvents += EventInfo&#40; event, aParams, pParams, oActiveX &#41; &#125;\n oActiveX&#58;bLostFocus = &#123; || Msgbeep&#40;&#41; &#125; \n \n @ 7,35 BUTTON \"Next\" OF oDlg; \n SIZE 50,12; \n ACTION oActiveX&#58;GetProp&#40;\"Document\"&#41;&#58;Forms&#91;0&#93;&#58;Submit&#40;&#41; \n\n @ 7,25 BUTTON \"Previous\" OF oDlg; \n SIZE 50,12; \n ACTION oActiveX&#58;Do&#40;\"GoBack\"&#41; \n \n ACTIVATE DIALOG oDlg CENTER; \n ON INIT &#40;oActiveX&#58;Do&#40;\"Navigate\", \"http&#58;//www&#46;winfakt&#46;be/wf/test&#46;asp\" &#41;,; \n oActiveX&#58;nDlgCode &#58;= DLGC_WANTALLKEYS &#41; \n\n MemoEdit&#40; cEvents &#41;\n\nRETURN\n\nfunction EventInfo&#40; event, aParams, pParams, oActiveX &#41;\n\n local cMsg &#58;= \"Event&#58; \" + cValToChar&#40; event &#41; + CRLF\n local n\n \n cMsg += \"Params&#58; \" + CRLF\n \n for n = 1 to Len&#40; aParams &#41;\n cMsg += cValToChar&#40; aParams&#91; n &#93; &#41; + CRLF\n next\n \n if event == \"BeforeNavigate2\"\n // MsgInfo&#40; aParams&#91; 2 &#93; &#41;\n // SetEventParam&#40; pParams, 7, &#46;t&#46; &#41; // Comment this to allow navigation\n endif \n\nreturn cMsg + CRLF\n[/code:3vlo3mcc]", "time": "13:12", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":9bt8yt44]We are doing all kind of tests but no luck up to now. It seems as the ActiveX traps all the events. Please notice that bLostFocus is not executed:[/quote:9bt8yt44]\r\nYes, I also noticed. Strange things happen.\r\n\r\nThanks for looking at it.\r\n\r\nPatrick", "time": "13:16", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nWe have done some progress <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> The style WS_TABSTOP was not used from Class TActiveX ! This change is required:\r\n\r\nMETHOD New( ... ) ...\r\n\r\n...\r\n\r\n ::nStyle = nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP )\r\n\r\nNow bGotFocus is properly fired <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\r\n\r\nNow we need to discover where the focus goes when the ActiveX gets the focus...", "time": "13:19", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Some more research:\r\n\r\nIt seems as the ActiveX has its own Windows handle, different from the TActiveX control:\r\n[code:u6y72tmx]\n @ 7,15 BUTTON \"Test\" OF oDlg; \n SIZE 50,12; \n ACTION MsgInfo&#40; oActiveX&#58;Do&#40; \"GetWindow\" &#41; == oActiveX&#58;hWnd &#41;\n[/code:u6y72tmx]", "time": "13:40", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick\r\n\r\nSee the code below:\r\n\r\nThis code shows how to enter data into one remote .DBF.\r\n\r\nWith xHarbour change TOLEAuto():New() for CreateObject().\r\n\r\n[code:kgw5sd49]\n#include \"fivewin&#46;ch\"\n\nFunction Main&#40;&#41;\n LOCAL loHyperlink &#58;= TOLEAuto&#40;&#41;&#58;New&#40; \"Microsoft&#46;XmlHttp\" &#41; \n //\n set default to \"c&#58;\\YourSystem\"\n use clientes new shared\n //\n do while &#46;not&#46; eof&#40;&#41;\n if !empty&#40;clientes->campo1&#41;\n cURL &#58;= \"http&#58;//www&#46;SeuDominio&#46;com&#46;br/salva&#46;asp\"\n cURL &#58;= cURL + \"?campo1=\"+clientes->campo1\n cURL &#58;= cURL + \"&campo2=\"+clientes->campo2\n //\n loHyperlink&#58;Open&#40; \"POST\", cURL, &#46;F&#46; &#41;\n loHyperlink&#58;Send&#40; \"\" &#41;\n //\n MsgRun&#40;\"Adicionei mais um\"&#41;\n endif\n skip\n enddo\n //\n return nil\n[/code:kgw5sd49]\n\nCodigo SALVA.ASP\n[code:kgw5sd49]\n<%\n ' Codigo exemplo de salvamento de variaveis via HTTP GET\n ' podendo ou nao ser retornado apenas o valor inteiro&#46; \n '------------------------------------------------------------\n pos = instrrev&#40;lcase&#40;request&#46;servervariables&#40;\"path_translated\"&#41;&#41;,lcase&#40;scriptrelativefolder&#41;& \"\\\" & lcase&#40;formaction&#41;&#41;\n db_dir = left&#40;request&#46;servervariables&#40;\"path_translated\"&#41;, pos-1 &#41;\n db = db_dir & \"&#46;\\\"\n\n ' Campos Recuperados\n campo1 = replace&#40; request&#46;QueryString&#40;\"campo1\"&#41;, \"'\", \"''\"&#41;\n campo2 = replace&#40; request&#46;QueryString&#40;\"campo2\"&#41;, \"'\", \"''\"&#41;\n\n set cnn= server&#46;createobject&#40;\"adodb&#46;connection\"&#41;\n cnn&#46;open \"Driver=&#123;Microsoft dBase Driver &#40;*&#46;dbf&#41;&#125;;;DBQ=\"& db &\";\"\n cnn&#46;execute&#40;\"INSERT INTO tabela&#40;campo1,campo2&#41;\" & _\n \"VALUES &#40;'\"&_\n campo1&\"','\"&_\n campo2&\"'&#41;\" &#41;\n Set cnn = Nothing \n Set Mail = Nothing \n%>\n[/code:kgw5sd49]\n\nIf wish to make the test track IExplorer simply enter a command like:[code:kgw5sd49]\nhttp&#58;//www&#46;SeuDominio&#46;com&#46;br/salva&#46;asp?campo1=DadosNoCampo1&campo2=DadosNoCampo2\n[/code:kgw5sd49]\r\n\r\nBye", "time": "08:29", "topic": "ActiveX NO BORDER", "username": "Rochinha" } ]
ActiveX NO BORDER
[ { "date": "2008-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Rochinha,\r\n\r\nThanks! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:34", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2008-09-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you Rochinha <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\r\n\r\nPatrick", "time": "09:24", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Patrick Mast\":zdjns80f]Thank you Rochinha <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\n\nPatrick[/quote:zdjns80f]\r\n\r\nwithout broder i dont know more to without scroll only u add\r\nin uer HTML \r\n\r\n<body scroll=no>\r\n\r\n <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->", "time": "14:12", "topic": "ActiveX NO BORDER", "username": "lailton.webmaster" } ]
ActiveX NO BORDER
[ { "date": "2008-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:2q3pnkvr]without broder i dont know more to without scroll only u add\nin uer HTML\n<body scroll=no>[/quote:2q3pnkvr]Perfect! <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->\r\n\r\nThanks you.\r\n\r\nPatrick", "time": "16:46", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "And about border what u did ?\r\n\r\nthanks", "time": "17:06", "topic": "ActiveX NO BORDER", "username": "lailton.webmaster" } ]
ActiveX NO BORDER
[ { "date": "2008-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"lailton.webmaster\":36396p05]And about border what u did ?[/quote:36396p05]No solution for that. As wel as no solution on TAB'ing in a web activeX control.\r\n\r\nPatrick", "time": "17:10", "topic": "ActiveX NO BORDER", "username": "Patrick Mast" } ]
ActiveX NO BORDER
[ { "date": "2008-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Oh ok thanks if i found something i post here\r\n\r\nthanks", "time": "17:11", "topic": "ActiveX NO BORDER", "username": "lailton.webmaster" } ]
ActiveX NO BORDER
[ { "date": "2008-09-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Patrick,\r\n\r\nA temporary workaround is to use just one ActiveX control without other controls, so the focus will not go out of the control.", "time": "20:49", "topic": "ActiveX NO BORDER", "username": "Antonio Linares" } ]
ActiveX NO BORDER
[ { "date": "2006-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "All,\n\nHow can I set these property using FWH ActiveX?\n\nUsing xHarbour I can do: \n\n oMapPoint:Toolbars:Item(\"Standard\"):Visible := .T. \n oMapPoint:Toolbars:Item(\"Navigation\"):Visible := .T. \n oMapPoint:Toolbars:Item(\"Drawing\"):Visible := .T. \n oMapPoint:Toolbars:Item(\"Location and Scale\"):Visible := .T. \n\nwhere oMapPoint is the activex object.\n\nThanks,\nRandal Ferguson", "time": "15:26", "topic": "ActiveX Properties", "username": "Randal" } ]
ActiveX Properties
[ { "date": "2006-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Randal .. \n\nSee the excat name of the property of your activex,\nFor instance, I use an Epson OCX and the the actual name of a property is \n\ncomm.Comport\n\nSo in Xhb I use \nEf:comm.Comport:=2\n\nIn FWH I Use\n\nEf:SetProp(\"comm.ComPort\",\"2\")\n\nTry It\nBTW with OleView utility you can see all the names of the properties, methods, error messages if you don't have access to the activex documentation. Ican sedn it to you if you need it. Just send me a PM\n\nAdolfo", "time": "15:55", "topic": "ActiveX Properties", "username": "Adolfo" } ]
ActiveX Properties
[ { "date": "2006-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Adolfo,\n\nThanks for the reply. I know the actual property names and as I indicated I can set the properties using xHabour/CreateActiveX.\n\nHowever, using FWH I cannot find any option that works as part of the property name is a literal string. Any other ideas?\n\nThanks,\nRandal", "time": "17:42", "topic": "ActiveX Properties", "username": "Randal" } ]
ActiveX Properties
[ { "date": "2006-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Randal Ferguson\":3bqbyepn]Adolfo,\n\nThanks for the reply. I know the actual property names and as I indicated I can set the properties using xHabour/CreateActiveX.\n\nHowever, using FWH I cannot find any option that works as part of the property name is a literal string. Any other ideas?\n\nThanks,\nRandal[/quote:3bqbyepn]\n\nMmm that's something I don't know.. sorry\nI would've done \n\n oMapPoint:SetProp(\"Toolbars:Item('Standard'):Visible\",.T.)\n\nHope it Helps...", "time": "17:49", "topic": "ActiveX Properties", "username": "Adolfo" } ]
ActiveX Properties
[ { "date": "2006-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Adolfo,\n\n<<oMapPoint:SetProp(\"Toolbars:Item('Standard'):Visible\",.T.) >>\n\nI tried this syntax and several others and could not get it to work.\n\nThanks,\nRandal", "time": "17:53", "topic": "ActiveX Properties", "username": "Randal" } ]
ActiveX Properties
[ { "date": "2014-07-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nIs there any method to fill get fields with using ActiveX Shell.Explorer?\n\nThanks.", "time": "20:34", "topic": "ActiveX Shell.Explorer", "username": "Horizon" } ]
ActiveX Shell.Explorer
[ { "date": "2014-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nAny comment?", "time": "05:42", "topic": "ActiveX Shell.Explorer", "username": "Horizon" } ]
ActiveX Shell.Explorer
[ { "date": "2014-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nSincerelly I have never tried that.\n\nAnyhow if you google for Shell.Explorer there are lots of examples and surely you may find something that we may help you to adapt to Harbour + FWH", "time": "06:30", "topic": "ActiveX Shell.Explorer", "username": "Antonio Linares" } ]
ActiveX Shell.Explorer
[ { "date": "2014-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI can read and write any webpage with TipClientHttp.\n\nI need to inquery some information from web. But there is a captha in page. \n\nIs there any method?\n\nThanks.", "time": "06:49", "topic": "ActiveX Shell.Explorer", "username": "Horizon" } ]
ActiveX Shell.Explorer
[ { "date": "2014-07-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nufff, that depends on how complex is the catcha\n\nThe only way I can think about is to download the catcha as an image and the using GetPixel() read its contents to \"analyze\" what it says.", "time": "08:31", "topic": "ActiveX Shell.Explorer", "username": "Antonio Linares" } ]
ActiveX Shell.Explorer
[ { "date": "2006-08-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all !\n\noButton := xButton():New( oWnd )\nIF !oButton:lOk\n oWnd:END()\n RETURN NIL\nENDIF\n\nCLASS xButton\n DATA oControl\n DATA oButton\n CLASSDATA lOk Init .F.\n METHOD New()\n METHOD Activate()\nENDCLASS\n\nMETHOD New( oWnd, nId ) CLASS xButton\n\n IF nId != NIL\n ::oControl := TActiveX():Redefine( nId, oWnd, \"MyOCX.myControl\" )\n ELSE\n ::oControl := TActiveX():New( oWnd, \"MyOCX.myControl\" )\n ENDIF\n\n IF !Empty( oWnd:hWnd )\n ::Activate()\n ENDIF\n\nRETURN SELF\n\nMETHOD Activate()\n ::oButton := TOleAuto():New( ActXPdisp( ::oControl:hActiveX ) )\nRETURN NIL\n\nMy questions :\n1. Can I get property on MyOCX, like VB\n2. Can I create class to call MyOCX property\n\n\nAreang", "time": "18:26", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\n> 1. Can I get property on MyOCX, like VB \n\nYou may use Microsoft OleView to inspect the properties, methods and events of the ActiveX that you are going to use. Another choice is to install if from Microsoft Office built in VBA (macros editor in Word, Excell, etc.) and inspect it from there.\n\n> 2. Can I create class to call MyOCX property \n\nYou may use ERROR HANDLER OnError( uParam1 ) to route PRG msgs to Class TActiveX Methods GetProp, SetProp and Do. Please review source\\classes\\database.prg to see how to use ERROR HANDLER.", "time": "09:16", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank.\nI will try it.\n\nAreang", "time": "01:42", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio ! Can you help me about this :\n\nI have CoolControls.ocx, viewed by oleview on :\n\ndispinterface _jcFrames {\n properties:\n methods:\n\nI can see the methods like this :\n\n[id(0x6803000f), propput]\nvoid Caption([in, out] BSTR* rhs);\n\nPlease give me sample about this with complete classes.\nto call Caption properties\n\nThank\nbest Regard\nAreang", "time": "03:23", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\nTry these:\n[code:3txow3ps]\nlocal cCaption &#58;= \"\"\n&#46;&#46;&#46;\noActiveX&#58;Do&#40; \"Caption\", cCaption &#41;\nMsgInfo&#40; cCaption &#41;\n&#46;&#46;&#46;\nMsgInfo&#40; oActiveX&#58;GetProp&#40; \"Caption\" &#41; &#41;\n&#46;&#46;&#46;\noActiveX&#58;Do&#40; \"Caption\", @cCaption &#41;\nMsgInfo&#40; cCaption &#41;\n[/code:3txow3ps]", "time": "07:04", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio \n\nI Created the Class, still can't put the caption on the frames\nand please also ERROR HANDLER ERROR().\n\nPlease Help me !\n\nHere is the sample\n\n\n#include \"Fivewin.ch\"\n\nFUNCTION Main()\n \n LOCAL oWnd, oFrames\n\n DEFINE Window oWnd\n\n oWnd:setText( \"Use JcFrames from CoolControls.ocx\" )\n\n oFrames := Framesx():New( oWnd )\n\n /*\n To : Antonio\n\n This is Work fine, I want to put caption on this frames\n\n How to create class and use Caption properties\n Here are methods on CoolControls.jcFrame, I got from oleview :\n\n\n[\n uuid(4C252B42-CA3D-477E-8A0E-CD2E4AB70B12),\n version(1.0),\n hidden,\n dual,\n nonextensible\n]\ndispinterface _jcFrames {\n properties:\n methods:\n [id(0x68030015), propput]\n void FrameColor([in, out] OLE_COLOR* rhs);\n [id(0x68030015), propget]\n OLE_COLOR FrameColor();\n [id(0x68030014), propput, helpstring(\"Returns/Sets the Fill color for TextBox and Windows style\")]\n void FillColor([in, out] OLE_COLOR* rhs);\n [id(0x68030014), propget, helpstring(\"Returns/Sets the Fill color for TextBox and Windows style\")]\n OLE_COLOR FillColor();\n [id(0x68030013), propput]\n void RoundedCornerTxtBox([in, out] VARIANT_BOOL* rhs);\n [id(0x68030013), propget]\n VARIANT_BOOL RoundedCornerTxtBox();\n [id(0x68030012), propput]\n void Enabled([in, out] VARIANT_BOOL* rhs);\n [id(0x68030012), propget]\n VARIANT_BOOL Enabled();\n [id(0x68030011), propput]\n void TxtBoxShadow([in, out] jcShadowConst* rhs);\n [id(0x68030011), propget]\n jcShadowConst TxtBoxShadow();\n [id(0x68030010), propput]\n void RoundedCorner([in, out] VARIANT_BOOL* rhs);\n [id(0x68030010), propget]\n VARIANT_BOOL RoundedCorner();\n [id(0x6803000f), propput]\n void Caption([in, out] BSTR* rhs);\n [id(0x6803000f), propget]\n BSTR Caption();\n [id(0x6803000e), propput]\n void Alignment([in, out] AlignmentConstants* rhs);\n [id(0x6803000e), propget]\n AlignmentConstants Alignment();\n [id(0x6803000d), propput]\n void Style([in, out] jcStyleConst* rhs);\n [id(0x6803000d), propget]\n jcStyleConst Style();\n [id(0x6803000c), propput]\n void TextBoxHeight([in, out] long* rhs);\n [id(0x6803000c), propget]\n long TextBoxHeight();\n [id(0x6803000b), propput]\n void TextColor([in, out] OLE_COLOR* rhs);\n [id(0x6803000b), propget]\n OLE_COLOR TextColor();\n [id(0x6803000a), propput]\n void TextBoxColor([in, out] OLE_COLOR* rhs);\n [id(0x6803000a), propget]\n OLE_COLOR TextBoxColor();\n [id(0x68030009), propput]\n void BackColor([in, out] OLE_COLOR* rhs);\n [id(0x68030009), propget]\n OLE_COLOR BackColor();\n [id(0x68030008), propputref]\n void Font([in, out] Font** rhs);\n [id(0x68030008), propput]\n void Font([in, out] Font** rhs);\n [id(0x68030008), propget]\n Font* Font();\n [id(0x68030007), propget]\n Picture* Picture();\n [id(0x68030007), propputref]\n void Picture([in] Picture* rhs);\n [id(0x68030006), propget]\n short IconSize();\n [id(0x68030006), propput]\n void IconSize([in] short rhs);\n [id(0x68030005), propput]\n void IconAlignment([in, out] IconAlignConst* rhs);\n [id(0x68030005), propget]\n IconAlignConst IconAlignment();\n [id(0x68030004), propget]\n jcThemeConst ThemeColor();\n [id(0x68030004), propput]\n void ThemeColor([in] jcThemeConst rhs);\n [id(0x68030003), propget, helpstring(\"Returns/Sets the Start color for gradient\")]\n OLE_COLOR ColorFrom();\n [id(0x68030003), propput, helpstring(\"Returns/Sets the Start color for gradient\")]\n void ColorFrom([in, out] OLE_COLOR* rhs);\n [id(0x68030002), propget, helpstring(\"Returns/Sets the End color for gradient\")]\n OLE_COLOR ColorTo();\n [id(0x68030002), propput, helpstring(\"Returns/Sets the End color for gradient\")]\n void ColorTo([in, out] OLE_COLOR* rhs);\n [id(0x68030001), propput]\n void HeaderStyle([in, out] jcHeaderConst* rhs);\n [id(0x68030001), propget]\n jcHeaderConst HeaderStyle();\n [id(0x68030000), propput]\n void GradientHeaderStyle([in, out] jcGradConst* rhs);\n [id(0x68030000), propget]\n jcGradConst GradientHeaderStyle();\n};\n\n\n\n\n */\n\n \n oWnd:oClient := oFrames:oControl\n\n Activate Window oWnd\n\nReturn NIL\n\n\nCLASS FRAMESX \n DATA oControl\n DATA oButton\n CLASSDATA lOk Init .F.\n ERROR HANDLER ERROR()\n METHOD New()\n METHOD Activate()\n METHOD Install()\n METHOD CheckOCX()\nENDCLASS\n\n\nMETHOD New( oWnd,nId ) CLASS FRAMESX\n\n ::CheckOCX()\n\n IF !::lOk\n MsgInfo( \"Error to Install OCX Control\" )\n RETURN SELF\n ENDIF\n\n\n IF nId != NIL\n ::oControl := TActiveX():Redefine( nId, oWnd, \"COOLCONTROLS.jcFrames\" )\n ELSE\n ::oControl := TActiveX():New( oWnd, \"COOLCONTROLS.jcFrames\" )\n ENDIF\n\n IF !Empty( oWnd:hWnd )\n ::Activate()\n ENDIF\n\n RETURN SELF\n\n\nMETHOD Activate()\n ::oButton := TOleAuto():New( ActXPdisp( ::oControl:hActiveX ) )\nRETURN NIL\n\n/*-----------------------------------------------------------------------------------------------*/\nMETHOD CheckOCX( lAutoInstall )\n DEFAULT lAutoInstall := .F.\n IF !::lOk\n IF IsActiveX( \"CoolControls.jcFrames\" )\n ::lOk := .T.\n ELSE\n IF lAutoInstall .OR. MsgAlert( \"Install OCX COntrol Now ?\", { \"Yes\", \"No\" } ) == 1\n MsgRun( \"Installing OCX Control\", NIL, { || ::Install() } )\n ENDIF\n ENDIF\n ENDIF\nRETURN ::lOk\n\n\n/*-----------------------------------------------------------------------------------------------*/\nMETHOD Install()\n LOCAL cOriginal, cDestination\n cOriginal := \"CoolControls.ocx\"\n cDestination := GetSysDir() + \"\\CoolControls.ocx\"\n\n IF !File( cOriginal )\n MsgAlert(cOriginal+\" file not found\")\n RETURN NIL\n ENDIF\n\n if !File((cDestination))\n Copy File &cOriginal TO &cDestination\n endif\n\n if File((cDestination))\n WinExec( \"REGSVR32 \" + cDestino + \" /s\" )\n endif\n\n ::lOk := IsActiveX( \"CoolControls.jcFrames\" )\n IF !::lOk\n MsgInfo( \"Error to Register \"+cOriginal+\" File\" )\n ENDIF\n\nRETURN NIL\n\n\nMETHOD ERROR( uParam1 )\n LOCAL cMsg, nParam, uRet\n nParam := PCount()\n cMsg := __GetMessage()\n IF SubStr( cMsg, 1, 1 ) == \"_\"\n cMsg := SubStr( cMsg, 2 )\n ENDIF\n\n /*\n How to handle error code start from here\n */\n\n DO CASE\n CASE nParam == 0\n uRet := \"I don't know\"\n CASE nParam == 1\n uRet := \"What is this\"\n ENDCASE\nRETURN uRet", "time": "07:14", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\nTo set the caption try this:\n\noActiveX&#058;SetProp( \"Caption\", \"Hello world\" )", "time": "07:40", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "[code:2kyqc29p]\nMETHOD ERROR&#40; uParam1 &#41; CLASS FRAMESX \n\n local cMsg &#58;= __GetMessage&#40;&#41; \n\n if SubStr&#40; cMsg, 1, 1 &#41; == \"_\"\n return &#58;&#58;SetProp&#40; SubStr&#40; cMsg, 2 &#41;, uParam1 &#41;\n else\n return &#58;&#58;GetProp&#40; cMsg &#41; \n endif\n\nreturn nil\n[/code:2kyqc29p]", "time": "07:45", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank Antonio, It's work now.\n\nAreang\n <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "08:14", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio !\n\nThis is the first class was create by me, and so happy.\n\nBut can't put the others control on this frames to work with my windows. \n\nHow to work together between xHB control and myocx control.\n\nwhen uncomment this \"oWnd:oClient := oFrames:oControl\"\nthe others control can work together, Is that true ?\n\nIn VB, I can see the properties position :\nHeight, Left, Top and Width but I can't see on oleview of them.\n\nCan you help me again about this ?\n\nThank\nBest Regard\n\nAreang", "time": "08:40", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\n>\nwhen uncomment this \"oWnd:oClient := oFrames:oControl\" \nthe others control can work together, Is that true ? \n>\n\nYes, because oWnd:oClient fills the entire surface of the window with the control, so if you want to use more controls on it, you can't assign it to oWnd:oClient.\n\n>\nIn VB, I can see the properties position : \nHeight, Left, Top and Width but I can't see on oleview of them. \n>\n\nClass TActiveX inherits from Class TControl, so you can do:\n\noActiveX&#058;nTop = ...\noActiveX&#058;nLeft = ...\noActiveX&#058;nWidth = ...\noActiveX&#058;nHeight = ...", "time": "09:52", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio !\n\nOn activex.prg, I can see the class :\n\nCLASS TActiveX FROM TControl\nthere is :\n METHOD ReSize( nFlags, nWidth, nHeight ) INLINE ;\n ActXSetLocation( ::hActiveX, 0, 0, nWidth, nHeight )\n\nCan I use it for position my frames ?\n\nOr I have to add this :\n\nClass TActiveX inherits from Class TControl, so you can do: \n\noActiveX&#058;nTop = ... \noActiveX&#058;nLeft = ... \noActiveX&#058;nWidth = ... \noActiveX&#058;nHeight = ...\n\nBut where to write of this code below :\n( Please you write here or on activex.prg )\n\n\n\nThis is my code class, next is activex class\n\n#include \"Fivewin.ch\"\n\nCLASS FRAMESX \n DATA oControl\n DATA oButton\n CLASSDATA lOk Init .F.\n ERROR HANDLER ERROR()\n METHOD New()\n METHOD Activate()\n METHOD Install()\n METHOD CheckOCX()\nENDCLASS\n\n\nMETHOD New( oWnd,nId ) CLASS FRAMESX\n local cCaption := \"\"\n\n ::CheckOCX()\n\n IF !::lOk\n MsgInfo( \"Error to Install OCX Control\" )\n RETURN SELF\n ENDIF\n\n\n IF nId != NIL\n ::oControl := TActiveX():Redefine( nId, oWnd, \"COOLCONTROLS.jcFrames\" )\n ELSE\n ::oControl := TActiveX():New( oWnd, \"COOLCONTROLS.jcFrames\" )\n ENDIF\n\n ::oControl:SetProp( \"Caption\", \"Hello world\" )\n\n IF !Empty( oWnd:hWnd )\n ::Activate()\n ENDIF\n\n RETURN SELF\n\n\nMETHOD Activate()\n ::oButton := TOleAuto():New( ActXPdisp( ::oControl:hActiveX ) )\nRETURN NIL\n\n/*-----------------------------------------------------------------------------------------------*/\nMETHOD CheckOCX( lAutoInstall )\n DEFAULT lAutoInstall := .F.\n IF !::lOk\n IF IsActiveX( \"CoolControls.jcFrames\" )\n ::lOk := .T.\n ELSE\n IF lAutoInstall .OR. MsgAlert( \"Install OCX COntrol Now ?\", { \"Yes\", \"No\" } ) == 1\n MsgRun( \"Installing OCX Control\", NIL, { || ::Install() } )\n ENDIF\n ENDIF\n ENDIF\nRETURN ::lOk\n\n\nMETHOD Install()\n LOCAL cOriginal, cDestination\n cOriginal := \"CoolControls.ocx\"\n cDestination := GetSysDir() + \"\\CoolControls.ocx\"\n\n IF !File( cOriginal )\n MsgAlert(cOriginal+\" file not found\")\n RETURN NIL\n ENDIF\n\n if !File((cDestination))\n Copy File &cOriginal TO &cDestination\n endif\n\n if File((cDestination))\n WinExec( \"REGSVR32 \" + cDestination + \" /s\" )\n endif\n\n ::lOk := IsActiveX( \"CoolControls.jcFrames\" )\n IF !::lOk\n MsgInfo( \"Error to Register \"+cOriginal+\" File\" )\n ENDIF\n\nRETURN NIL\n\n\n\nMETHOD ERROR( uParam1 ) CLASS FRAMESX \n\n local cMsg := __GetMessage() \n\n if SubStr( cMsg, 1, 1 ) == \"_\" \n return ::SetProp( SubStr( cMsg, 2 ), uParam1 ) \n else \n return ::GetProp( cMsg ) \n endif \n\nreturn nil\n\n\nThank\nBest Regard\nAreang", "time": "10:50", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n[code:3bf8r0ux]\nMETHOD New&#40; oWnd, nId, nTop, nLeft, nWidth, nHeight &#41; CLASS FRAMESX \n&#46;&#46;&#46;\n IF nId != NIL \n &#58;&#58;oControl &#58;= TActiveX&#40;&#41;&#58;Redefine&#40; nId, oWnd, \"COOLCONTROLS&#46;jcFrames\" &#41; \n ELSE \n &#58;&#58;oControl &#58;= TActiveX&#40;&#41;&#58;New&#40; oWnd, \"COOLCONTROLS&#46;jcFrames\" &#41; \n &#58;&#58;oControl&#58;nTop = nTop\n &#58;&#58;oControl&#58;nLeft = nLeft\n &#58;&#58;oControl&#58;nWidth = nWidth\n &#58;&#58;oControl&#58;nHeight = nHeight\n ENDIF \n&#46;&#46;&#46;\n[/code:3bf8r0ux]", "time": "11:06", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour