NC Clone

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi

here lates 32 Bit Version 1.07 (64 Bit Version under construction)
HBFM107.zip
(2.12 MiB) Downloaded 293 times
it include FTP (not sFTP)
HBFM107_FTP.jpg
HBFM107_FTP.jpg (293.25 KiB) Viewed 4632 times
i also use FreeImage.DLL again for Thumbs
FreeImage32.zip
(2.02 MiB) Downloaded 270 times
when display Thumbs you can rotate Image (right-Mouse Menu)
// v.1.07 10.07.2020 include HbFTP (incl 64 Bit)
// v.1.06 07.07.2020 cleanup HB_FUNC for 64 Bit
// v.1.05 01.07.2020 FreeImage -> Thumbs -> Pop-Up Menu -> rotate
// v.1.04 20.06.2020 try using FreeImage.DLL without Import LIB
known Problem :
when call Thumbs 1st Time it fail and display no Thumbs.
FTP :
i have used Extended Version c:\MiniGUI\SAMPLES\Advanced\FtpClient\demo.prg and re-write for HMG
i had a lot of Problem with 2nd GRID which show on right side when connect to FTP Server.
Directory Structure do not match "my" FTP site so i wrote new Version.
so you have to test if it work with "your" FTP site Directory Structure

FTP Client is not full integrate into HBFM. it does not work in Thread yet.

have fun
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

when install ADO ActiveX you might get missing VCOMP1xx.DLL

it are Runtime DLL from Visual C++ Redistributable for Visual Studio
https://www.microsoft.com/de-DE/downloa ... x?id=48145
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi

here latest Version v1.12
32 Bit
HBFM112.zip
(2.13 MiB) Downloaded 275 times
64 Bit
HBFM64_112.zip
(2.44 MiB) Downloaded 256 times
fixed :
RunCMD *.EXE
HbFTP can change Path -> Error open Sites.DBF
HbFTP Error Button_Connect when try from Sites Edit Window

ADO now can read/write Excel XLSx under 32/64 Bit
DBF Browse add INSERT and DELETE Key. add Statusbar
Thumbs open in Fullscreen Modus. Toolbar will stay visible when scroll

known Problem : 64 Bit App does not show "Extension Icon" in Grid
v.1.12 05.08.2020 HbFTP : Error new Site or when connect from Detail
v.1.11 01.08.2020 ADO write XLSx with INSERT INTO Excel Date
v.1.10 31.07.2020 ADO write XLSx with RecordSet
v.1.09 27.07.2020 HbFTP : AppFolder() -> cPath+"Sites.DBF"
v.1.08 25.07.2020 DBF Browse : Append / Delete -> Statusbar
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

latest Version v1.15
32 bit
HBFM115.zip
(2.14 MiB) Downloaded 245 times
64 bit
HBFM64_115.zip
(2.45 MiB) Downloaded 252 times
fixed :
FMREGDB : DblClick does not open Registry

new :
transparency for inactive Windows. add FIELD in Setup
*.XLSx, read by ADO , can be export to DBF
ADO_Export.jpg
ADO_Export.jpg (30.32 KiB) Viewed 3851 times
! Note : numeric include DEC = 2

Tip :
press F2 for ADO Structure an "Info" to "optimize" LEN before F5 Export
DblClick in Structure -> Edit

! Note : i do NOT VALIDATE Structure yet

---

HBFM is using UNICODE but DBF can be used e.g. by Cl*pper Apps so i add Codepage.

Code: Select all

USE ( cExportTo ) VIA (cVIA) EXCLUSIVE CODEPAGE (cCodepage)
when transfer data from *.XLSx i just use FieldPut() so no convert data

please check if transfer sign > CHR(128) from *.XLSx to DBF work in your Language, THX

---
v.1.15 17.08.2020 XLSX -> Export -> DBF
v.1.14 15.08.2020 Inactive Windows Transparancy / Setup / new FIELD
v.1.13 13.08.2020 FMREGDB.PRG 3th. Parameter wrong ( CURDIR() )
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi

latest Version v1.17
32 Bit
HBFM117.zip
(2.14 MiB) Downloaded 230 times
64 Bit
HBFM64_117.zip
(2.45 MiB) Downloaded 245 times

fixed :
1st time run HBFM create Error NCOLOR1() -> no Color Value
F4 Edit TXT or RTF will now "saved" when LEN() is different to Original

new
now System Icon from Imagelist display faster when Startup or change Folder
it also show Icon for *.LNK
// v.1.17 24.08.2020 GETICOINDEX() instead of BT_DirectoryInfo()
// v.1.16 23.08.2020 BT_DirectoryInfo() without Thread.
! Note : Source Code is avaiable under https://github.com/AugeOhr/HBFM
(no Image include in Source)

for 64 Bit you also need FreeImage LIB from this Thread
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: NC Clone

Post by danielmaximiliano »

Hi jimmy :
crash in edit ftp server
I create a site
Site name: Moto g8
FTP Server: 192.168.1.39:8556
"Save"
Button Connect
"Connectionis not opened" button accept
Button Sites, button edit
2020-08-27 12_15_17-HBFM v1.17-x64.png
2020-08-27 12_15_17-HBFM v1.17-x64.png (75.58 KiB) Viewed 3754 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

sorry i have not check it that Way

i have re-write FMG to PRG and that Way it want to access Control before Form was create ... :roll:
so new Version v1.18 where i also found a Error in Thumbs with virtual height and fixed it

32 Bit
HBFM118.zip
(2.14 MiB) Downloaded 250 times
64 Bit
HBFM64_118.zip
(2.45 MiB) Downloaded 237 times
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

latest Version v1.24
32 Bit
deleted while have a BIG BUG

64 Bit
deleted while have a BIG BUG

fixed :
DATE Problem when edit in Browse

new :
detect when "change" TXT or RTF and ask to Save it
TXT or RTF Row / Col show in Statusbar
create / change DBF Structure ( MODI STRU )

! Note : only Field LEN and DEC can be changed, NOT Field NAME or TYPE
// v.1.24 09.09.2020 Modi Stru Validation
// v.1.23 08.09.2020 more Modi Stru
// v.1.22 07.09.2020 RECOVER USING oError
// v.1.21 07.09.2020 Browser : F2 -> Modi Stru -> F5 Save -> DBUUUU.DBF
// v.1.20 05.09.2020 SHIFT F4 -> Create new DBF
// v.1.19 01.09.2020 detect when "change" TXT or RTF and ask to Save it
// TXT or RTF Row / Col show in Statusbar
Last edited by AUGE_OHR on Thu Sep 10, 2020 12:39 am, edited 1 time in total.
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: NC Clone

Post by danielmaximiliano »

Hi Jimmy
n android file manager I generate an ftp server, from my HP4530s I3 notebook with windows 10 I connect through File Explorer or Firefox just by typing FTP://192.168.1.2:8556 and I can copy, move or any FTP command within my Motorola G8 plus.
with HBFM64 the application hangs entering 192.168.1.2:8556 without username and password or with username: anonimous, password: anoimous
I must use the windows Task Kill to kill the HBFM64 process
2020-09-09 02_00_39-Window.png
2020-09-09 02_00_39-Window.png (12.58 KiB) Viewed 3531 times
https://play.google.com/store/apps/deta ... ager&hl=es
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: NC Clone

Post by danielmaximiliano »

ftp://anonymous:anonymous@192.168.1.39:8556
or ftp://192.168.1.39:8556
File Explorer Windows 10.png
File Explorer Windows 10.png (9.25 KiB) Viewed 3525 times
Firefox.png
Firefox.png (21.25 KiB) Viewed 3525 times
There must be an error in the URL string since you only ask for an address and not an address and port which is what the assembly asks for TUrl()
Edit Sites.png
Edit Sites.png (6.92 KiB) Viewed 3525 times

Code: Select all

/* An URL:
   https://user:passwd@example.org:port/mypages/mysite/page.html?avar=0&avar1=1
   ^---^   ^--^ ^----^ ^---------^ ^--^ ^----------------------^ ^------------^
   cProto   UID  PWD     cServer  nPort          cPath               cQuery
                                        ^------------^ ^-------^
                                          cDirectory     cFile
                                                       ^--^ ^--^
                                                     cFname cExt
 */

CREATE CLASS TUrl

   VAR cAddress  INIT ""
   VAR cProto    INIT ""
   VAR cUserid   INIT ""
   VAR cPassword INIT ""
   VAR cServer   INIT ""
   VAR cPath     INIT ""
   VAR cQuery    INIT ""
   VAR cFile     INIT ""
   VAR nPort     INIT -1
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply