Search found 9 matches

by Ferdinand
Sat Apr 11, 2015 9:42 am
Forum: Tricks 'n' Tips
Topic: VBScript to PureBasic program code generator
Replies: 8
Views: 7247

Re: VBScript to PureBasic program code generator

As an addition, here are some examples of using VBScript through the ScriptControl in PureBasic:

example 1) as VBScript is (was) used a lot by system administrators, you will see a lot of scripts using the WMI (Windows Management Instrumentation) object; this example is a script (srvinv.vbs) I ...
by Ferdinand
Sun Mar 29, 2015 10:23 am
Forum: Tricks 'n' Tips
Topic: VBScript to PureBasic program code generator
Replies: 8
Views: 7247

Re: VBScript to PureBasic program code generator

added some lines to deal with WScript object (edited first post)
by Ferdinand
Thu Mar 26, 2015 4:31 pm
Forum: Tricks 'n' Tips
Topic: VBScript to PureBasic program code generator
Replies: 8
Views: 7247

Re: VBScript to PureBasic program code generator

the ScriptControl source (save as ScriptControl.pbi)



; ScriptControl by Thomas 'ts-soft' Schulz

Interface IScriptControl Extends IDispatch
get_Language(a)
put_Language(strLanguage.p-bstr)
get_State(a)
put_State(a)
put_SitehWnd(a)
get_SitehWnd(a)
get_Timeout(timeout)
put_Timeout(timeout ...
by Ferdinand
Thu Mar 26, 2015 4:30 pm
Forum: Tricks 'n' Tips
Topic: VBScript to PureBasic program code generator
Replies: 8
Views: 7247

VBScript to PureBasic program code generator

This program creates a complete PureBasic program from a VBScript source.
The created pb-program uses Thomas "ts-soft" Schultz' ScriptControl library in include-file format.
I will post the source of the ScriptControl include directly under this one.

You will probably have to tweak the created pb ...
by Ferdinand
Sun Mar 15, 2015 6:00 pm
Forum: Tricks 'n' Tips
Topic: RichEdit Functions (OOP) New: with Image-Support
Replies: 78
Views: 49689

Re: RichEdit Functions (OOP) New: with Image-Support

Just downloaded and experimented with this.
I didn't get any error messages.
And I think this is really impressive. :D
thanks for the work on it, ts-soft.
by Ferdinand
Sun Mar 15, 2015 12:02 pm
Forum: Tricks 'n' Tips
Topic: LPRINT_plus
Replies: 3
Views: 2397

Re: LPRINT_plus

No feedback yet ?
Anyway, I have added another example of the use of LPRINT_plus:
a program that can be configured as a tool in the PureBasic editor to print the source code of a program in the editor
see the webpage http://home.kpn.nl/fschinkel/purebasic
by Ferdinand
Fri Mar 13, 2015 11:27 am
Forum: General Discussion
Topic: so what happens with PB...
Replies: 17
Views: 6331

Re: so what happens with PB...

but..PureBasic becoming open source does not guarantee any (well-organised) maintenance or development group magically appearing and keeping the whole project going, especially if there is not much of a financial incentive;
unfortunately many basic compilers / interpreters in the past relied mostly ...
by Ferdinand
Fri Mar 13, 2015 10:49 am
Forum: Coding Questions
Topic: Printer settings questions
Replies: 3
Views: 1917

Re: Printer settings questions

Maybe the code in this thread could be of use to you ?
http://www.purebasic.fr/english/viewtop ... 3&start=23
(especially Procedure.I ChangePrinterDefaultSettings(PrinterName.S))
by Ferdinand
Tue Mar 10, 2015 4:26 pm
Forum: Tricks 'n' Tips
Topic: LPRINT_plus
Replies: 3
Views: 2397

LPRINT_plus

Here is an include file with "LPRINT" and simple reporting functions

examples of use can be downloaded from this website
http://home.kpn.nl/fschinkel/purebasic

Note: I found it very useful during testing to use a printer to PDF, such as comes with the Foxit PDF reader ...