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 ...
Search found 9 matches
- Sat Apr 11, 2015 9:42 am
- Forum: Tricks 'n' Tips
- Topic: VBScript to PureBasic program code generator
- Replies: 8
- Views: 7247
- 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)
- 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 ...
; 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 ...
- 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 ...
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 ...
- 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.
thanks for the work on it, ts-soft.
I didn't get any error messages.
And I think this is really impressive.

thanks for the work on it, ts-soft.
- 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
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
- 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 ...
unfortunately many basic compilers / interpreters in the past relied mostly ...
- 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))
http://www.purebasic.fr/english/viewtop ... 3&start=23
(especially Procedure.I ChangePrinterDefaultSettings(PrinterName.S))
- 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 ...
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 ...