Search found 147 matches

by Peter Muraya
28 Feb 2017 1:42
Forum: Visual Prolog
Topic: How to read File Properties
Replies: 2
Views: 1044

Thank you Thomas. I followed the two references you gave me; the Windows Imaging Component is relevant to what I'm looking for, but it seems too complicated for what I though would be a simple task. I will study it a little bit harder and look for alternative libraries as you suggested. Thanks again.
by Peter Muraya
27 Feb 2017 6:35
Forum: Visual Prolog
Topic: How to read File Properties
Replies: 2
Views: 1044

How to read File Properties

Hi all, Recently I'm dealing with lots of data that come as images that have important metadata for us. The metadata are packaged as file properties, visible when you right click on an image in Windows explorer. I need to read access this from a Visual Prolog program. How can I easily do this? I'm c...
by Peter Muraya
26 Jan 2017 7:14
Forum: Visual Prolog
Topic: Uploading files to a website
Replies: 2
Views: 1160

Thanks a lot
by Peter Muraya
23 Jan 2017 8:22
Forum: Visual Prolog
Topic: Uploading files to a website
Replies: 2
Views: 1160

Uploading files to a website

Hello,
I need to upload some files to a website using VP. Related to this I see some references to the VPcURL package in this discussion forum. How do I access it?
Thanks
by Peter Muraya
2 Dec 2016 6:23
Forum: Visual Prolog
Topic: [byval] attribute
Replies: 2
Views: 1652

Thank you Thomas.
by Peter Muraya
23 Nov 2016 13:22
Forum: Visual Prolog
Topic: [byval] attribute
Replies: 2
Views: 1652

[byval] attribute

Hi Thomas,
I understand what the [in] and [out] attributes do in predicate arguments, but not [byval]. What does it mean and how would I use it?
by Peter Muraya
15 Jun 2016 9:30
Forum: Visual Prolog
Topic: COM-based SMS library for GSM phones
Replies: 0
Views: 2736

COM-based SMS library for GSM phones

Hello Forum, I plan to build a Prolog application for sending/receiving short messages via a modem. I have searched the internet and identified many potential libraries. Before I try any of them, I would like to find out if any member of this forum has used or can recommend a specific library that h...
by Peter Muraya
15 Jun 2016 9:14
Forum: Visual Prolog
Topic: How do you get the active object?
Replies: 9
Views: 3324

This is very very clear now. Thanks.
by Peter Muraya
14 Jun 2016 7:43
Forum: Visual Prolog
Topic: How do you get the active object?
Replies: 9
Views: 3324

Thanks Thomas. Now it works fine.
Just curious.... how much memory is allocated by the statement

Code: Select all

CLSID = memory::alloc_atomic() ?
The Prolog documentation refers to #Count but this is applicable to

Code: Select all

memory::alloc_array(positive Count)
by Peter Muraya
11 Jun 2016 5:45
Forum: Visual Prolog
Topic: How do you get the active object?
Replies: 9
Views: 3324

Thomas, Now I understand what you meant when you said:- However the resulting "Disp" object is not as easy to use as in VB. Here is what I want to do in VB ... set disp = getobject(,"Excel.applicaion") 'To display the name of the application, using the name property msgbox disp.name .... Here is how...
by Peter Muraya
10 Jun 2016 10:09
Forum: Visual Prolog
Topic: How do you get the active object?
Replies: 9
Views: 3324

Thank you Thomas. I will study your code more closely; yes, it's the kind of thing I was looking for.
by Peter Muraya
9 Jun 2016 7:02
Forum: Visual Prolog
Topic: How do you get the active object?
Replies: 9
Views: 3324

How do you get the active object?

Thomas,
In VB I used the following statement to obtain the active Excel application object

Code: Select all

... Set excel = GetObject(, "Excel.Application") ...
How would I use the comCreation:: libray to achieve the same result in Visual Prolog?
by Peter Muraya
9 Jun 2016 6:46
Forum: Visual Prolog
Topic: = versus := Differences between unification and assignment operators.
Replies: 4
Views: 3167

Hello Carlesius. Welcome. I have not checked to see where this is documented but from my experience in Visual Prolog, this name := none(), assigns the none() value to the name fact And this name = none() is a unification that would cause the clause to succeed if the name fact is set to none ; otherw...
by Peter Muraya
4 Dec 2015 8:52
Forum: Visual Prolog
Topic: ODBC error in pfc\odbc\odbcStatement.pro and way forward
Replies: 1
Views: 2685

ODBC error in pfc\odbc\odbcStatement.pro and way forward

Hi Thomas, After making some minor change to my code, my application started to behave in a most unexpected way. The seemingly innocuous change I made was to access data by field name rather than by a column number, as I was not sure the order in which the columns were returned by a fetch. So, I mad...
by Peter Muraya
4 Dec 2015 4:16
Forum: Visual Prolog
Topic: Gridview control
Replies: 1
Views: 2513

Gridview control

Hi,
I have a problem that I think a Gridview control would be part of the solution. Is there such a control in Prolog? I don't seem to find any.