Search found 12 matches

by PeteM
Thu Nov 09, 2023 2:19 pm
Forum: Tricks 'n' Tips
Topic: QR Code encoder library ported to PB
Replies: 28
Views: 17817

Re: QR Code encoder library ported to PB

Anyone know how to change the background colour of the image, or to make it transparent?
by PeteM
Wed Aug 29, 2018 6:12 pm
Forum: Coding Questions
Topic: PDF Navigation in Webgadget
Replies: 1
Views: 766

PDF Navigation in Webgadget

I am using the Webgadget under Windows 10. I load a local pdf file into it by navigating to file://filename.pdf. This works just fine, showing the first page of the pdf. However, I want to programatically move to the next page. There does not seem to be a function for this in PureBasic, I can only ...
by PeteM
Tue May 31, 2016 5:48 pm
Forum: Coding Questions
Topic: Microsoft Powerpoint Automation Using Comate
Replies: 1
Views: 874

Microsoft Powerpoint Automation Using Comate

I am trying to get the Hwnd of the current Powerpoint running slideshow window. The documentation describes it as SlideShowWindow.HWND, and I am trying to retrieve it with this code:

Declare.i Hwnd
Hwnd = PPTObject\GetIntegerProperty("Presentation\SlideShowWindow\HWND")

but it returns a "Method ...
by PeteM
Thu May 26, 2016 3:50 pm
Forum: Coding Questions
Topic: Microsoft Office Automation using Comate
Replies: 6
Views: 1831

Re: Microsoft Office Automation using Comate

Not sure if its relevant but both of these commands *do* work ...

Code: Select all

ExcelObject\SetProperty("Visible = #True")
ExcelObject\SetProperty("ActiveWindow\WindowState = -4137")
by PeteM
Thu May 26, 2016 3:46 pm
Forum: Coding Questions
Topic: Microsoft Office Automation using Comate
Replies: 6
Views: 1831

Re: Microsoft Office Automation using Comate

It returns "Method/property not supported by this object". :(
by PeteM
Wed May 25, 2016 4:18 pm
Forum: Coding Questions
Topic: Microsoft Office Automation using Comate
Replies: 6
Views: 1831

Re: Microsoft Office Automation using Comate

Yes, I've tried that, but it didn't work either ...
by PeteM
Tue May 24, 2016 6:33 pm
Forum: Coding Questions
Topic: Microsoft Office Automation using Comate
Replies: 6
Views: 1831

Microsoft Office Automation using Comate

I'm having trouble navigating through a Word document using Comate Plus. Everything works fine, except the line noted to scroll down the page. If I record a macro in Word, the VBA code is:

Selection.MoveDown Unit:=wdScreen, Count:=1

I believe the wdScreen value is 7, which I have put in the code ...
by PeteM
Tue Apr 26, 2016 10:14 am
Forum: Coding Questions
Topic: Network Share Management Functions - ?
Replies: 8
Views: 3486

Re: Network Share Management Functions - ?

Beautiful, worked first time! Thanks.
by PeteM
Mon Apr 25, 2016 5:22 pm
Forum: Coding Questions
Topic: Network Share Management Functions - ?
Replies: 8
Views: 3486

Re: Network Share Management Functions - ?

The example above no longer seems to work. The directory gets created, but "ERROR: Parameter: 501." gets returned. Downloading the full Netshare package produces an almost identical result in NetShareAdd.pb - its returns "ERROR: Invalid Parameter [ 501 ]"

I am using 64-bit 5.42 LTS on Windows 10 ...
by PeteM
Thu Mar 12, 2015 12:49 am
Forum: General Discussion
Topic: nSoftware IP*Works Wrapper Paid Project
Replies: 5
Views: 3867

Re: nSoftware IP*Works Wrapper Paid Project

Here is the main header:

// IP*Works! SSL V9 C++ Edition - C++ Interface
//
// Copyright (c) 2015 /n software inc. - All rights reserved.
//

#ifndef _IPWORKSSSL_H_
#define _IPWORKSSSL_H_

#ifdef WIN32
#define IPWORKSSSL_CALL __stdcall
#else //UNIX
#define IPWORKSSSL_CALL
#endif

#if defined(_MSC ...
by PeteM
Fri Mar 06, 2015 11:15 am
Forum: General Discussion
Topic: nSoftware IP*Works Wrapper Paid Project
Replies: 5
Views: 3867

Re: nSoftware IP*Works Wrapper Paid Project

There are multiple versions for various platforms, including C/C++. The version I have used previously is the ActiveX one, but they all have the same functionality. What I don't want is any dependency on .NET or anything similar.

Details of the C/C++ environment are here:

http://www.nsoftware.com ...
by PeteM
Thu Mar 05, 2015 9:36 pm
Forum: General Discussion
Topic: nSoftware IP*Works Wrapper Paid Project
Replies: 5
Views: 3867

nSoftware IP*Works Wrapper Paid Project

I have extensively used IP*Works from nSoftware in the past, and would like to use it with PureBasic. I believe I need wrappers to achieve that. I am willing to fund a project to create individual wrappers, or preferably a means to automatically create wrappers by analyzing the nSoftware DLLs ...