topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Active Directory | Bryon
I find this works because it looks at the credentials of the workstation profile. In Microsoft the workstation profile and the AD network id should be the same and syncronized..
Works from Win98 thru Vista
xLOGIN := WNetGetUser() // FiveWin function
Rick Lipkin
SC Dept of Health, USA |
Active Directory | Thank you, I will give this a try.
Byron... |
Active Directory | Hi,
How can I read Active Directory ? |
Active Directory | Hello Natter,
Maybe you can't run Powershell scripts with shellexec?
Then save the values to disk and read with memoread().
Best regards,
Otto |
Active Directory | Look
[url:3m1xprc1]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26995&p=242438&hilit=Active+Directory&sid=0c85557c1211e48bad1107712649f5be&sid=0c85557c1211e48bad1107712649f5be#p242438[/url:3m1xprc1] |
Active Directory | Thank you, Cristobal! I wanted to read the user's full name from the domain |
Active Directory | Natter
Active Directory looks very much like any Sql Database ... here is how I access Active DIrectory
[code=fw:w8f8mtpv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------</span><br />Func _UserGet<span style="color: #000000;">(</span> cMode,cAd... |
Active Directory | Rick, thank you! I will definitely try. |
Active Row-color in xBrowse lost ( after focus-change ) ? | Hello,I have 2 Questions :1. I noticed, after the browser lost the focus, the colors of the selected rows are grey.2. A normal text, written in a resource. Is it possible to be transparent like in the new radios and checkboxes when using a defined background ? ( see text < result > )[img:1qjpnnup]http://... |
Active Row-color in xBrowse lost ( after focus-change ) ? | Please set oBrw:bClrSel to the color you want the selected rows to be displayed when the browse loses focus |
Active Sync Remote Display con WM6 | Este es un truco que he econtrado por la red, por si le puede servir a alguien.Hasta la fecha yo venia utilizanndo Active Sync Remote Display, que me permitida manejar desde el PC los terminales Pocket PC, esto me va muy bien para el mantenimiento de unos terminales de una delegación remota en Sevilla (conecto con PC r... |
Active Sync Remote Display con WM6 | Biel,Muchas gracias por la información <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Active X Explorer | <!-- m --><a class="postlink" href="http://nolp.dhl.de/nextt-online-public/track.do?lang=de">http://nolp.dhl.de/nextt-online-public/track.do?lang=de</a><!-- m -->
This a tracking Page from DHL
How can i put Data from a dbf into Fields in Internet Explorer ?
Tx |
Active X Explorer | Amiguinho
You can try a ASP Script, submiting data with GET METHOD:
[code:1zwxed3a]
<%@LANGUAGE = VBScript%>
<%
Dim nome,senha
nome = replace(request.form("nome"), "'", "''")
senha = replace(request.form("senha"), "'", "''")
Set DB = Server.CreateObject("ADODB.Con... |
Active X Explorer | I will try it !!!
is it also possible with active x ???
tx |
Active X Explorer | yes there is an sample on this forum but the method *DO* not run well or we not Know how make active the component of the activex
see this
<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=4121&highlight=">http://fivetechsoft.com/forums/viewtopi ... highlight=</a><!-- m --> |
Active X Explorer | Silvio,
Method Do() runs ok. Its an ActiveX issue. |
Active X Explorer | ok Antonio,
these commands not run ok
oActiveX:SetProp( "StatusBar", .T. ) // not run ???
oActiveX:SetProp( "AddressBar", .T. ) // not run ???
oActiveX:SetProp( "ToolBar", .T. ) // not run ???
oActiveX:SetProp( "LinksBar", .T. ) // not run ???
oActiveX... |
Active X Explorer | Silvio,
Try to do it in Visual Basic. Its not a FWH issue. |
Active X Explorer | I don't Like VB , I hatred VB because I have lost many ex clipper friends |
Active X Explorer | Anyone read the question ???
-:) |
Active X Explorer | Uwe,
Rochinha has provided you a valid answer. |
Active X Explorer | Yes i read it but im searching for a solution with active x
i want to use it in a FW Dialog
Tx Uwe D |
Active X Explorer | Uwe,
Please review samples\webexp.prg |
Active x tooooo much scrollbar in Dialog | When i use active x Shell explorer i have vert and horz Scrollbar on the active x control and vert and horz scrollbars on the Dialog
tx |
Active x tooooo much scrollbar in Dialog | Uwe,
Could you please provide a small sample to reproduce it ? thanks, |
ActiveSync para Windows Vista | Hola a todos, más de uno ya lo sabrá pero para los que no aqui dejo un link para descargar la versión compatible del ActiveSync para el Windows Vista....
<!-- m --><a class="postlink" href="http://www.microsoft.com/windowsmobile/devicecenter.mspx">http://www.microsoft.com/windowsmobile/ ... enter.mspx</a><!-- m -->
Y... |
ActiveSync para Windows Vista | Elías,
En principio no haría falta, ya que Windows Vista lo lleva incluido |
ActiveSync para Windows Vista | Hola Elías,
Yo he usado Vista con PDA's sin necesidad de ningún software adicional. De hecho el activesync en vista es un servicio más que puedes o no desactivar. |
ActiveSync para Windows Vista | Y como hago esto en Vista |
ActiveSync para Windows Vista | Está activado por defecto, sólo tienes que conectar el Pocket PC por cable USB al ordenador con Windows Vista |
ActiveSync para Windows Vista | y como hago para decirle en que carpeta quiero que sincronce |
ActiveX | I eventually would like to utilize Word in an ActiveX container in Fivewin. I am trying to start by utilizing the Webexp.prg to learn (per Antonio post). I cannot get this to run. I also cannot find anything about TActiveX in the manuals under "A", or "T". Do I need a special library to be linked in to get this exa... |
ActiveX | Friend,This is a sample with Activex class?[code:1nr76rbp]
#include "FiveWin.ch"
function Main()
local oWnd, oActiveX
local cEvents := ""
DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"
oActiveX = TActiveX():New( oWnd, "Shell.Explorer.2" )
oActiveX:D... |
ActiveX | Hi,What is the difference between TOle class and TActivex class. In the above given example both the classes are doin the same. Where to use what ?.May be it is a very silly question. Would like to know the differenceRegardsAnser |
ActiveX | [quote="anserkk":3104bmbi]Hi,
What is the difference between TOle class and TActivex class. In the above given example both the classes are doin the same. Where to use what ?.
May be it is a very silly question. Would like to know the difference
Regards
Anser[/quote:3104bmbi]They are both based on OLE technology bu... |
ActiveX | Neither one works, the standard ole (the second one) does manage to launch Internet Explorer, but the window title is "Google - Windows Internet Explorer" which I believe is not in the Windows Container planned for in the code. I have gotten OLE to work very well with Excel so I am famialiar with controlling another a... |
ActiveX | Byron,The problem comes from the libraries linking order. You have to link FWH libraries, before xHarbour ones.> Called from: TActiveX.prg => TACTIVEX:NEW(0) FWH does not include a TActiveX.prg, so that one is from xHarbour not from FWH. You need to use the FWH one. |
ActiveX | Hello,
Is there somewhere a manual or a set of instructions available which tell me how to use ActiveX in FWH ?
Thanks. |
ActiveX | Michel,
You can review the ActiveX documentation in the FiveTech's wiki:
Commands:
[url:tkmllc1r]http://wiki.fivetechsoft.com/doku.php?id=fivewin_commands_activex[/url:tkmllc1r]
Class:
[url:tkmllc1r]http://wiki.fivetechsoft.com/doku.php?id=fivewin_class_tactivex[/url:tkmllc1r]
Also, y... |
ActiveX | Antonio,
Thanks a lot for your help. |
ActiveX ( To Antonio ) Solved | I´m trying execute this method
ret:=oAct:Do("RED",aParams[1],aParams[2],aParams[3],aParams[4],aParams[5],aParams[6],aParams[7],0)
ret is to return 1, more return NIL, and looking in TactiveX i see it.
METHOD Do( cMethodName, uParam1, uParam2, uParam3, uParam4, uParam5 )
have onlly 5 parans and i need 8. Im tryin... |
ActiveX ( To Antonio ) Solved | <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
ActiveX ( To Antonio ) Solved | <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
ActiveX ( To Antonio ) Solved | Lailton,
Please use the new Class TActiveX. There are no parameters limits <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=15314&start=0">viewtopic.php?f=3&t=15314&start=0</a><... |
ActiveX ( To Antonio ) Solved | Antonio,
i need use it in fwh 8.5
how make to no have limit ??
thanks |
ActiveX ( To Antonio ) Solved | Lailton,
Have you tested it with fwh 8.5 ? It should work fine |
ActiveX ( To Antonio ) Solved | Perfect, all right with fwh 8.5 <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
ActiveX - CREATEOBJECT and singleton pattern | I need to connect the POS device TPS900 to a POS application that is done with FWH / xHarbour. The TPS900 vendor has created a software interface as a COM component with functions to communicate with the TPS900 (C #).
So far, I have used the CREATEOBJECT function very successfully for account fiscalization as well.
... |
ActiveX - CREATEOBJECT and singleton pattern | Please build FWH\samples\olebrow.prg and inspect the DLL OLE class that you want to use and paste here what you get
Example:
[img:3ab0thcr]https://fivetechsoft.github.io/screenshots/shark.JPG[/img:3ab0thcr] |
ActiveX - CREATEOBJECT and singleton pattern | Thank you for the quick response
I hope that's what you were looking for
[img:3epvh453]http://www.inteh-app.com/app/ActiveX_scr.png[/img:3epvh453]
Registry
[img:3epvh453]http://www.inteh-app.com/app/ActiveX_scr2.png[/img:3epvh453] |
ActiveX - CREATEOBJECT and singleton pattern | Please double click on the highligthed (blue) line to show its info |
ActiveX - CREATEOBJECT and singleton pattern | [img:2qhbfgfd]http://www.inteh-app.com/app/ActiveX_scr3.png[/img:2qhbfgfd] |
ActiveX - CREATEOBJECT and singleton pattern | We need the complete list
Please click on Print or Excel to get it |
ActiveX - CREATEOBJECT and singleton pattern | [url:2qgdvcr4]http://www.inteh-app.com/app/ActiveX_list.xlsx[/url:2qgdvcr4]
[url:2qgdvcr4]http://www.inteh-app.com/app/ActiveX_list_PaymentService.xlsx[/url:2qgdvcr4] |
ActiveX - CREATEOBJECT and singleton pattern | Download this utility to see the registered classes of activex and olecom components.
[url:cod6gk55]https://www.mitec.cz/Downloads/OLExp.zip[/url:cod6gk55] |
ActiveX - CREATEOBJECT and singleton pattern | Thank you
Yes, all 4 classes are visible
[url:dy49u8lo]http://www.inteh-app.com/app/ActiveX_scr4.png[/url:dy49u8lo] |
ActiveX - CREATEOBJECT and singleton pattern | [quote:2wta9ww2] ////////////////////////////////////////////
o1 := CREATEOBJECT("PaymentService.BluetoothConnector") // ok
MsgInfo( ValType( o1 ) ) // -> "O"
local22 := o1:Invoke( "GetInstance" )
MsgInfo( ValType( local22 ) ) // N
M... |
ActiveX - CREATEOBJECT and singleton pattern | Please try this:
local o1 := CreateObject( "PaymentService.BluetoothConnector" )
local o2 := TOleAuto():New( o1:Invoke( "GetInstance" ) ) |
ActiveX - CREATEOBJECT and singleton pattern | ////////////////////////////////////////////
o1 := CreateObject( "PaymentService.BluetoothConnector" )
o2 := TOleAuto():New( o1:Invoke( "GetInstance" ) )
MsgInfo( ValType( o1 ) ) // -> "O"
MsgInfo( ValType( o2 ) ) // -> "O"
/////////////////////////////////... |
ActiveX - CREATEOBJECT and singleton pattern | [quote="metro2":jizwymic][img:jizwymic]http://www.inteh-app.com/app/ActiveX_scr3.png[/img:jizwymic][/quote:jizwymic]
Is Invoke() the latest entry in the list ? The scrollbar seems to have more to show |
ActiveX - CREATEOBJECT and singleton pattern | Yes, invoke is the last entry in the list
[img:1ttorr46]http://www.inteh-app.com/app/ActiveX_scr5.png[/img:1ttorr46] |
ActiveX - CREATEOBJECT and singleton pattern | Please try this:
local o1 := CreateObject( "PaymentService.BuetoothConnector" )
local o2 := o1:GetInstance()
MsgInfo( ValType( o1 ) )
MsgInfo( ValType( o2 ) ) |
ActiveX - CREATEOBJECT and singleton pattern | Also please try:
local o2 := o1:Invoke( "GetInstance" ) |
ActiveX - CREATEOBJECT and singleton pattern | prg:
////////////////////////////////////////////
o1 := CREATEOBJECT("PaymentService.BluetoothConnector") // ok
MsgInfo( ValType( o1 ) ) // -> "O"
o2 := o1:GetInstance() // error
MsgInfo( ValType( o2 ) )
////////////////////////////////////////////
... |
ActiveX - CREATEOBJECT and singleton pattern | > oPOS := CREATEOBJECT("BluetoothConnector.GetInstance('TestConnectionDLL()' ) or something ?
o2 should be the oPOS you were looking for |
ActiveX - CREATEOBJECT and singleton pattern | Ok, i'll try to call TestConnectionDLL with an argument ...
I will report the result ... |
ActiveX - CREATEOBJECT and singleton pattern | Greeting,
I was away for a while.
If an o2 instance is called from BluetoothConnector,
How to call the TestConnectionDll method eg:
ret: = o2: TestConnectionDll ("") // -> error
ret: = o2: BluetoothConnector: TestConnectionDll ("") // -> error
In other words, no matter how I try to call the method, I get an error. ... |
ActiveX - CREATEOBJECT and singleton pattern | Please try using:
o2:Invoke( "TestConnectionDll", "" ) |
ActiveX - CREATEOBJECT and singleton pattern | hi,
Antonio thanks for taking care of my problem ....
Yes, i tried this too, but it reports an error
o2:Invoke( "TestConnectionDll", "" )
Just today I intended to send a description of what was happening in the meantime.
On the forum [url:363sh1py]https://stackoverflow.com/questions/6252334/singleton-com-o... |
ActiveX & Internet Explorer Question | All,
I'm using ActiveX to navigate to a secure webpage where the user enters some information and clicks a button that redirects them to another window with the results of the transaction. I need to read the results containted is this IE window.
I'm trying to view the contents of oActiveX:GetProp("document") ... |
ActiveX & Internet Explorer Question | Randal,
> oActiveX:GetProp("document") returns a numeric value
This has been enhanced in FWH 9.04.
As a workaround you may try:
oDocument = TOleAuto():New( oActiveX:GetProp("document") )
also, new FWH 9.04 Class TActiveX directly allows:
oDocument = oActiveX:document |
ActiveX & Mappoint | Antonio,
How can I set these properties using ActiveX & FWH?
Using xHarbour I can using the following syntax:
oMapPoint:Toolbars:Item("Standard"):Visible := .T.
oMapPoint:Toolbars:Item("Navigation"):Visible := .T.
oMapPoint:Toolbars:Item("Drawing"):Visible := .T.
oMapPoint:Toolbars:Item("Location and ... |
ActiveX & Mappoint | Randal,
This should be the first step:
MsgInfo( OleGetProperty( oActiveX:hActiveX, "Toolbars" ) )
but it is returning a nil value. |
ActiveX & Mappoint | Antonio,
Toolbars is a collection object. I don't know how OleGetProperty is suppose to work but I can do the following with the same results.
// This line turns on the Legend and works properly
oActiveX:SetProp("PaneState", 1) // Turn on legend for route planer
// This line returns nil
MsgInfo( OleGetPropert... |
ActiveX & Mappoint | Randal,
The current ActiveX support is the same, so there is no need for the upgrade.
It looks as the MapPoint ActiveX implementation is not the standard one, or at least it is not done in the way that we use it from FWH.
Can you get the right behavior and events with xHB ? |
ActiveX & Mappoint | Antonio,
With xHarbour I can set the properties to show the toolbars but they do not respond to any mouse clicks.
I've looked at samples for .net, vb, c#, c/c++ and I don't see anything extra you should have to do. You can see what events are available for Mappoint. There are no mappoint events to process in resp... |
ActiveX & Mappoint | [quote="Randal Ferguson":2bknv2lk]
oActiveX:SetProp("PaneState", 1) // Turn on legend for route planer
// This line returns nil
MsgInfo( OleGetProperty( oActiveX:hActiveX, "PaneState" ) )
// This line returns 1, which is correct.
MsgInfo( oActiveX:GetProp("PaneState") )
So, I don't know why using Ge... |
ActiveX & Mappoint | Randal,
A collection is a property that requires an extra parameter. This code is working right:
[code:26df9xz9]
...
local hToolBar, hStandard
...
oActiveX = TActiveX():New( oWnd, "MapPoint.Control.9" )
oWnd:oClient = oActiveX // To fill the enti... |
ActiveX & Mappoint | Antonio,
Thanks, this works great to turn on the different toolbars.
Clicking on the legend or any of the toolbar buttons does not trigger any event. The question now is why don't the toolbar buttons or legend respond to any mouse clicks?
Thanks,
Randal Ferguson |
ActiveX & Mappoint | Randal,
>
Clicking on the legend or any of the toolbar buttons does not trigger any event. The question now is why don't the toolbar buttons or legend respond to any mouse clicks?
>
Very good question <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> We are asking the same, w... |
ActiveX & Mappoint | Randal,
Did you get to work with MapPoint ?
Can you shared with us some code samples?
Regards
George |
ActiveX & Mappoint | George,
No, I never got it to work. I had upgraded to FWH 2.7 Apr 2006 version to get the new ActiveX features but still could not get it to work. I don't know if a more recent version of FWH would make any difference.
I'm still very interested in making this work. If you'd like to compare notes please feel free ... |
ActiveX & Shell.Explorer | All,
I am using activex to show a window in explorer. I create the object with:
oActiveX = TActiveX():New( oWndHP, "Shell.Explorer.2" )
When the user closes the window I call a function in the VALID clause, passing the activex object to get the document contents. In this function I use:
oDoc := TOleAuto():New( ... |
ActiveX & Shell.Explorer | Randal,
With the modified Class TActiveX that we published in these forums and that has been included in FWH 9.06 you can simply do:
oActiveX = TActiveX():New( oWndHP, "Shell.Explorer.2" )
oDoc := oActiveX:document |
ActiveX & xHarbour | Antonio,
I received your email with the updated libs. When I try to set the the event block I get an error on:
oMapPoint:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) }
This line generates the error:
Error MapPoint.Control/16389 E_FAIL: _BONEVENT
I also tried replacing the ActiveX lib wi... |
ActiveX & xHarbour | Randal,
> I also tried replacing the ActiveX lib with the one you posted here
You must use the library I posted here or then you are using xHB ActiveX instead of FWH one.
Please show your code to see why you may get an error. |
ActiveX & xHarbour | Antonio,
The following is a sample of my code.
DEFINE WINDOW oWndMap OF oWnd ;
FROM 0,0 TO 0,0 ;
MDICHILD ;
MENU MapMenu(oWndMap) ;
TITLE "Map Point"
oMapPoint = TActiveX():New( oWndMap, "MapPoint.Control" )
oWndMap:oClient = oMapPoint // To fill the entire windo... |
ActiveX & xHarbour | Randal,
> I extracted ole.obj from the fivehc.lib.
Don't extract it. Please try with it. |
ActiveX & xHarbour | Antonio,
When using the original fivehc.lib dated 4/3/06 I get the message "yourapp has encountered a problem and needs to close" at this line:
oMapPoint = TActiveX():New( oWndMap, "MapPoint.Control" )
Thanks,
Randal Ferguson |
ActiveX & xHarbour | Randal,
Could you please try samples\webexp.prg and check if it works ok for you ? thanks. |
ActiveX & xHarbour | Antonio,
If I build webexp sample using xharbour and bcc it works fine. If I build using xBuilder and xcc, linking ActiveX.lib from xHabour I get the same error message.
Error description: Error Shell.Explorer/16389 E_FAIL: _BONEVENT
If I build with xBuilder and do not link xHarbour ActiveX.lib I get the error
Er... |
ActiveX & xHarbour | Randal,
> Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: HWND
What source code generates that error ? |
ActiveX & xHarbour | Antonio,
The line that generates that error is:
oActiveX = TActiveX():New( oWnd, "Shell.Explorer" )
Here is the error log:
Application
===========
Path and name: D:\xHB\bin\webexp.exe (32 bits)
Size: 1,504,768 bytes
Time from start: 0 hours 0 mins 1 secs
Error occurred at: 04/27/06, 09:03:38
Error d... |
ActiveX & xHarbour | Randal,
> Called from: TActiveX.prg => TACTIVEX:NEW(0)
You are using xHB TActiveX.prg. You need to use the ActiveX.lib we provided here that is an empty lib.
FWH's one is named ActiveX.prg. |
ActiveX & xHarbour | Antonio,
If I link the small activex.lib you posted here and not the activex.lib that comes with xHarbour I get the msg "yourapp.exe has encountered a problem and needs to close" on this line:
oMapPoint = TActiveX():New( oWndMap, "MapPoint.Control" )
Thanks,
Randal Ferguson |
ActiveX & xHarbour | Randal,
Where we may download a demo version of such mappoint activex ? |
ActiveX & xHarbour | Antonio,
I don't know of anywhere you can download a trial version. Is there somewhere I can send you my version for you to review? I can zip up the setup and run disks, they are about 600mb & 300mb (zipped).
Thanks,
Randal Ferguson |
ActiveX & xHarbour | Yes, you may email them to me as ZIP files. Thanks, |
ActiveX -- Para Antonio | Hola Antonio.
Habrá mejoras en los componentes ActiveX soportados
por fivewin???
Se podrán usar en diálogos desde recursos?
que sucederá con los eventos ?
Gracias por la atención. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.