Search found 309 matches

by Rochinha
Sun Nov 02, 2008 7:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX
Replies: 5
Views: 1969

Friend, This is a sample with Activex class? #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:Do( "ToolBar"...
by Rochinha
Sun Nov 02, 2008 7:20 am
Forum: Utilities / Utilidades
Topic: Disculpen la pregunta -Software "screen recorder"?
Replies: 3
Views: 944

Estimado,

Usas Demo Builder, captura las pantalas e graba en ficheros Flash.
by Rochinha
Sat Nov 01, 2008 10:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Testing a valid IP address? ( SOLVED! )
Replies: 43
Views: 8225

Friends, It´s really solved? Try the code below: #include "FiveWin.ch" #include "dll.ch" Function Main(_ping_) Ping( _ping_ ) return nil //------------------------------------- Function Ping(DestinationAddress) //------------------------------------- local IcmpHandle,Replicas loc...
by Rochinha
Sat Nov 01, 2008 6:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to input a password into a XLS file wirh OLE
Replies: 7
Views: 1194

I think it is more complex. You must determine if the password is in the spreadsheet or folder. Use the example to improve the test in your XLS file. #include "fivewin.ch" FUNCTION main( fileXL ) LOCAL oExcel, oWorkbook, nSheets oExcel := TOLEAuto():New( "Excel.Application" ) oEx...
by Rochinha
Fri Oct 31, 2008 1:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to input a password into a XLS file wirh OLE
Replies: 7
Views: 1194

Hi, To save use the third parameter in the method SaveAs of WorkBook object FUNCTION MAIN() LOCAL oExcel := CREATEOBJECT( "Excel.Application" ) LOCAL oWorkbook := oExcel:Workbooks LOCAL oSheet := oExcel:ActiveSheet ... savefile := oWorkbook.SaveAs( fileXL, ,"YourPassWord" ) ... R...
by Rochinha
Mon Oct 27, 2008 5:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Testing a valid IP address? ( SOLVED! )
Replies: 43
Views: 8225

JC,

GETHOSTBYNAME( YourIPString ) work´s?
by Rochinha
Sun Oct 26, 2008 8:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: LOOKING TO HARBOUR
Replies: 3
Views: 679

Friend, %hdir%\bin\b32\harbour %1 /n /i..\include;%hdir%\include /p %2 %3 > clip.log This part build a .C Harbour compatible code of your .PRG file. echo -O2 -e%1.exe -I%hdir%\include -tW %1.c > b32.bc %bcdir%\bcc32 -M -c @b32.bc This part build a .OBJ of your .C file. After build a .OBJ you need us...
by Rochinha
Mon Oct 06, 2008 10:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Hot Areas in Bitmap
Replies: 4
Views: 908

by Rochinha
Tue Sep 30, 2008 5:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: VISTA question
Replies: 3
Views: 810

Otto

This problem may be related only to files named setup.ini or setup.inf, used by Windows for installations.

My recommendation is not to use this name in future.

I had this problem.
by Rochinha
Mon Sep 29, 2008 8:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: VISTA question
Replies: 3
Views: 810

Otto

by reason of security, Vista will run setup.exe(Windows Install) first.
by Rochinha
Sun Sep 28, 2008 6:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Details of the opened dialogs/windows in application
Replies: 18
Views: 3577

Anserkk, I could not understand the purpose of the function ChangeParent( oDlg, oChild ) and what exactly it does and the advantage... It´s only one explanation, without functioning. Regarding the closing of DBF files, you are taking a different approach ie instead of closing DBF's... Yes. This avoi...
by Rochinha
Sat Sep 27, 2008 5:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: Help : Details of the opened dialogs/windows in application
Replies: 18
Views: 3577

See if these codes to help you. with this code you can open tables without closing them: #command OPEN <(db)> ; [VIA <rdd>] ; [ALIAS <a>] ; [<new: NEW>] ; [<ex: EXCLUSIVE>] ; [<sh: SHARED>] ; [<ro: READONLY>] ; [INDEX <(index1)> [, <(indexn)>]] ; => if Select( <(db)> )==0 ; ; dbUseArea( <.new.>, <rd...
by Rochinha
Wed Sep 17, 2008 12:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Excell Tricks
Replies: 1
Views: 469

Excell Tricks

Hi, Here a simple code: #include "FiveWin.ch" Function XLSTabela() LOCAL objExcel, objExcelsheet, objWrkBooks, objCell amount := 50.00 taxrate := .0865 objExcel := TOleAuto():New( "Excel.Application" ) objExcelsheet := TOleAuto():New( "Excel.Sheet" ) objWrkBooks := objE...
by Rochinha
Tue Sep 16, 2008 7:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX NO BORDER
Replies: 25
Views: 4664

Patrick See the code below: This code shows how to enter data into one remote .DBF. With xHarbour change TOLEAuto():New() for CreateObject(). #include "fivewin.ch" Function Main() LOCAL loHyperlink := TOLEAuto():New( "Microsoft.XmlHttp" ) // set default to "c:\YourSystem&quo...
by Rochinha
Sat Sep 13, 2008 11:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: The Poor Man Cryptography Method ( PMCM )
Replies: 13
Views: 2638

I agree with James,

I needed to save passwords in .INI files and could not with the current functions, then used simple and especific functions.