Search found 204 matches

by KDJ
Sun Nov 05, 2017 12:18 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

Niko

Try this version.
I added detection of image in attribute "data-src" inside "img" tags.

ImageFromWeb.zip
(4.4 KiB) Downloaded 59 times
by KDJ
Sat Nov 04, 2017 9:11 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

quartz565 wrote:
Sat Nov 04, 2017 5:21 pm
webfile.zip
It looks as HTML5.
What version of Internet Explorer is in your system?
by KDJ
Fri Nov 03, 2017 9:29 pm
Forum: HMG Tutorials and Tips
Topic: How to insert a row in a Grid?
Replies: 3
Views: 646

Re: How to insert a row in a Grid?

Zoli B.

Use AddItemEx method.

From HMG documentation:
<ParentWindowName>.<GridControlName>.AddItemEx ( aItem, nRow )

Set nRow := 1
by KDJ
Fri Nov 03, 2017 9:11 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

Example:

ImageFromWeb.png
ImageFromWeb.png (35.25 KiB) Viewed 670 times
ImageFromWeb.zip
(4.32 KiB) Downloaded 75 times
by KDJ
Mon Oct 30, 2017 9:24 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

Niko 1. Download source of your page to file: URLDownloadToFile("http://...", "Source.htm") 2. Read content this file into variable: cHtml := HB_MemoRead("Source.htm") 3. In cHtml find all <img> tags: <img ...> 4. Inside every tag find src parameter: <img ... src="HereIsImageAddress" ...> 5. Take i...
by KDJ
Sun Oct 29, 2017 9:24 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

Hello friends.
I improved my example to show how to keep original aspect ratio of the image.

ImageFromWeb.jpg
ImageFromWeb.jpg (81.57 KiB) Viewed 867 times
ImageFromWeb.zip
(3.04 KiB) Downloaded 66 times
by KDJ
Sat Oct 28, 2017 8:50 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

This is an example in HMG:

ImageFromWeb.png
ImageFromWeb.png (185.43 KiB) Viewed 1320 times
ImageFromWeb.zip
(1.99 KiB) Downloaded 88 times
by KDJ
Sat Oct 28, 2017 12:54 pm
Forum: HMG General Help
Topic: From Web to image control
Replies: 38
Views: 4083

Re: From Web to image control

Niko

How to download a file, see here: http://www.hmgforum.com/viewtopic.php?t=5321
by KDJ
Sun Oct 22, 2017 12:12 pm
Forum: PDF Generation
Topic: PDF Viewer DLL?
Replies: 150
Views: 24174

Re: PDF Viewer DLL?

PdfView version 2017-10-21

Added:
- page ranges in "Split into single pages" dialog,
- password protection for target documents in "Split into single pages",
- option "Merge/Split/Rotate" in Menu -> Document.
Changed:
- dialog window "Split into single pages" now is modeless.

PdfView.zip
(8.39 MiB) Downloaded 109 times
by KDJ
Sun Oct 15, 2017 8:59 pm
Forum: HMG General Help
Topic: A problem with EnumProcessID ()
Replies: 2
Views: 322

Re: A problem with EnumProcessID ()

esgici

Use EnumProcessesID().