Search found 158 matches

by KDJ
Wed Jul 19, 2017 6:46 pm
Forum: PDF Generation
Topic: PDF Viewer DLL?
Replies: 131
Views: 6665

Re: PDF Viewer DLL?

Steed

It seems to me that in SumatraPDF is not possible to save individual pages of the document.
For this I am using PDFtk Server tool: https://www.pdflabs.com/tools/pdftk-server/
by KDJ
Sun Jul 16, 2017 8:57 pm
Forum: PDF Generation
Topic: PDF Viewer DLL?
Replies: 131
Views: 6665

Re: PDF Viewer DLL?

PdfView 2017-07-16 released.
Changed: now language strings are identified by a number defined in PdfView_LangStr.ch.
Fixed: minor bugs.

PdfView.zip
(5.07 MiB) Downloaded 39 times
by KDJ
Mon Jul 10, 2017 6:01 pm
Forum: HMG General Help
Topic: GetProperty of grid in form
Replies: 3
Views: 200

Re: GetProperty of grid in form

Serge

I think in this way:
x1 := GetProperty(cFORM, 'Grid_1', 'Item', A)[1]
or
x1 := GetProperty(cFORM, 'Grid_1', 'Cell', A, 1)
or
x1 := GetProperty(cFORM, 'Grid_1', 'CellEx', A, 1)
by KDJ
Wed Jul 05, 2017 7:53 pm
Forum: Issues and Discussions related to Harbour
Topic: Uncompress
Replies: 4
Views: 448

Re: Uncompress

gcarrizo If MyZipFile.zip contains files: File1.txt File2.txt File3.txt example how to extract only File2.txt #include "hmg.ch" FUNCTION Main() LOCAL cZipFile := "MyZipFile.zip" LOCAL cMyFile := "File2.txt" LOCAL pUnzip := HB_UnzipOpen(cZipFile) LOCAL nError LOCAL cFile IF ! Empty(pUnzip) nError :=...
by KDJ
Mon Jul 03, 2017 5:20 pm
Forum: HMG Unicode version
Topic: Main Menu Setting
Replies: 10
Views: 637

Re: Main Menu Setting

I found in google: https://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/context-menu-going-left-not-right/a09e42df-fdd0-45fc-a501-7e5e145a22b3 http://www.askvg.com/how-to-change-menu-position-from-left-to-right-in-windows-vista/ http://winaero.com/blog/make-menus-open-to-the-left-side...
by KDJ
Tue Jun 20, 2017 8:03 pm
Forum: HMG General Help
Topic: How to call function from .dll library?
Replies: 27
Views: 964

Re: How to call function from .dll library?

Marek

We go back to C function. Try this:

DllFunction.zip
(3.79 KiB) Downloaded 22 times
by KDJ
Tue Jun 20, 2017 5:46 pm
Forum: HMG General Help
Topic: How to call function from .dll library?
Replies: 27
Views: 964

Re: How to call function from .dll library?

Marek

Can you share Dibalscop.dll for testing?
by KDJ
Mon Jun 19, 2017 8:20 pm
Forum: General Discussions
Topic: Internet connected or not
Replies: 22
Views: 838

Re: Internet connected or not

This is probably the simplest way with PINGing: FUNCTION Main() // https://msdn.microsoft.com/en-us/library/windows/desktop/aa384346(v=vs.85).aspx LOCAL lIsInternet := If(HMG_CallDLL("Wininet.dll", 0, "InternetCheckConnection", "http://www.google.com", 1 /*FLAG_ICC_FORCE_CONNECTION*/, 0) == 1, .T., ...
by KDJ
Mon Jun 19, 2017 6:44 pm
Forum: General Discussions
Topic: Internet connected or not
Replies: 22
Views: 838

Re: Internet connected or not

Is there an effective method to check the availability of the Internet without using PING?
by KDJ
Mon Jun 19, 2017 6:29 pm
Forum: HMG General Help
Topic: How to call function from .dll library?
Replies: 27
Views: 964

Re: How to call function from .dll library?

Marek

I prepared C++ function instead of pure C.
Try how it works.

DllFunction.zip
(4.91 KiB) Downloaded 31 times