messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio !\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,,10,20,200,200 )\n--> It's work fine\n\n @100,100 BUTTON \"Save\" size 60,20 of oWnd pixel action MsgAlert(\"Save\")\n--> When I click the button, no action because the button draw on frames \n--> What is your suggest ?\n--> Should I add the my frames on class control ?\n \n Activate Window oWnd\n\nReturn NIL\n\nThank\nBest Regard\nAreang", "time": "11:51", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\n> @100,100 BUTTON \"Save\" size 60,20 of oWnd pixel action MsgAlert(\"Save\") \n\nThat control is a child control of oWnd so oWnd should get notified when it gets clicked and the ACTION clause should work.", "time": "18:24", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio.\n\noWnd:setText( \"Use JcFrames from CoolControls.ocx\" ) \n\noFrames := Framesx():New( oWnd,,10,20,200,200 )\n\n@100,100 BUTTON \"Save\" size 60,20 of oWnd pixel action MsgAlert(\"Save\")\n-> This Button draw on area oFrames, when I clicked \"Save\" button still no action.\n\nBy the way !\nThis is my first class to learn more class with OCX, but to hard for me.\nI want to try with own function to draw the frames.\n\nThank Antonio for help.\n\nBest Regard\nAreang", "time": "01:20", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\nYou should change Method HandleEvent() in Class TActiveX and check if WM_COMMAND value is received when the button is clicked.", "time": "01:29", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIs this that you mean ?\n\nMETHOD OnEvent( nEvent, aParams, pParams ) CLASS TActiveX\n\n local nAt := AScan( ::aEvents, { | aEvent | aEvent[ 2 ] == nEvent } )\n local cEvent := If( nAt != 0, ::aEvents[ nAt ][ 1 ], \"\" )\n \n if ! Empty( ::bOnEvent )\n Eval( ::bOnEvent, If( ! Empty( cEvent ), cEvent, nEvent ), aParams, pParams )\n endif \n\nreturn nil\n\nAntonio, \n\nCan you give me information about this :\n\n1. I have xHB from xHarbour.com patrick mask, Is your there too ?\n2. I used xBuildW for my compiler.\n3. Can I use the others compiler ?\n4. When I used BCC55 or MSVC to many errors.\n\nPlease help me ! <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nMany Thanks again.\n\nBest Regard\nAreang", "time": "01:57", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Oskar,\n\nYes I Can see on TRMChartX class.\n\nThis is not handle event for the control of windows, just for drawing.\n\nIs'nt it ? <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: --> \n\n\nThanks\nBest Regard\nAreang", "time": "04:14", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\n> 1. I have xHB from xHarbour.com patrick mask, Is your there too ? \n\nFWH is fully compatible with Harbour, xHarbour and xHarbour.com\n\n> 3. Can I use the others compiler ? \n\nYes,\n\n> 4. When I used BCC55 or MSVC to many errors. \n\nWhat errors do you get ?", "time": "07:58", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nPlease Help me !\n\n1. I used xHB and xBuildW compiler, no Activex.lib get error :\n\n\nApplication\n===========\n Path and name: D:\\NewHarbour\\OCX\\codejock\\test.exe (32 bits)\n Size: 1,546,240 bytes\n Time from start: 0 hours 0 mins 0 secs \n Error occurred at: 08/20/06, 14:46:13\n Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: HWND\n Args:\n\nStack Calls\n===========\n Called from: => HWND(0)\n Called from: TActiveX.prg => TACTIVEX&#058;NEW(0)\n Called from: TActiveX.prg => CREATEACTIVEX(184)\n Called from: TActiveX.prg => TACTIVEX&#058;NEW(0)\n Called from: test.prg => MAIN(13)\n\n\n2. I used xHB and xBuildW compiler, with Activex.lib from xHB\\lib still error :\n\nApplication\n===========\n Path and name: D:\\NewHarbour\\OCX\\codejock\\test.exe (32 bits)\n Size: 1,534,976 bytes\n Time from start: 0 hours 0 mins 0 secs \n Error occurred at: 08/20/06, 14:51:47\n Error description: Error BASE/7001 EmbedObject failed!: __CREATEACTIVEX\n Args:\n [ 1] = N 1640128\n [ 2] = C Codejock.CommandBarsFrame.10.2\n [ 3] = N -4\n [ 4] = U \n\nStack Calls\n===========\n Called from: => THROW(0)\n Called from: TActiveX.prg => TACTIVEX&#058;NEW(59)\n Called from: test.prg => MAIN(13)\n\n\nThanks\nBest Regard\nAreang", "time": "08:53", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\nUse this at the top of your main PRG:\n\nREQUEST TACTIVEX", "time": "09:00", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: --> my eye tires is empty for this.\n\n--> Please Help me, to understand ActiveX viewed by Oleview:\n[\n uuid(555E8FCC-830E-45CC-AF00-A012D5AE7451),\n version(10.1),\n helpstring(\"Xtreme CommandBars ActiveX Control 10.1\"),\n helpfile(\"SymbolReference.chm\"),\n helpcontext(0x000004d1),\n custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780),\n custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1145655562)\n\n]\nlibrary XtremeCommandBars\n\n\n\n\nIF !IsActiveX( \"{555E8FCC-830E-45CC-AF00-A012D5AE7451}\" )\n --> it's good. \nENDIF\n\nCan I call : \noCommandBars = TActiveX():New( oWnd, \"{555E8FCC-830E-45CC-AF00-A012D5AE7451}\" )\nor \noCommandBars = TActiveX():New( oWnd, \"XtremeCommandBars.CommandBarsFrame\" ) \n\noCommandBars:SetSize( 200, 100 ) \n\n // Set RibbonBar = CommandBars.AddRibbonBar(\"The Ribbon\") \n oRibbonBar = oCommandBars:Do( \"AddRibbonBar\", \"The Ribbon\" ) \n \n // Set TabWrite = RibbonBar.InsertTab(0, \"Writ&e\") \n oTabWrite = OleInvoke( oRibbonBar, \"InsertTab\", 0, \"Writ&e\" ) \n \n // TabWrite.Id = ID_TAB_WRITE \n OleSetProperty( oTabWrite, \"Id\", ID_TAB_WRITE ) \n\n // Set GroupClipborad = TabWrite.Groups.AddGroup(\"&Clipboard\", ID_GROUP_CLIPBOARD) \n oGroups = OleGetProperty( oTabWrite, \"Groups\" ) \n oGroupClipborad = OleInvoke( oGroups, \"AddGroup\", \"&Clipboard\", ID_GROUP_CLIPBOARD ) \n\n // A numeric value different from zero shows that it is a valid handle \n \n MsgInfo( oGroupClipborad ) \n \n ACTIVATE WINDOW oWnd \n\n--> Get error : \npplication\n===========\n Path and name: D:\\NewHarbour\\codejock\\test.exe (32 bits)\n Size: 1,543,680 bytes\n Time from start: 0 hours 0 mins 1 secs \n Error occurred at: 08/20/06, 17:14:39\n Error description: Error BASE/7001 EmbedObject failed!: __CREATEACTIVEX\n Args:\n [ 1] = N 854254\n [ 2] = C XtremeCommandBars.CommandBarsFrame\n [ 3] = N -4\n [ 4] = U \n\nStack Calls\n===========\n Called from: => THROW(0)\n Called from: TActiveX.prg => TACTIVEX&#058;NEW(59)\n Called from: test.prg => MAIN(53)\n\nSystem\n======\n CPU type: Intel(R) Pentium(R) 4 CPU 2.66GHz 2666 Mhz\n Hardware memory: 511 megs\n\n Free System resources: 90 %\n GDI resources: 90 %\n User resources: 90 %\n\n Compiler version: xHarbour build 0.99.61 Intl. (SimpLex)\n Windows version: 5.1, Build 2600 Service Pack 2\n\n Windows total applications running: 0\n\nVariables in use\n================\n Procedure Type Value\n ==========================\n THROW\n Param 1: O Class: ERROR\n Local 1: U \n Local 2: N 0\n TACTIVEX&#058;NEW\n Param 1: N 854254\n Param 2: C \"XtremeCommandBars.CommandBarsFrame\"\n Local 1: N -4\n Local 2: U \n Local 3: O Class: TACTIVEX\n Local 4: O Class: ERROR\n Local 5: U \n Local 6: U \n MAIN\n Local 1: O Class: TWINDOW\n Local 2: U \n Local 3: U \n Local 4: U \n Local 5: U \n Local 6: U \n Local 7: U \n Local 8: U \n\nLinked RDDs\n===========\n DBF\n DBFFPT\n DBFNTX\n DBFBLOB\n\nDataBases in use\n================\n\nClasses in use:\n===============\n 1 HBCLASS\n 2 HBOBJECT\n 3 TWINDOW\n 4 TBRUSH\n 5 TFONT\n 6 TOLEAUTO\n 7 TACTIVEX\n 8 ERROR\n 9 TREG32\n\nMemory Analysis\n===============\n 125 Static variables\n\n Dynamic memory consume:\n Actual Value: 0 bytes\n Highest Value: 0 bytes\n\n\nAreang <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: -->", "time": "11:17", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\nHave you placed REQUEST TACTIVEX at the top of your main PRG ?\n\nAre you using xHarbour builder ?", "time": "12:05", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\n\nREQUEST TACTIVEX\n\n#include \"FiveWin.ch\" \n\n#define ID_TAB_WRITE 5004 \n#define ID_GROUP_CLIPBOARD 5001 \n\nfunction Main() \n\n local oWnd, oCommandBars, oRibbonBar, oTabWrite, oGroups, oGroupClipborad \n\n LOCAL cOriginal, cDestination\n\n IF !IsActiveX( \"{555E8FCC-830E-45CC-AF00-A012D5AE7451}\" )\n\n MsgAlert(\"Not Active\")\n\n cOriginal := \"commandbars.ocx\"\n cDestination := GetSysDir() + \"\\commandbars.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 else\n MsgAlert(\"File \"+cDestination+\" Not Found\")\n return nil\n endif\n \n\n IF !IsActiveX( \"{555E8FCC-830E-45CC-AF00-A012D5AE7451}\" )\n MsgInfo( \"Error to Register \"+cOriginal+\" File\" )\n return nil\n ENDIF\n else\n MsgAlert(\"Is Active\")\n endif\n \n DEFINE WINDOW oWnd \n \n // Begin XtremeCommandBars.CommandBars CommandBars \n\n\n// oCommandBars = TActiveX():New( oWnd, \"{555E8FCC-830E-45CC-AF00-A012D5AE7451}\" ) \n\n oCommandBars = TActiveX():New( oWnd, \"XtremeCommandBars.CommandBarsFrame\" ) \n \n oCommandBars:SetSize( 200, 100 ) \n\n // Set RibbonBar = CommandBars.AddRibbonBar(\"The Ribbon\") \n oRibbonBar = oCommandBars:Do( \"AddRibbonBar\", \"The Ribbon\" ) \n \n // Set TabWrite = RibbonBar.InsertTab(0, \"Writ&e\") \n oTabWrite = OleInvoke( oRibbonBar, \"InsertTab\", 0, \"Writ&e\" ) \n \n // TabWrite.Id = ID_TAB_WRITE \n OleSetProperty( oTabWrite, \"Id\", ID_TAB_WRITE ) \n\n // Set GroupClipborad = TabWrite.Groups.AddGroup(\"&Clipboard\", ID_GROUP_CLIPBOARD) \n oGroups = OleGetProperty( oTabWrite, \"Groups\" ) \n oGroupClipborad = OleInvoke( oGroups, \"AddGroup\", \"&Clipboard\", ID_GROUP_CLIPBOARD ) \n\n // A numeric value different from zero shows that it is a valid handle \n \n MsgInfo( oGroupClipborad ) \n \n ACTIVATE WINDOW oWnd \n \nreturn nil\n\n\nAreang", "time": "12:12", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\nAre you using xHarbour builder ?", "time": "12:46", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, \n\nI used xBuildW from xHarbour.com\n\nAreang", "time": "06:14", "topic": "ActiveX VB with xHarbour", "username": "areang" } ]
ActiveX VB with xHarbour
[ { "date": "2006-08-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Areang,\n\n\"XtremeCommandBars.CommandBarsFrame\" is a very complex ActiveX. \n\nWe would suggest you to start with easier ones, and try with this one later on.", "time": "08:18", "topic": "ActiveX VB with xHarbour", "username": "Antonio Linares" } ]
ActiveX VB with xHarbour
[ { "date": "2007-06-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Muy buenas, estoy utilizando el activex que abre el explorador web, este es el codigo: oActiveX = TActiveX():New( oWnd, \"Shell.Explorer\" ),pero me interesaría saber si se puede utilizar el explorador web que se tenga por defecto, es decir, si tengo firefox pues que utilice este. Lo hago esto por que a veces me dá error el explorer.\n\n¿Que puede hacer?\nGracias.", "time": "19:00", "topic": "ActiveX con El Explorador Web por defecto", "username": "softruz" } ]
ActiveX con El Explorador Web por defecto
[ { "date": "2007-06-02", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos Cordiales Colegas!!\n\nBueno pieso yo que si usas ShellExecute el archivo se abrira en la Capa del Sistema Operativo y en esa capa tomara en cuenta cual es el Explorardor por defecto que tengas en uso\n\n[code:jbcbiazm]LOCAL cHtml&#58;=\"Archivo&#46;html\"\n\nShellExecute&#40;0,\"open\",cHtml&#41;&#125;\n\n[/code:jbcbiazm]", "time": "06:31", "topic": "ActiveX con El Explorador Web por defecto", "username": "danielr cyberia®" } ]
ActiveX con El Explorador Web por defecto
[ { "date": "2007-06-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Hasta donde tengo entendido, FireFox no es proveedor ActiveX, por lo tanto no se puede utilizar con la clase ActiveX de Fw.", "time": "21:57", "topic": "ActiveX con El Explorador Web por defecto", "username": "R.F." } ]
ActiveX con El Explorador Web por defecto
[ { "date": "2007-06-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola gente,\n\nNo es muy nuevo, pero se puede.\n\n<!-- m --><a class=\"postlink\" href=\"http://www.iol.ie/~locka/mozilla/control.htm\">http://www.iol.ie/~locka/mozilla/control.htm</a><!-- m -->\n\nSaludos,\n\nCarlos.", "time": "14:18", "topic": "ActiveX con El Explorador Web por defecto", "username": "Carlos Mora" } ]
ActiveX con El Explorador Web por defecto
[ { "date": "2006-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Podeis descargar samples\\webexp.prg con soporte de eventos desde:\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/83ddff56/webexp.zip.html\">http://hyperupload.com/download/83ddff5 ... p.zip.html</a><!-- m --> \n\nCódigo fuente y EXE incluidos.", "time": "09:48", "topic": "ActiveX con eventos - demo!", "username": "Antonio Linares" } ]
ActiveX con eventos - demo!
[ { "date": "2006-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Otro ejemplo de samples\\media.prg usando eventos:\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/cc868225/media.zip.html\">http://hyperupload.com/download/cc868225/media.zip.html</a><!-- m -->", "time": "09:53", "topic": "ActiveX con eventos - demo!", "username": "Antonio Linares" } ]
ActiveX con eventos - demo!
[ { "date": "2006-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n¿ En que build tienes implementado lo de los eventos ?\n\nSaludos", "time": "15:26", "topic": "ActiveX con eventos - demo!", "username": "fleal" } ]
ActiveX con eventos - demo!
[ { "date": "2006-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nSe publicará en el build de Marzo 2006.", "time": "16:39", "topic": "ActiveX con eventos - demo!", "username": "Antonio Linares" } ]
ActiveX con eventos - demo!
[ { "date": "2006-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Olá Antonio,\n\nCom estas mudanças em activex poderemos por exemplo usar o MsDataGrid / MsFlexGrid ? Mirem neste site e vejam este documentador de activex&#058; <!-- m --><a class=\"postlink\" href=\"http://www.vbaccelerator.com/codelib/actvxdoc/article.htm\">http://www.vbaccelerator.com/codelib/ac ... rticle.htm</a><!-- m -->\n De alguma forma ele poderá nos ajudar:\n\n[img:2jq9zdhi]http&#58;//geocities&#46;yahoo&#46;com&#46;br/qiinformatica2000/datagrid&#46;PNG[/img:2jq9zdhi]\n\nAbraços,\n\nRossine.", "time": "17:14", "topic": "ActiveX con eventos - demo!", "username": "Rossine" } ]
ActiveX con eventos - demo!
[ { "date": "2006-02-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Rossine,\n\nHabrá que probarlo <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "21:13", "topic": "ActiveX con eventos - demo!", "username": "Antonio Linares" } ]
ActiveX con eventos - demo!
[ { "date": "2006-02-17", "forum": "FiveWin para Harbour/xHarbour", "text": "OK Antonio, <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nGracias Maestro,\n\nRossine.", "time": "12:51", "topic": "ActiveX con eventos - demo!", "username": "Rossine" } ]
ActiveX con eventos - demo!
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Tengo un ActiveX, del cual controlo sus eventos. Uno de dichos eventos, pasa tres parametros.\r\nEl primero es un numero, y los dos siguientes son un objeto (OLE).\r\n\r\nComo puedo manejar dichos objetos, al revisar el array de parametros, me devuelve un numerico, puedo intuir que sea una dirección de memoria.\r\n\r\nDe la doc. del activeX\r\n\r\nHRESULT OnEnroll(\r\n[in] LONG 1Mask,\r\n[in] IDispatch* pTemplate,\r\n[in] IDispatch* pStatus\r\n);\r\n\r\nMask [in] Variable of type long that contains the index value \r\nTemplate [in] A DPFPTemplate object\r\npStatus [in] A DPFPEventHandlerStatus object\r\n\r\nActualmente me devuelve lo siguiente\r\naParams[1]-->2 \r\naParams[2]-->53158252 //Esto debiera ser Objeto Template??\r\naParams[3]-->18948684 //Esto debiera ser Objeto Status", "time": "13:13", "topic": "ActiveX ctrl de eventos y manejo de parametros", "username": "Biel EA6DD" } ]
ActiveX ctrl de eventos y manejo de parametros
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Biel,\r\n\r\n>\r\naParams[2]-->53158252 //Esto debiera ser Objeto Template?? \r\naParams[3]-->18948684 //Esto debiera ser Objeto Status\r\n>\r\n\r\nSi, posiblemente. Para poder usarlos, haz esto:\r\n[code:20ptas09]\n local o &#58;= CreateObject&#40; \"Shell&#46;Explorer\" &#41;\n local hOldObj &#58;= o&#58;hObj\n local uRet \n\n o&#58;hObj = aParams&#91;2&#93;\n // a partir de aqui, lo puedes usar como un objeto OleAuto \n &#46;&#46;&#46; \n o&#58;hObj = hOldObj \n o = nil\n[/code:20ptas09]", "time": "14:38", "topic": "ActiveX ctrl de eventos y manejo de parametros", "username": "Antonio Linares" } ]
ActiveX ctrl de eventos y manejo de parametros
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Antonio,\r\nsupongo que con lo que me indicas debe de funcionar. \r\nEl objeto parece que queda bien definido, el problema que tengo ahora, es particular de este objeto OleAuto, y es que puedo acceder a los datas, pero no me reconoce ningun metodo.\r\nEn VB, lo he probado y si funciona ok, tanto metodos como datas. Alguna idea de lo que le pueda pasar.\r\nAlguna manera para ver los metodos disponibles de un control OleAuto?\r\n\r\n[quote:nkcxpgkw]Error description: Error DPFPShrX.DPFPTemplate/3 DISP_E_MEMBERNOTFOUND: DESERIALIZE\n Args:\n\nStack Calls\n===========\n Called from: source\\rtl\\win32ole.prg => TOLEAUTO:DESERIALIZE(0)[/quote:nkcxpgkw]\r\n\r\nPD Este comportamiento es independiente al hecho de cambiar hObj, si no lo cambio, tampoco me funciona.", "time": "17:35", "topic": "ActiveX ctrl de eventos y manejo de parametros", "username": "Biel EA6DD" } ]
ActiveX ctrl de eventos y manejo de parametros
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Biel:\r\n\r\nTe envie a tu privado, algo que te va a servir !! \r\n\r\nSaludos,\r\n\r\nJuan", "time": "18:39", "topic": "ActiveX ctrl de eventos y manejo de parametros", "username": "jcaro" } ]
ActiveX ctrl de eventos y manejo de parametros
[ { "date": "2008-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Juan,\r\nlo que realmente me interesaria es poder comprobar las existencias de los metdos desde dentro de Harbour.\r\n\r\nLos nombres de los metodos, los tengo en la documetación y ademas tambien los he comprobado con Oleview, el caso es que desde Harbour me retorna error, y por ejemplo desde VB funciona correctamente. Es un comportamiento algo estraño, hasta la fecha, siempre me habia funcionado sin problema la mayoria de controles Ole.\r\n\r\nSi alguien puede darme una pista, sera bienvenida.", "time": "21:47", "topic": "ActiveX ctrl de eventos y manejo de parametros", "username": "Biel EA6DD" } ]
ActiveX ctrl de eventos y manejo de parametros
[ { "date": "2013-07-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy migrando mis aplicaciones desde xharbour+Bcc582 a Harbour+Visual Studio 2012\n\nTengo problemas con algunos ActiveX, en concreto con Crystal Report y con LeadTool.\nEl problema es que no visualiza nada. Abre la ventana mdichild pero no muestra nada.\n\nAdemás me pasa en los equipos con Windows 7, Windows 8, Windows 2008 server. \nEl mismo ejecutable en XP o 2000 server. funciona correctamente.\n\nLa misma aplicación compilada con xHarbour+Bcc582 y con Harbour+Bcc582 funciona en todos los operativos.\n\nTambién he probado a cambiar el código y usar THActiveX pero sucede lo mismo.\n\n[code=fw:et2bt3ux]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">Window</span> oVentHija <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #ff0000;\">\"Reporte\"</span> <span style=\"color: #0000ff;\">OF</span> oWndPrincipal<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> oVentHija, <span style=\"color: #ff0000;\">\"CrystalReports11.ActivexReportViewer.1\"</span> <span style=\"color: #000000;\">&#41;</span>  <br /> oVentHija:<span style=\"color: #000000;\">oClient</span> := oActiveX<br /> oActivex&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ReportSource\"</span>, oCRReport <span style=\"color: #000000;\">&#41;</span><br /> oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableStopButton\"</span>,     <span style=\"color: #000000;\">1</span>  <span style=\"color: #000000;\">&#41;</span><br /> oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableAnimationCtrl\"</span>,  <span style=\"color: #000000;\">0</span>  <span style=\"color: #000000;\">&#41;</span><br /> oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableCloseButton\"</span>,    <span style=\"color: #000000;\">1</span>  <span style=\"color: #000000;\">&#41;</span> <br /> oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableExportButton\"</span>,   <span style=\"color: #000000;\">1</span>  <span style=\"color: #000000;\">&#41;</span><br /> oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnablePopupMenu\"</span>,      <span style=\"color: #000000;\">0</span>  <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">// revisar, es interesante pero da error</span><br /> oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableRefreshButton\"</span>,  <span style=\"color: #000000;\">0</span>  <span style=\"color: #000000;\">&#41;</span><br /> oActiveX&#<span style=\"color: #000000;\">058</span>;bOnEvent = <span style=\"color: #000000;\">&#123;</span> | event, aParams | EventInfo<span style=\"color: #000000;\">&#40;</span> event, aParams, oCRReport, oActivex  <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oVentHija  <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oActiveX&#<span style=\"color: #000000;\">058</span>;Do<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Viewreport\"</span> <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">function</span> EventInfo<span style=\"color: #000000;\">&#40;</span> event, aParams, oCRReport, oActivex <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> cMsg := cValToChar<span style=\"color: #000000;\">&#40;</span> event <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//+ CRLF</span><br /><span style=\"color: #00C800;\">return</span> cMsg <br /> </div>[/code:et2bt3ux]", "time": "17:45", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nSencillamente excelente! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nMuchas gracias!", "time": "17:37", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nNo te genera error ? No lo muestra y no da error ?\n\nPrueba tambien a hacer:\n\noActiveX&#058;Show()", "time": "18:57", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-04", "forum": "FiveWin para Harbour/xHarbour", "text": "No, no genera ningún error.\nSólo abre la ventana MDI y dentro esta vacia (fondo blanco).\n\noActiveX&#058;Show() -> No funciona.\n\nNo parece que sea un tema de FWH o de Harbour, ya que cuando compilo con FHW+Harbour+BCC582 funciona bien.\nMas parece un tema de las librerías que se incluyen de Visual Studio, que hace que esos 2 controles no se muestren.\nEl control del PDF, si funciona.\n\n¿Podría ser problema de la versión de los viewer?, aunque con BCC582 funciona", "time": "19:15", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Buenas tardes,\n\nYo tuve ese problema con MSVC 2010, prueba registrando los controles y/o DLL asociados.\n\nSlds", "time": "20:21", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "nnicanor" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-04", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias por responder,\n\nTampoco funciona\n\nInformación de dll's a registrar para crystal report\nREGSVR32 CRVIEWER.DLL\nREGSVR32 REPORTPARAMETERDIALOG.DLL\nREGSVR32 SVIEWHLP.DLL\nREGSVR32 SWEBRS.DLL", "time": "21:23", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nPodrias proporcionar el código fuente de un ejemplo muy simple para poder reproducirlo aqui ?\n\nAsi puedo hacer pruebas aqui, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "03:06", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio, gracias por tu tiempo.\n\nPreparo un ejemplo y te lo envío", "time": "09:28", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-05", "forum": "FiveWin para Harbour/xHarbour", "text": "he modificado el archivo tutor02.prg con lo siguiente:\n\n[code=fw:czdh4bjw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Our first Window in FiveWin !!!</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oWnd, oActiveX, oCRApp, oRpt<br /><br />   oCRApp := CreateObject<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"CrystalRuntime.Application.11\"</span><span style=\"color: #000000;\">&#41;</span> <br />   oRpt   := oCRApp:<span style=\"color: #000000;\">OpenReport</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Blanc.rpt\"</span><span style=\"color: #000000;\">&#41;</span><br />   <br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">6</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">70</span> ;<br />      <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Welcome to \"</span> + FWDESCRIPTION <span style=\"color: #0000ff;\">COLOR</span> <span style=\"color: #ff0000;\">\"W/B\"</span><br /><br /><span style=\"color: #B900B9;\">//   @ 2, 2 SAY \"Hello world!\"</span><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> oWnd, <span style=\"color: #ff0000;\">\"CrystalReports11.ActivexReportViewer.1\"</span> <span style=\"color: #000000;\">&#41;</span>  <br />   oWnd:<span style=\"color: #000000;\">oClient</span> := oActiveX<br />   oActivex&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"ReportSource\"</span>, oRpt <span style=\"color: #000000;\">&#41;</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableStopButton\"</span>,     <span style=\"color: #000000;\">1</span>  <span style=\"color: #000000;\">&#41;</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableAnimationCtrl\"</span>,  <span style=\"color: #000000;\">0</span>  <span style=\"color: #000000;\">&#41;</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableCloseButton\"</span>,    <span style=\"color: #000000;\">1</span>  <span style=\"color: #000000;\">&#41;</span> <br />   oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableExportButton\"</span>,   <span style=\"color: #000000;\">1</span>  <span style=\"color: #000000;\">&#41;</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnablePopupMenu\"</span>,      <span style=\"color: #000000;\">0</span>  <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">// revisar, es interesante pero da error</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"EnableRefreshButton\"</span>,  <span style=\"color: #000000;\">0</span>  <span style=\"color: #000000;\">&#41;</span><br />   oActiveX&#<span style=\"color: #000000;\">058</span>;bOnEvent = <span style=\"color: #000000;\">&#123;</span> | event, aParams | EventInfo<span style=\"color: #000000;\">&#40;</span> event, aParams, oRpt, oActivex  <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <br />   <br />   oActiveX&#<span style=\"color: #000000;\">058</span>;Do<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Viewreport\"</span> <span style=\"color: #000000;\">&#41;</span><br />   <br />   <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br />      <span style=\"color: #0000ff;\">VALID</span> MsgYesNo<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Are you sure?\"</span>, <span style=\"color: #ff0000;\">\"Do you want to exit?\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <br /><br /><br /><span style=\"color: #00C800;\">function</span> EventInfo<span style=\"color: #000000;\">&#40;</span> event, aParams, oRpt, oActivex <span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">local</span> cMsg := cValToChar<span style=\"color: #000000;\">&#40;</span> event <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//+ CRLF</span><br /><span style=\"color: #00C800;\">return</span> cMsg <br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:czdh4bjw]\nel rpt \"blanc.rpt\" lo subo rapidshare\n[url:czdh4bjw]http&#58;//rapidshare&#46;com/files/3559180351/Blanc&#46;rar[/url:czdh4bjw]\n\nEl rpt esta vacio, pero carga una ventana donde se ve el menu superior.\nEn windows 7, windows 8, etc sólo carga la ventana y dentro no se ve nada.\n\nLo compilo con builh32.bat, donde lo único que he cambiado son las llamadas a VC y SDK, porque yo lo tengo instalado en otro sitio\nset vcdir=\"C:\\Microsoft Visual Studio 11.0\\VC\"\nset sdkdir=\"C:\\Microsoft Visual Studio 11.0\\SDK\\v7.1A\" //Tambien he probado con \"C:\\Microsoft Visual Studio 11.0\\SDK\\v7.0A\"", "time": "10:45", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nDonde se consiguen esas DLLs ? Son redistribuibles ?\n\ngracias", "time": "12:24", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nTe ha llegado lo que te he enviado", "time": "20:57", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nSi, y te acabo de responder por email, gracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "21:07", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nhe probado de todo lo que se me ha ocurrido sin ningún resultado positivo por el momento.\n\nFalla tanto con TActiveX como con THActiveX por el simple hecho de usar MSVC. Con Borland, funciona perfectamente.\n\nEn el caso de THActiveX somos un simple wrapper de la implementación de Harbour. Como THActiveX deriva de TControl he probado a declarar como VIRTUAL los métodos Display(), Paint(), Link(), EraseBkGnd() y nada, el mismo resultado.\n\nSi hago oActiveX&#058;Hide() el control se oculta, luego está ahí, pero por que no se muestra ? A ver si se nos ocurre algo...\n\nA este problema es al que me refiero tantas veces: el problema del uso de ActiveX y componentes externos. Ahora ante este problema que podemos hacer ? Sencillamente ir dando palos de ciego y ver si suena la flauta... y sino se arregla: estamos jodidos. Imposible pasar a MSVC, por usar componentes externos... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->", "time": "22:15", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias Antonio.\nLas nuevas versiones están desarrolladas en framework. Se puede implementar?", "time": "22:51", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\nTe refieres a .NET ?\n\nPor supuesto lo más importante en esto es ayudarte a solucionar el problema técnico de alguna forma, pero para mi es mucho más interesante que compartieses con nosotros el por que usas Crystal Reports ? Que usas de Crystal Reports ? Que es lo bueno que tiene y que le sobra ? \n\nEn breve me pondré a construir (ó a sintetizar todo lo hecho) para tener nuestro propio diseñador de reportes. Por esto te pregunto esto, asi tendré la información necesaria para construirlo y asi nos libramos de CR para siempre <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "13:58", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio:\n\nMe alegra leer tu decisión de desarrollar un diseñador de reporte propio de FW y te felicito por esto creo\nque esto solidificará más a FW.\n\nSugiero echarle una mirada, si es que no lo haz hecho, a FastReport, teniendo lo que FR aporta\ntendríamos un excelente diseñador.\n\nTe ánimo a hacerlo a la brevedad posible.\n\nSaludos, ánimo", "time": "16:55", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Armando" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando,\n\nLo que me gustaria es que hagamos una especie de comparativa entre los diseñadores de reportes existentes.\n\nQue es lo mejor de cada uno de ellos, que hace falta realmente y que sobra <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nY asi construimos un diseñador que tenga todo lo necesario.", "time": "22:37", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Antonio Linares" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio:\n\nEntonces sugiero abrir un post apropiado para esto y que ahí vayamos poniendo\nnuestras sugerencias, tengo algunas ideas pero esperaré al nuevo post.\n\nSaludos", "time": "00:19", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "Armando" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nSi me refiero a .net framework.\n\nEn cuanto a porque Crystal Report;\nLo uso tanto para los informes como para los modelos de impresión de ofertas/pedidos/albaranes/facturas, etc.\n\nfacilidad de usarse en cualquier entorno de programación.\nComunicación con casi todas las bases sude datos.\nSe diseña las tablas, view, procedures a usar de la base de datos y las relaciones entre las mismas de forma sencilla en un entorno visual.\nPermite el traspaso de parámetros a procedures.\nUso de variables y funciones.\n\nEn cuanto al diseño del modelo:\nDiseño wysiwig del Encabezado, cuerpo y pie.\nPosibilidad de grupos en el cuerpo.\n\nEn cuanto al viewer:\nPosibilidad de desglose en el resultado obtenido\nP.E. Estoy viendo un informe con las ventas por día de todo un mes y se puede (si asi se le indica a crystal) dar doble click en un día y que desglose las operaciones del día.\nEsto viene muy bien para las empresas pequeñas a las que un sistema Business intelligence es complicarles mucho.", "time": "09:33", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando\n\nPuedes indicarme que incluye este producto que te indico y si merece la pena la descarga?\nEn la página aparece como \"Free Download\"\n\n[url:17dy50r4]http&#58;//www54&#46;sap&#46;com/solution/sme/software/analytics/crystal-visual-studio/index&#46;html[/url:17dy50r4]\n[url:17dy50r4]http&#58;//www&#46;sap&#46;com/spain/solutions/sap-crystal-solutions/query-reporting-analysis/sapcrystalreports-visualstudio/index&#46;epx[/url:17dy50r4]\n\n\nGracias", "time": "11:25", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "cnavarro" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "El componente \"Crystal Report for Visual Studio\" sirve para poder implementar la impresión, visualización de los reportes creados (con otro software, de pago).\n\nSu desarrollo esta realizado en .net framework. No se si se puede implementar en Harbour+FWH", "time": "11:47", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando\nGracias por la informacion y tu tiempo\n\nSaludos", "time": "12:46", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "cnavarro" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Solucionado,\n\nEl problema estaba en la prevención de ejecución de datos de Windows (DEP)\n\nAún desactivando DEP del sistema operativo seguía sin ir\nIncluyendo a Crystal Report Viewer dentro de los compenentes DCOM del sistema operativo, tampoco.\n\nComprobando los parametros a la hora de linkar, encontre este \"/NXCOMPAT\"\n[url:1m1dwbwd]http&#58;//msdn&#46;microsoft&#46;com/es-es/library/ms235442&#46;aspx[/url:1m1dwbwd]\nPara marcar al ejecutable indicando si es compatible con la característica DEP.\nSu valor por defecto es \"SI es compatible\", Incluyendo el parametro de que no es compatible, funciona todo correctamente.\n\nLas opciones que uso ahora para link.exe son:\n[code=fw:1m1dwbwd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">/nologo /subsystem:<span style=\"color: #000000;\">WINDOWS</span>,<span style=\"color: #000000;\">5.01</span> /force:<span style=\"color: #000000;\">multiple</span> /NODEFAULTLIB:<span style=\"color: #000000;\">libc</span> /nxcompat:<span style=\"color: #000000;\">NO</span> /machine:<span style=\"color: #000000;\">X86</span> /Ignore:<span style=\"color: #000000;\">4006</span></div>[/code:1m1dwbwd]", "time": "17:28", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2013-07-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nMuchas gracias por tu tiempo.\nSaber que siempre tenemos un apoyo a lo llevamos a cabo anima a seguir.", "time": "17:47", "topic": "ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)", "username": "fgondi" } ]
ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
[ { "date": "2007-05-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi !\n\n I'm searching a working solution for Word with ActiveX . Please send me directly <!-- e --><a href=\"mailto:rimantasu@gmail.com\">rimantasu@gmail.com</a><!-- e --> lib , source or dll with which my application can work with Word through ActiveX . I'll be very thankfull ! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> It seems that ActiveX alreday exist , but I can't find from where I can dowload package .\n\n With best regards ! Rimantas", "time": "12:51", "topic": "ActiveX for Word", "username": "Rimantas" } ]
ActiveX for Word
[ { "date": "2007-05-08", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Rimantas\":2rebsecl]Hi !\n\n I'm searching a working solution for Word with ActiveX . Please send me directly <!-- e --><a href=\"mailto:rimantasu@gmail.com\">rimantasu@gmail.com</a><!-- e --> lib , source or dll with which my application can work with Word through ActiveX . I'll be very thankfull ! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> It seems that ActiveX alreday exist , but I can't find from where I can dowload package .\n\n With best regards ! Rimantas[/quote:2rebsecl]\n\n No comments at all ? <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\n Problems - FiveWin ActiveX isn't working with Word . With Excel - excelent , but with Word - no . It hangs application and Word ActiveX don't appears .\n xBuilder ActiveX ins't working in full . It open Word ActiveX control , but I can't to open file with that . \n\n Please help - maybe it's a solution how to run Word ActiveX with FiveWin ?\n\n Regards ! Rimantas", "time": "09:55", "topic": "ActiveX for Word", "username": "Rimantas" } ]
ActiveX for Word
[ { "date": "2007-05-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Rimantas :\n\nI wrote TExcelS class and re-write TWord class using TOleAuto and xHarbour and works excelent.\n\nIf you wish can I send you.\n\n\n[quote=\"Rimantas\":2ckdspax][quote=\"Rimantas\":2ckdspax]Hi !\n\n I'm searching a working solution for Word with ActiveX . Please send me directly <!-- e --><a href=\"mailto:rimantasu@gmail.com\">rimantasu@gmail.com</a><!-- e --> lib , source or dll with which my application can work with Word through ActiveX . I'll be very thankfull ! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> It seems that ActiveX alreday exist , but I can't find from where I can dowload package .\n\n With best regards ! Rimantas[/quote:2ckdspax]\n\n No comments at all ? <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\n Problems - FiveWin ActiveX isn't working with Word . With Excel - excelent , but with Word - no . It hangs application and Word ActiveX don't appears .\n xBuilder ActiveX ins't working in full . It open Word ActiveX control , but I can't to open file with that . \n\n Please help - maybe it's a solution how to run Word ActiveX with FiveWin ?\n\n Regards ! Rimantas[/quote:2ckdspax]", "time": "18:33", "topic": "ActiveX for Word", "username": "Vikthor" } ]
ActiveX for Word
[ { "date": "2007-05-09", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Vikthor\":cwx8x13h]Rimantas :\n\nI wrote TExcelS class and re-write TWord class using TOleAuto and xHarbour and works excelent.\n\nIf you wish can I send you.\n[/quote:cwx8x13h]\n\n Vikthor , I'll be very thankfull for you . This solution isn't ActiveX , but it will be better than nothing ... <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> . I'm using Excels TOleAuto solution and that work very good , so it can change ActiveX . \n\n With best regards ! Rimantas", "time": "06:43", "topic": "ActiveX for Word", "username": "Rimantas" } ]
ActiveX for Word
[ { "date": "2007-07-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Vikthor,\n\nCould you send to me too please. (do you have any documentation or samples)\n\n<!-- e --><a href=\"mailto:ollie1@theoasis.co.za\">ollie1@theoasis.co.za</a><!-- e -->\n\nThanks in advance.", "time": "12:30", "topic": "ActiveX for Word", "username": "Ollie" } ]
ActiveX for Word
[ { "date": "2009-06-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI am having some difficulty trying to figure out the format of the ActiveX commands.\n\nIs there a guide or something that can explain what and when you use items from an object list.\nI'm having a hard time explaining what I'm after ... maybe some examples will help...\n\nPlaying with the codejock calendar controls I look at the \"object browser\" in in Microsofts VB.\n\nThe following (at bottom) are examples of what I must use for things to work but I am only coming across these either by finding an example or by trial and error. How do you know what to put after the \"oAct:\" \nI guess I am just having a hard time getting my mind around this. \n\nIf I look at the object viewer I see for example:\nClass DatePicker\nThen there is a list of \"Members of DatePciker\". No matter what I try ... can't get a DataPicker on the screen.\nI figured doing a oAct:DatePicker:AttachToCalendar() would work but no luck.\n\nIf I could figure out how the format works I could save a lot of time.\n\n \n oAct:SetDataProvider:=\"Provider=XML;Data Source=\\FusionEMR\\Events.xml\"\n oAct:DataProvider:Open()\n oAct:DayView:Timescale := 30\n oAct:ActiveView:ShowDay:= Date()\n oAct:ViewType:=xtpCalendarDayView\n oAct:Options:WorkDayStartTime(\"8:00:00 AM\")\n oAct:Options:WorkDayEndTime(\"8:00:00 PM\")\n oAct:DayView:ScrollToWorkDayBegin()\n oAct:VisualTheme:=3\n oAct:ShowTimelineButton:= .f.\n oAct:ShowCaptionBar:= .t.\n oAct:ShowCaptionBarScrollDateButtons:= .t.\n oAct:ViewType:= xtpCalendarWorkWeekView", "time": "02:21", "topic": "ActiveX formats", "username": "Jeff Barnes" } ]
ActiveX formats
[ { "date": "2009-06-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nThis may help you:\n\n[url:19vvtanp]https&#58;//forum&#46;codejock&#46;com/printer_friendly_posts&#46;asp?TID=6225[/url:19vvtanp]\n\n[url:19vvtanp]https&#58;//forum&#46;codejock&#46;com/printer_friendly_posts&#46;asp?TID=11425[/url:19vvtanp]", "time": "05:41", "topic": "ActiveX formats", "username": "Antonio Linares" } ]
ActiveX formats
[ { "date": "2009-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nIt looks like this is the way to solve the problem...\n[code=fw:3rh6lcbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Call DatePicker.AttachToCalendar<span style=\"color: #000000;\">&#40;</span> CalendarObject.Object <span style=\"color: #000000;\">&#41;</span></div>[/code:3rh6lcbb]\n\nI can get the Calendar and Datepicker up on the screen like this:\n[code=fw:3rh6lcbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oDate:= 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;\">\"Codejock.DatePicker.13.0.0\"</span>, <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">550</span> <span style=\"color: #000000;\">&#41;</span>          <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;\">\"Codejock.CalendarControl.13.0.0\"</span>, <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">800</span>, <span style=\"color: #000000;\">550</span> <span style=\"color: #000000;\">&#41;</span>   <br /> </div>[/code:3rh6lcbb]\n\nThey way I would think I need to use the AttachedToCalendar() function is like this:\n[code=fw:3rh6lcbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oDate:<span style=\"color: #000000;\">AttachToCalendar</span><span style=\"color: #000000;\">&#40;</span>oAct<span style=\"color: #000000;\">&#41;</span></div>[/code:3rh6lcbb]\n\nBut it does not work, so, how do I convert their solution for use with Fivewin?\nI have tried:\n[code=fw:3rh6lcbb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oDate:<span style=\"color: #000000;\">AttachToCalendar</span><span style=\"color: #000000;\">&#40;</span>oAct:<span style=\"color: #000000;\">object</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3rh6lcbb]\n\nBut it too will not work.", "time": "01:07", "topic": "ActiveX formats", "username": "Jeff Barnes" } ]
ActiveX formats
[ { "date": "2009-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Jeff,\n\nTry it this way:\n\noDate:AttachToCalendar( ActXPdisp( oAct:hActiveX ) )\n\nor \n\noDate:AttachToCalendar( TOleAuto():New( ActXPdisp( oAct:hActiveX ) ) )", "time": "07:51", "topic": "ActiveX formats", "username": "Antonio Linares" } ]
ActiveX formats
[ { "date": "2009-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio ... I would never have figured this out without your help.\n\nThe 2nd option works <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "13:13", "topic": "ActiveX formats", "username": "Jeff Barnes" } ]
ActiveX formats
[ { "date": "2013-11-27", "forum": "FiveWin for Harbour/xHarbour", "text": "This function stop in Fwh13.09.\n\nErro in line: [b:3tggz9h1]oActiveX&#058;SetProp( \"FileName\", cRadioTv )[/b:3tggz9h1]\n\n\n[code=fw:3tggz9h1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />*-----------------------------------------------------------------------------<br /><span style=\"color: #00C800;\">Function</span> TVRadio<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// PAINEL PARA SE OUVIR RÁDIOS E ASSISTIR ALGUMAS TV´s</span><br />*-----------------------------------------------------------------------------<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> oDlg, oActiveX, cRadioTv:=<span style=\"color: #ff0000;\">\"http://www.tempofm.com.br/tempofm3.asx\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> lTV<br />&nbsp; &nbsp; &nbsp; MsgAlert<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Já existe uma janela de Rádio/TV aberta. Encontre-a com <Alt><Tab>.\"</span>,<span style=\"color: #ff0000;\">\"Atenção\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">360</span>,<span style=\"color: #000000;\">430</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"(OASyS) Rádios/TV\"</span><br />&nbsp; &nbsp;oActiveX := ActivaWMP<span style=\"color: #000000;\">&#40;</span> oDlg, oActiveX, cRadioTv <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ToolBar<span style=\"color: #000000;\">&#40;</span>oDlg, oActiveX<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;MenuRadioTv<span style=\"color: #000000;\">&#40;</span>oDlg, oActiveX<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oDlg:<span style=\"color: #0000ff;\">Center</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;lTV := .T.<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDlg <span style=\"color: #0000ff;\">VALID</span> <span style=\"color: #000000;\">&#40;</span> SysWait<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0.1</span><span style=\"color: #000000;\">&#41;</span>, oActiveX&#<span style=\"color: #000000;\">058</span>;DO<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Stop\"</span><span style=\"color: #000000;\">&#41;</span>, oActiveX&#<span style=\"color: #000000;\">058</span>;End<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, lTV:=.F., .T. <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">/*<br />&nbsp; &nbsp;DEFINE DIALOG oDlg TITLE \"(OASyS) Rádio/Tv\" FROM 1,1 TO 360,430 PIXEL<br />&nbsp; &nbsp;oDlg:lHelpIcon := .F.<br />&nbsp; &nbsp;oDlg:nStyle := nOr( WS_MINIMIZEBOX ,WS_VISIBLE, WS_CAPTION, WS_SYSMENU ) //, WS_THICKFRAME<br />&nbsp; &nbsp;ACTIVATE DIALOG oDlg CENTERED NOMODAL;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ON INIT ( oActiveX := ActivaWMP( oDlg, oActiveX, cRadioTv ), ToolBar(oDlg, oActiveX), MenuRadioTv(oDlg, oActiveX) );<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VALID ( oActiveX&#058;DO( \"Stop\" ), oActiveX&#058;End(), .T. )<br />*/</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br />*-----------------------------------------------------------------------------<br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> ActivaWMP<span style=\"color: #000000;\">&#40;</span> oDlg, oActiveX, cRadioTv <span style=\"color: #000000;\">&#41;</span><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> oDlg, <span style=\"color: #ff0000;\">\"MediaPlayer.MediaPlayer.1\"</span>,;<br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">nTop</span><span style=\"color: #000000;\">+30</span>, oDlg:<span style=\"color: #000000;\">nLeft</span>, oDlg:<span style=\"color: #000000;\">nRight</span>, oDlg:<span style=\"color: #000000;\">nBottom</span><span style=\"color: #000000;\">-50</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, cRadioTv <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">&#40;</span> oActiveX <span style=\"color: #000000;\">&#41;</span><br />*-----------------------------------------------------------------------------<br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> ToolBar<span style=\"color: #000000;\">&#40;</span>oDlg, oActiveX<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> oToolBar, cTitle:=<span style=\"color: #ff0000;\">\"Rádio Tempo FM\"</span>, oFont, oFont2<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont &nbsp;<span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Verdana\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-14</span> BOLD<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont2 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Verdana\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-08</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">ButtonBar</span> oToolBar <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">28</span> <span style=\"color: #0000ff;\">OF</span> oDlg TOP <span style=\"color: #000000;\">2007</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">002</span>, <span style=\"color: #000000;\">002</span> <span style=\"color: #0000ff;\">COMBOBOX</span> cTitle <span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #000000;\">&#123;</span><span style=\"color: #ff0000;\">\"Rádio Tempo FM\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Rádio CBN\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Rádio JovemPan FM\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Rádio JovemPan AM 620\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Rádio Cruzeiro FM 92,3\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Tv Rede Brasil\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Tv Rai News (Italia)\"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Escolher Arquivo\"</span><span style=\"color: #000000;\">&#125;</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oToolBar <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">250</span>,<span style=\"color: #000000;\">150</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> MudaRadioTV<span style=\"color: #000000;\">&#40;</span>cTitle, oDlg, oActiveX<span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">nil</span><br />*-----------------------------------------------------------------------------<br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> MudaRadioTV<span style=\"color: #000000;\">&#40;</span>cTitle, oDlg, oActiveX<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> cFile, cString<br />&nbsp; &nbsp;oActiveX&#<span style=\"color: #000000;\">058</span>;DO<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Stop\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">If</span> &nbsp; &nbsp; cTitle = <span style=\"color: #ff0000;\">\"Rádio Tempo FM\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://www.tempofm.com.br/tempofm3.asx\"</span>, <span style=\"color: #ff0000;\">\"Rádio Tempo FM\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio CBN\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://cbn.globoradio.globo.com/cbn/wma/radiosp/cbn.asx\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio JovemPan FM\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://www.dnip.com.br/link/jovempancampinas.wmx\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio JovemPan AM 620\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://p.mm.uol.com.br/ampan\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio Cruzeiro FM 92,3\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://www.dnip.com.br/link/radiocruzeiro.wmx\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv Rede Brasil\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://rbtv.interrogacaodigital.net/rbtv\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv Cultura\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://streaming.net2.com.br/tvcultura\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv Rai News (Italia)\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv CNTV (Espanhol)\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://a1889.l7906023888.c79060.g.lm.akamaistream.net/D/1889/79060/v0001/reflector:23888\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio Verdes Mares\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://187.110.226.22:8122\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv CM (Musica Argentina)\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://www.cmtv.com.ar:1234\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv Ojos Solidarios (Espanha)\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://wm.mad.interhost.com/OjosSolidariosTv\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Escuta Aerea Salgado Filho-RS\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://rio.radioetvweb.com.br:8282\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Escuta Aerea Atlanta Center-USA\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://64.5.41.162/center\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Escuta Aerea ScanACT-Austrália\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://www.scanact.net/scan.asx\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Los Angeles Police Scanner\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://216.66.69.100:3074\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Las Vegas Police / Fire\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://lvscanner.no-ip.org:8000\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Coral Springs Police\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://74.169.219.50:8000\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio Calypso FM 106,7\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://zoeweb.tv/zoenet-15\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio Cidade AM 810\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://www.cidadeam860.com.br/radio/amcidade860.asx\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Rádio FM93\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"http://187.110.226.22:8036\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv Cristo Vive\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://overserver1000.com/tvcristovive3\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Tv Novo Tempo\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://strm02.novotempo.org.br/TVNovoTempo-Vivo\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"TV Atalainet\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://130.94.69.93/Web%20TV%20AtalaiaNET\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"CBN News-USA\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://cbn-news.wm.llnwd.net/cbn_news\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Express 24-USA\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://ams01.egihosting.com/ExpressEnglish\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"TVKNOB Education-USA\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://streams.tvknob.com/tvloops/Ch9/tvknob.wsx\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"TVKNOB Lifestyles-USA\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://streams.tvknob.com/tvloops/Ch10/tvknob.wsx\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"NBC-USA\"</span><br />&nbsp; &nbsp; &nbsp; oActiveX&#<span style=\"color: #000000;\">058</span>;SetProp<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"FileName\"</span>, <span style=\"color: #ff0000;\">\"mms://msnbc.wmod.llnwd.net/a275/e1/video/100/vh.asf\"</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;ElseIf cTitle = <span style=\"color: #ff0000;\">\"Escolher Arquivo\"</span><br />&nbsp; &nbsp; &nbsp; cString := <span style=\"color: #ff0000;\">\"wav|*.wav|mp4|*.mp4|*.*|*.*|\"</span><br />&nbsp; &nbsp; &nbsp; cFile := cGetFile<span style=\"color: #000000;\">&#40;</span> cString, <span style=\"color: #ff0000;\">\"Selecione um arquivo\"</span>,, CurDrive<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>+<span style=\"color: #ff0000;\">\":<span style=\"color: #000000;\">\\\"</span>+GetCurDir() )<br />&nbsp; &nbsp; &nbsp; If \"</span>*<span style=\"color: #ff0000;\">\"$cFile .or. !File(cFile)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cFile:=\"</span><span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; Else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oActiveX&#058;SetProp( \"</span>FileName<span style=\"color: #ff0000;\">\", cFile )<br />&nbsp; &nbsp; &nbsp; Endif<br />&nbsp; &nbsp;Endif<br />Return nil<br />*-----------------------------------------------------------------------------<br />Static Function MenuRadioTv(oDlg, oActiveX)<br />&nbsp; &nbsp;Local oMenu<br />&nbsp; &nbsp;MENU oMenu 2007<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>&Rádios<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>&São Paulo<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio Tempo FM<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio Tempo FM<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio CBN<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio CBN<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio JovemPan AM <span style=\"color: #000000;\">620</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio JovemPan AM <span style=\"color: #000000;\">620</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Cam&pinas<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio JovemPan FM<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio JovemPan FM<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>So&rocaba<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio Cruzeiro FM <span style=\"color: #000000;\">92</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio Cruzeiro FM <span style=\"color: #000000;\">92</span>,<span style=\"color: #000000;\">3</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>&Ceara<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio Verdes Mares<span style=\"color: #ff0000;\">\" &nbsp;action MudaRadioTV(\"</span>Rádio Verdes Mares<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio Calypso FM <span style=\"color: #000000;\">106</span>,<span style=\"color: #000000;\">7</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio Calypso FM <span style=\"color: #000000;\">106</span>,<span style=\"color: #000000;\">7</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio Cidade AM <span style=\"color: #000000;\">810</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio Cidade AM <span style=\"color: #000000;\">810</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Rádio FM93<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Rádio FM93<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>&Escuta Aerea/Policia/Bombeiro<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Escuta Aerea Atlanta Center-USA<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Escuta Aerea Atlanta Center-USA<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Los Angeles Police Scanner<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Los Angeles Police Scanner<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Las Vegas Police / Fire<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Las Vegas Police / Fire<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Coral Springs Police<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Coral Springs Police<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; ENDMENU<br />&nbsp; &nbsp; &nbsp; MENUITEM \"</span>&Tvs<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>&Tv Brasil<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv Novo Tempo<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv Novo Tempo<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>TV Atalainet<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>TV Atalainet<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv Rede Brasil<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv Rede Brasil<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv Cultura<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv Cultura<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>&Tv Internacional<span style=\"color: #ff0000;\">\"<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENU<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv Rai News <span style=\"color: #000000;\">&#40;</span>Italia<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv Rai News <span style=\"color: #000000;\">&#40;</span>Italia<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv CNTV <span style=\"color: #000000;\">&#40;</span>Espanhol<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv CNTV <span style=\"color: #000000;\">&#40;</span>Espanhol<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv CM <span style=\"color: #000000;\">&#40;</span>Musica Argentina<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv CM <span style=\"color: #000000;\">&#40;</span>Musica Argentina<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Tv Ojos Solidarios <span style=\"color: #000000;\">&#40;</span>Espanha<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Tv Ojos Solidarios <span style=\"color: #000000;\">&#40;</span>Espanha<span style=\"color: #000000;\">&#41;</span><span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>CBN News-USA<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>CBN News-USA<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>NBC-USA<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>NBC-USA<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>Express <span style=\"color: #000000;\">24</span>-USA<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>Express <span style=\"color: #000000;\">24</span>-USA<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>TVKNOB Education-USA<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>TVKNOB Education-USA<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MENUITEM \"</span>TVKNOB Lifestyles-USA<span style=\"color: #ff0000;\">\" action MudaRadioTV(\"</span>TVKNOB Lifestyles-USA<span style=\"color: #ff0000;\">\", oDlg, oActiveX)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp; &nbsp; ENDMENU<br />&nbsp; &nbsp;ENDMENU<br />&nbsp; &nbsp;oDlg:setmenu(oMenu)<br />RETURN oMenu<br /></span></div>[/code:3tggz9h1]", "time": "13:25", "topic": "ActiveX in FWH13.09", "username": "ORibeiro" } ]
ActiveX in FWH13.09
[ { "date": "2013-11-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Please do it this way:\n\noActiveX&#058;FileName := cRadioTv", "time": "17:48", "topic": "ActiveX in FWH13.09", "username": "Antonio Linares" } ]
ActiveX in FWH13.09
[ { "date": "2009-02-24", "forum": "FiveWin for Harbour/xHarbour", "text": "I want to display a doc file or a xls sheet in a dialog .\nIs it possible with activex ?\nWhat is the syntax, have you some sample .\n\nThanks", "time": "15:08", "topic": "ActiveX in a dialog", "username": "Jack" } ]
ActiveX in a dialog
[ { "date": "2009-02-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Jack,\n\nThere are many ActiveX examples in FWH\\samples.\n\nPlease make a search for \"activex\" in FWH\\samples\\*.prg", "time": "15:12", "topic": "ActiveX in a dialog", "username": "Antonio Linares" } ]
ActiveX in a dialog
[ { "date": "2009-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "There was a memory leak in Class TActiveX. It has been detected and fixed <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nNext FWH build will include this fix.\n\nIn Class TActiveX this new Method has to be included:\n\n[code=fw:n6crdwte]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    <span style=\"color: #00C800;\">METHOD</span> Destroy<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">INLINE</span> ActXEnd<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hActiveX</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">Super</span>:<span style=\"color: #000000;\">Destroy</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>          <br /> </div>[/code:n6crdwte]\n\nAnd replace this module in FiveHCM.lib (Microsoft):\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38e77312ca09d065ae5621d66e282a0ee8\">http://www.mediafire.com/?sharekey=414c ... 6e282a0ee8</a><!-- m -->\n\nOr this module in FiveHC.lib (Borland):\n<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/?sharekey=414c17b7b136abb70f83d91f6dff7c38aa07d890f5cdc567ce018c8114394287\">http://www.mediafire.com/?sharekey=414c ... 8114394287</a><!-- m -->", "time": "08:56", "topic": "ActiveX memory leak - fixed!", "username": "Antonio Linares" } ]
ActiveX memory leak - fixed!
[ { "date": "2009-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Antonio,\n\nSupport any FWH version?\n\n\nRegards,\n\nRichard", "time": "17:01", "topic": "ActiveX memory leak - fixed!", "username": "richard-service" } ]
ActiveX memory leak - fixed!
[ { "date": "2009-04-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Richard,\n\nIt is for FWH recent versions.", "time": "19:23", "topic": "ActiveX memory leak - fixed!", "username": "Antonio Linares" } ]
ActiveX memory leak - fixed!
[ { "date": "2008-12-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\r\n\r\n¿Hay forma de manejar eventos de ActiveX para objetos no visuales, como por ejemplo ADO?\r\n\r\nADO tiene eventos para cuando nos movemos, tipo OnMove y cosas por el estilo, muy interesantes, o mientras se está ejecutando una consulta, podemos actualizar algo en la pantalla, peeeero no es un objeto visual, y TActiveX requiere una ventana.\r\n\r\nHay forma de usar ActiveX sin tener ventanas?", "time": "23:36", "topic": "ActiveX no visuales con eventos", "username": "Carlos Mora" } ]
ActiveX no visuales con eventos
[ { "date": "2008-12-17", "forum": "FiveWin para Harbour/xHarbour", "text": "See my post\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://www.fivetechsoft.com/forums/viewtopic.php?t=13356\">http://www.fivetechsoft.com/forums/view ... hp?t=13356</a><!-- m -->\r\n\r\nEs muy lamentable que Harbout y xHarbour no soporta esta característica.\r\n\r\nHubiera sido fantástico si hemos sido capaces de utilizar estas funciones\r\n\r\nAnser", "time": "09:02", "topic": "ActiveX no visuales con eventos", "username": "anserkk" } ]
ActiveX no visuales con eventos
[ { "date": "2008-12-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Carlos, hasta donde yo se, parece que no es posible, ya lo comente en otro post, y la verdad es que nos vendria muy bien, tanto para ADO como otros.", "time": "09:03", "topic": "ActiveX no visuales con eventos", "username": "Biel EA6DD" } ]
ActiveX no visuales con eventos
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "I would like to start using WINWORD from FWH. \nDo I have to use ActiveX or OLE?\n\nWhich libs do I have to include to use ActiveX from Harbour?\n\n\nThanks in advance\nOtto", "time": "09:25", "topic": "ActiveX or OLE for WINWORD?", "username": "Otto" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Otto\":34d5l5ei]I would like to start using WINWORD from FWH. \nDo I have to use ActiveX or OLE?[/quote:34d5l5ei]\n\nOLE if you just want to use Word as an external application. ActiveX if you want to use Word as an embedded application.\n\n[quote=\"Otto\":34d5l5ei]Which libs do I have to include to use ActiveX from Harbour?[/quote:34d5l5ei]\n\nHarbour? hbole.lib, I think.\n\nEMG", "time": "09:46", "topic": "ActiveX or OLE for WINWORD?", "username": "Enrico Maria Giordano" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Otto,\n\nFor Winword, You can use AutoOle, same like in Excel.\nI look in my archiv, to find some samples for you.\n\nRegards\n\nUwe", "time": "10:25", "topic": "ActiveX or OLE for WINWORD?", "username": "ukoenig" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Enrico,\n\nThank you for your help. Now I tried the word.prg-sample from the FIVEWIN examples.\nI linked HBOLE.LIB (my lib is from 2004).\n\nBut I get a Harbour exception error.\n\nMaybe you can give me some more help.\n\nRegards e Buona pasqua,\nOtto\n\n\n[code:1ky2rpps]// Using Microsoft Office Word ActiveX\n\n#include \"FiveWin&#46;ch\"\n\nfunction Main&#40;&#41;\n local oWnd, oActiveX, cString\n\n DEFINE WINDOW oWnd TITLE \"FiveWin ActiveX Support\"\n\n if IsActivex&#40; \"Word&#46;Application&#46;8\" &#41;\n cString &#58;= \"Word&#46;Application&#46;8\"\n endif\n if IsActivex&#40; \"Word&#46;Application&#46;9\" &#41;\n cString &#58;= \"Word&#46;Application&#46;9\"\n endif\n if IsActivex&#40; \"Word&#46;Application&#46;10\" &#41;\n cString &#58;= \"Word&#46;Application&#46;10\"\n endif\n if IsActivex&#40; \"Word&#46;Application&#46;11\" &#41;\n cString &#58;= \"Word&#46;Application&#46;11\"\n endif\n if IsActivex&#40; \"Word&#46;Application&#46;12\" &#41;\n cString &#58;= \"Word&#46;Application&#46;12\"\n endif\n\n oActiveX = TActiveX&#40;&#41;&#58;New&#40; oWnd, cString &#41;\n\n oWnd&#58;oClient = oActiveX // To fill the entire window surface\n\n ACTIVATE WINDOW oWnd\n\nreturn nil[/code:1ky2rpps]", "time": "11:06", "topic": "ActiveX or OLE for WINWORD?", "username": "Otto" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nYou have to link hbwin32.lib", "time": "13:58", "topic": "ActiveX or OLE for WINWORD?", "username": "Antonio Linares" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, thank you.\nI have echo %hdir%\\lib\\hbwin32.lib + >> b32.bc\nin my linkscript.\nBut the error is still there. Could you compile the file\nand send me your exe for testing, please.\nMaybe there is something wrong on my PC.\nThanks in advance\nOtto", "time": "15:33", "topic": "ActiveX or OLE for WINWORD?", "username": "Otto" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto,\n\nI guess you are testing Word 2007. It also GPFs here. It seems there is a conflict between Class TActiveX and Word 2007.\n\nWe are googling for some info about it, and we have found that VB users are also having troubles:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.google.es/search?hl=es&q=%22Word.Application.12%22+2007&meta=\">http://www.google.es/search?hl=es&q=%22 ... 2007&meta=</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.google.com/search?hl=en&q=%22Word.Application.12%22\">http://www.google.com/search?hl=en&q=%2 ... tion.12%22</a><!-- m -->", "time": "17:52", "topic": "ActiveX or OLE for WINWORD?", "username": "Antonio Linares" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "I am not able to use Excel 2007 also with activex. My earlier code is not working with 2007.", "time": "18:43", "topic": "ActiveX or OLE for WINWORD?", "username": "nageswaragunupudi" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Nageswararao,\n\nWhat ProgID string are you using for Excel 2007 ?", "time": "19:10", "topic": "ActiveX or OLE for WINWORD?", "username": "Antonio Linares" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Otto\n\nNot sure what you want to do with Word so hard to make recommendations. If you tell us a bit more about what you want to achieve we can possibly help more.\n\nI used Word from FiveWin code a number of times and it worked well. (I got off the Microsoft gravy train so I don't have 2007 so can't test that.) \n\nAmongst the things I did:\n\nFiveWin program to control word to open and convert many thousands of Word documents to straight text format so that I could do data mining on them.\n\nFiveWin program to draft up medical reports for editing etc by doctors\n\nFiveWin code producing reports as Word documents.\n\nSpeed was very pleasing (I didn't expect that).\n\nFor producing reports I wrote a basic class (MLETTER) to handle all the Word details in one place.\n\nBasic code looks like:\n\n[code:1sfvb146]&#58;&#58;oWord &#58;= CREATEOBJECT&#40; \"Word&#46;Application\" &#41;\n&#58;&#58;oWord&#58;Visible &#58;= &#46;T&#46; // if you want to see it\n&#58;&#58;oDocument &#58;= oWord&#58;Documents&#58;Add&#40;&#41;\n&#58;&#58;oDocument&#58;SaveAs&#40; sFileName, WdFormatDocument &#41; // WdFormatDocument is a defined constant\n&#58;&#58;oRange &#58;= &#58;&#58;oDocument&#58;Range&#40; 0, 0 &#41;\n&#58;&#58;oRange&#58;InsertBefore&#40; sDateAsText &#41;\n&#58;&#58;oRange&#58;ParagraphFormat&#58;Alignment &#58;= WdAlignParagraphRight //WdAlignParagraphRight is a defined constant\n&#58;&#58;oRange&#58;InsertParagraphAfter&#40;&#41;\n&#58;&#58;iEnd &#58;= &#58;&#58;oRange&#58;End\n&#58;&#58;oRange &#58;= &#58;&#58;oDocument&#58;Range&#40; &#58;&#58;iEnd, &#58;&#58;iEnd &#41;\n&#58;&#58;oRange&#58;InsertAfter&#40; sGreeting &#41;\n&#58;&#58;oRange&#58;ParagraphFormat&#58;Alignment &#58;= WdAlignParagraphLeft //WdAlignParagraphLeft is a defined constant\n&#58;&#58;oRange&#58;InsertParagraphAfter&#40;&#41;\n&#58;&#58;iEnd &#58;= &#58;&#58;oRange&#58;End\n[/code:1sfvb146]\nAS you can see the first insert is a little different (InsertAfter seems to fail with a document with no contents, but from then on its plain sailing. As you go you can add refinements, eg\n\n[code:1sfvb146]&#58;&#58;oRange&#58;Bold &#58;= &#46;T&#46;\n&#58;&#58;oRange&#58;FontName &#58;= \"Arial\"[/code:1sfvb146]\n\nBy the way if you just want to produce documents that Word can subsequently handle why not consider switching to the XML based standard (which Word now grudgingly supports I believe) in which case no special programming is required. I am now doing that, although I do want to write some code to control OpenOffice from a FiveLinux application (on a LInux platform)\n\nI hope that may be of some help.\n\nI can't guarantee that the code is 100% correct as I had to retype it and change it a bit as I went so it wasn't confused by my particular needs.\n\nRegards\nDoug\n(xProgrammer)", "time": "01:35", "topic": "ActiveX or OLE for WINWORD?", "username": "xProgrammer" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2008-03-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Doug, thank you for your answer.\nI only want to run the demo sample with ActiveX.\n\nAntonio, I tried the Exe now on a WINDOWS XP/WORD2003 PC and\nI get the same error:\n\n[img:krsagzuw]http&#58;//www&#46;atzwanger&#46;com/fw/wordActiveX&#46;jpg[/img:krsagzuw]\n\nWould you be so kind to compile the above code so I can test with \nyour exe.\n\nRegards,\nOtto", "time": "06:51", "topic": "ActiveX or OLE for WINWORD?", "username": "Otto" } ]
ActiveX or OLE for WINWORD?
[ { "date": "2009-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Biel,\n\nTry using a Harbour array of numbers, i.e.:\n{ 1, 2, 3, ... }\n\nIt gets converted into a SAFEARRAY which it is the way it is expected from the Activex side", "time": "14:06", "topic": "ActiveX paramaters as Byte", "username": "Antonio Linares" } ]
ActiveX paramaters as Byte
[ { "date": "2009-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "I'm using an ActivexControl, and I need to call one method, but the parameter must be Array Byte, anyway to do it?\n\nFor example this VB code runs ok\n[code=fw:1enjahkx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Dim blob<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> As Byte<br /> <span style=\"color: #ff0000;\">' Read binary data from file.<br /> Open CommonDialog1.FileName For Binary As #1<br /> ReDim blob(LOF(1))<br /> Get #1, , blob()<br /> Close #1<br /> Templ.Deserialize blob<br /></span></div>[/code:1enjahkx]\nThanks in advance.", "time": "08:51", "topic": "ActiveX paramaters as Byte", "username": "Biel EA6DD" } ]
ActiveX paramaters as Byte
[ { "date": "2009-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio thanks for answering, \nTested with array, but do not accept this kind of parameter, the program crash.\n\n[code=fw:33f7mzz0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />xVar1:=oTmp:<span style=\"color: #000000;\">Serialize</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oTmp:<span style=\"color: #000000;\">Deserialize</span><span style=\"color: #000000;\">&#40;</span> xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Runs Ok</span><br /> </div>[/code:33f7mzz0]\n[code=fw:33f7mzz0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />xVar1:=oTmp:<span style=\"color: #000000;\">Serialize</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />?ValType<span style=\"color: #000000;\">&#40;</span>xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//  C</span><br />?Len<span style=\"color: #000000;\">&#40;</span>xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//318</span><br />xVar2:=<span style=\"color: #ff0000;\">''</span><br /><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>xVar1<span style=\"color: #000000;\">&#41;</span><br />   xVar2+=<span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">&#40;</span>xVar1,i,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">NEXT</span><br />?Len<span style=\"color: #000000;\">&#40;</span>xVar2<span style=\"color: #000000;\">&#41;</span>,Len<span style=\"color: #000000;\">&#40;</span>xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//318 318</span><br />?ValType<span style=\"color: #000000;\">&#40;</span>xVar2<span style=\"color: #000000;\">&#41;</span>, Valtype<span style=\"color: #000000;\">&#40;</span>xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// C C</span><br />?xVar2==xVAr1  <span style=\"color: #B900B9;\">// .T.</span><br />oTmp:<span style=\"color: #000000;\">Deserialize</span><span style=\"color: #000000;\">&#40;</span> xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Runs Ok</span><br />oTmp:<span style=\"color: #000000;\">Deserialize</span><span style=\"color: #000000;\">&#40;</span> xVar2<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Crash</span><br /> </div>[/code:33f7mzz0]", "time": "16:38", "topic": "ActiveX paramaters as Byte", "username": "Biel EA6DD" } ]
ActiveX paramaters as Byte
[ { "date": "2009-09-18", "forum": "FiveWin for Harbour/xHarbour", "text": "Biel,\n\nThis is obvious, but have you tried it in this order ?\n[code=fw:1db9oq8v]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oTmp:<span style=\"color: #000000;\">Deserialize</span><span style=\"color: #000000;\">&#40;</span> xVar2<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Crash</span><br />oTmp:<span style=\"color: #000000;\">Deserialize</span><span style=\"color: #000000;\">&#40;</span> xVar1<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">//Runs Ok</span><br />&nbsp;</div>[/code:1db9oq8v]", "time": "17:34", "topic": "ActiveX paramaters as Byte", "username": "Antonio Linares" } ]
ActiveX paramaters as Byte
[ { "date": "2009-09-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes I have tryed also, and not run.\n\nAs no one else has answered, please Antonio swtich to the spanish post , more easy for me.\n[url:3lvoefsr]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=16732[/url:3lvoefsr]", "time": "11:48", "topic": "ActiveX paramaters as Byte", "username": "Biel EA6DD" } ]
ActiveX paramaters as Byte
[ { "date": "2009-09-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Biel,\n\nok <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:22", "topic": "ActiveX paramaters as Byte", "username": "Antonio Linares" } ]
ActiveX paramaters as Byte
[ { "date": "2006-07-25", "forum": "FiveWin for Harbour/xHarbour", "text": "I use FWH 2.7 Build June 2006... and I get activex parameters twice on events. \nThis doesn't happened with FWH 2.6.\n\nMay I change this behaviour?\n\nThx in advance,\nRoberto Parisi", "time": "13:13", "topic": "ActiveX parameters", "username": "Roberto Parisi" } ]
ActiveX parameters
[ { "date": "2006-07-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Roberto,\n\nIts fixed and greatly enhanced on FWH 2.7 July 2006.", "time": "10:52", "topic": "ActiveX parameters", "username": "Antonio Linares" } ]
ActiveX parameters
[ { "date": "2006-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Should I buy the newest version to keep updated with this fix?\n\nRegards", "time": "07:49", "topic": "ActiveX parameters", "username": "Roberto Parisi" } ]
ActiveX parameters
[ { "date": "2006-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Roberto,\n\nYou have two months of free upgrades.", "time": "09:17", "topic": "ActiveX parameters", "username": "Antonio Linares" } ]
ActiveX parameters
[ { "date": "2006-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok... but activex parameters was working in my FWH26.\n\nI patched activex.prg by myself.\n\nRegards", "time": "10:15", "topic": "ActiveX parameters", "username": "Roberto Parisi" } ]
ActiveX parameters
[ { "date": "2006-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Roberto\n\nThe ActiveX events supplied parameters were wrong managed from low level (C++) not from PRG level. Also parameters by reference (BYREF AS ...) were not managed. So you can't fix that changing the PRG class.\n\nWe have worked hard to improve the ActiveX support.", "time": "10:35", "topic": "ActiveX parameters", "username": "Antonio Linares" } ]
ActiveX parameters
[ { "date": "2006-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "To be clear:\nI buyed FWH27 only for activex events support and my 2 free upgrade months expired on 30/06/2006. In the May version activex events worked but in June version they don't work anymore.\n\nAbout my fix:\nI simply process parameters array deleting invalid elements and passing the right array to the event handler (do you remember the iactivex class i sent you in the past?).\n\nThis is not a big problem for now.. I'll buy new fwh version in the future.\n\nRegards", "time": "11:06", "topic": "ActiveX parameters", "username": "Roberto Parisi" } ]
ActiveX parameters
[ { "date": "2006-07-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Roberto,\n\nWhat ActiveX control are you using ?", "time": "13:03", "topic": "ActiveX parameters", "username": "Antonio Linares" } ]
ActiveX parameters