It is currently Thu Oct 29, 2020 11:05 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 336 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23
Author Message
 Post subject: Re: COMatePLUS version 1.2
PostPosted: Wed May 20, 2020 1:50 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 1150
Location: Amphibios 9
Derren wrote:
just looking for an easy way to replace my "write VB code to a *.vbs file and run in" code-parts.

worth a look: Module ActiveScript for VB-Script with PB-Runtime Variables from mk-soft

Greetings ... Peter

_________________
Hygge


Top
 Profile  
Reply with quote  
 Post subject: Re: COMatePLUS version 1.2
PostPosted: Wed May 20, 2020 1:56 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jul 23, 2011 1:13 am
Posts: 304
Location: Germany
Kiffi wrote:
Derren wrote:
just looking for an easy way to replace my "write VB code to a *.vbs file and run in" code-parts.

worth a look: Module ActiveScript for VB-Script with PB-Runtime Variables from mk-soft

Greetings ... Peter


Definitely, but I ran into some issue (which is why I resorted to writing VBS files). Hadn't had the time to dive into the problems here, yet. But it's on my "watchlist".

But actually, I loathe VBS. Using VBS parts in my code just adds another dimension for errors and debugging is twice the pain.


Top
 Profile  
Reply with quote  
 Post subject: Re: COMatePLUS version 1.2
PostPosted: Wed May 20, 2020 2:51 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jul 25, 2005 3:51 pm
Posts: 3754
Location: Utah, USA
Derren wrote:
Thanks, but I'm missing something.

I'm trying this code snippet here and get this error.

Quote:
---------------------------
PureBasic
---------------------------
The procedure 'COMate_CreateObject()' has been declared but not defined.
---------------------------
OK
---------------------------


You need to include the COMatePlus.pbi

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: COMatePLUS version 1.2
PostPosted: Wed May 20, 2020 3:07 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jul 23, 2011 1:13 am
Posts: 304
Location: Germany
:shock: I missed the link in leonhardt's post...
thought the posted code was all that's necessary. :oops:


Top
 Profile  
Reply with quote  
 Post subject: Re: COMatePLUS version 1.2
PostPosted: Wed May 20, 2020 3:45 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2687
Location: Germany
Using VB scripts with ActiveScript in PB is sometimes easier than using COMatePlus.

But here is the link to backups from RS-Basic

Link: https://www.rsbasic.de/backups/

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: COMatePLUS version 1.2
PostPosted: Wed May 20, 2020 3:51 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2687
Location: Germany
Derren wrote:
Kiffi wrote:
Derren wrote:
just looking for an easy way to replace my "write VB code to a *.vbs file and run in" code-parts.

worth a look: Module ActiveScript for VB-Script with PB-Runtime Variables from mk-soft

Greetings ... Peter


Definitely, but I ran into some issue (which is why I resorted to writing VBS files). Hadn't had the time to dive into the problems here, yet. But it's on my "watchlist".

But actually, I loathe VBS. Using VBS parts in my code just adds another dimension for errors and debugging is twice the pain.

With ActiveScript you already get the script errors displayed.
And with "On Error Resume Next" you can also catch the script errors yourself.

P.S.
There are also a lot of VB-Script examples for all kinds of things, which can be used directly from PB

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 336 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye