Search found 239 matches

by Jan de Lint
9 Oct 2008 12:45
Forum: Visual Prolog
Topic: VPcURL package structure
Replies: 10
Views: 4193

Just to be sure: this wont't work in the current VP 7.1?
]an
by Jan de Lint
9 Oct 2008 12:19
Forum: Visual Prolog
Topic: VPcURL package structure
Replies: 10
Views: 4193

Much more elegant indeed! I like that of course :D One more reason to update the package. A large number of curl API's is not implemented yet, namely the multithreading ones (not necessary) and the secure connection ones (SSL etc., not needed in my case). Over the years I did not spend too much time...
by Jan de Lint
8 Oct 2008 9:08
Forum: Visual Prolog
Topic: VPcURL package structure
Replies: 10
Views: 4193

Just for my curiousity..
For a long time now, I am about :oops: to enhance/update the VPcURL package which uses an off the shelf libcurl dll.
Would this be the sort of mechanism suitable to wrap the VPcURL package? Would maintenance of the package become easier?
Thanks,
]an
by Jan de Lint
8 Jun 2008 16:11
Forum: Visual Prolog
Topic: Isapi
Replies: 13
Views: 6256

Re:

also i would like to bring under the attention this company http://www.combell.com there u can rent a VPS ( Virtual Private Server ) for windows for about 60 euro a month Rene, in an operational environment I prefer the following set-up: standard components at the server side a choice between Windo...
by Jan de Lint
12 Apr 2008 19:22
Forum: Visual Prolog Tips & Samples
Topic: custom control : scintilla editor
Replies: 9
Views: 13759

I don't get this error but then I'm on 7103 CE.
The improvements from 7.0 to 7.1 are very slick.
I use scintilla for the line-wrap feature. As far as I know this is not availble with the standard controls.
]an
by Jan de Lint
28 Dec 2007 17:10
Forum: Visual Prolog
Topic: Ownerdraw Listbox Problem
Replies: 14
Views: 4833

Do getfont and setfont still work with vpi Windows? In order to make the font bold for instance, during ownerdraw, I used Cwin = window::convertVPIWin2Window(CtlWin), Font = CWin:getFont(), _ = vpi::fontGetAttrs(Font, _, FontSize), FontB = vpi::fontSetAttrs(Font, [fs_bold], FontSize), Cwin:setFont(F...
by Jan de Lint
28 Dec 2007 8:39
Forum: Visual Prolog
Topic: Ownerdraw Listbox Problem
Replies: 14
Views: 4833

Sorry, I was too quick.
The following works like in old times:

Code: Select all

   listboxHandler(_Win,e_OwnerMeasureItem(_Ctltype,_CtlId,_ItemID,_Data)) = Size :-         Size = bit::bitleft(25, 16) + 0, !.
]an
by Jan de Lint
27 Dec 2007 22:09
Forum: Visual Prolog
Topic: Ownerdraw Listbox Problem
Replies: 14
Views: 4833

To continue this subject, I can now (7103) see the ownerdrawmeasureitem event coming in using the following code: clauses new(Parent):- formWindow::new(Parent), generatedInitialize(), listbox_ctl:setState([wsf_ownerdraw]), setSubclassHandler(listboxhandler,false), listbox_ctl:addList(["1","2","3","4...
by Jan de Lint
13 Dec 2007 19:30
Forum: Visual Prolog
Topic: problem with getWeek
Replies: 3
Views: 3764

In VP5, the dt_offset_to_date() function gives week 1 for 2007/12/31 which is apparently right as you say. Most peculiar!
]an
by Jan de Lint
4 Dec 2007 20:09
Forum: Visual Prolog Tips & Samples
Topic: VPcURL package.
Replies: 6
Views: 12213

Gildas, Well, without the additional investment of PDC (thanks Thomas!) it would have taken another year or so to get to the maturity it has now. I was thinking that you could use VPcURL to connect to a server for registry and initial connection of two or more of your clients/servers. For those who ...
by Jan de Lint
4 Dec 2007 13:29
Forum: Visual Prolog Tips & Samples
Topic: VPcURL package.
Replies: 6
Views: 12213

VPcURL package.

Note: for this package to work, you need Vip 7.2 and on Windows 7 you need 7.3. This package only compiles cleanly with 7.3. Here are some recommendations how to incorporate VPcURL in your program . This description is also included in the zip-file. Dll-s are not included due to upload size limitati...
by Jan de Lint
29 Aug 2007 9:30
Forum: Visual Prolog
Topic: Ownerdraw Listbox Problem
Replies: 14
Views: 4833

Thanks a lot Chan,
Fortunately I don't use ownerdraw in the project I'm currently working on.
Otherwise I use it a lot.
Given the time, I have to find out if the new 7.1 better supports ownerdraw.
Jan
by Jan de Lint
25 Aug 2007 11:53
Forum: Visual Prolog
Topic: Ownerdraw Listbox Problem
Replies: 14
Views: 4833

Re:

Hello Chan, Thanks for the workaround. It works when the Manifest is turned off. Problem still exists when Manifest is used. In 7.1 this workaround is no longer needed for non-Manifest so it seems. In case of Manifest it looks like the dropdown number of rows is about 30 in my case. Regarding the ow...
by Jan de Lint
5 Apr 2007 15:51
Forum: Visual Prolog
Topic: SMAPI and Webmail
Replies: 2
Views: 1948

Only if you find a PC client which supports Webmail, a browser will not do this.
SMAPI uses a dll on the PC.
Both Outlook (Express) and Thunderbird support SMAPI via SMTP.
That is all I know.
Jan