It should not have to be this complicated to send a string from VB6 to thinBasic,
do something with it,
then send it back to VB6.
Now you are calling into the msvcrt.dll?
thinBasic is written...
Type: Posts; User: Joe Caverly; Keyword(s):
It should not have to be this complicated to send a string from VB6 to thinBasic,
do something with it,
then send it back to VB6.
Now you are calling into the msvcrt.dll?
thinBasic is written...
Thanks for that.
Option Explicit
Sub Main()
Dim hScript As Long 'handle to thinBasic Script
Dim sScript As String 'thinBasic Script
Dim hRun As Long 'thinBasic_Run
...
I would like to use the StringBuilder module with VB6.
I note that I have to use .ToString to convert StringBuilder contents.
Looking at the mod_thinbasic.bas file, I see no string type;
...
Hi Eros,
I've moved the thinCore.dll you created for me,
into my E:\thinBasic folder,
and have changed all the Declares in my VB6 code
to reflect the new location.
Public Declare Function...
Example VB6 code of how to use VB6 variables from a thinBasic Script.
Attribute VB_Name = "mod_Main"
Option Explicit
Sub Main()
Dim hScript As Long 'handle to thinBasic Script
Dim...
Thanks Eros!
I've tried your sample out,
and it works as documented.
I will do some more testing over the next few days.
Joe
After a restful sleep, I've done some more research.
I'm thinking that I have to use thinBasic_LoadSymbol
I've declared it in VB6 as follows;
Declare Function thinBasic_LoadSymbol Lib...
Thanks Eros,
Your example works as described.
I'm now trying to figure out how to modify a variable from VB6.
For example;
Dim sScript As String
Dim hRun As Long
Dim test As...
Just wondering if creating thinBasic as a COM Server is still on the list.
It would be great to use thinBasic as a COM Server from Visual Basic 6.0, Visual FoxPro 9.0, Harbour 3.4, VBScript, etc....
Just downloaded https://www.thinbasic.com/projects/thinbasic/thinBasic_1.12.0.0.zip
Received the following when un-zipping;
--------------------------
7-Zip
---------------------------...
Well, I have configured thinBasic to use PowerBasic for creating a DLL, instead of FreeBasic.
'---Load Console Module
uses "Console"
#Compiled Language = PowerBasic
sub...
No, that's above what I use RC6 for.
I'm mainly a console person.
I see that you have been involved with WebView2 on the PowerBasic forum;...
I can now easily use all of the RC6 classes in thinBasic.
Here's the thinBasic method of using the RC6 ActiveScript Class,
without having the need to have the RC6.dll registered in Microsoft...
That's the one I use also;
10316
Mine is probably a bit old,
as I am using TypeLib Browser 5.0.1 from 2011
Joe
Oh, wow!
I copied jlcutils.dll and your script (jlcutils.tbasicc) over to my R:\ drive.
Ran e:\thinbasic\thinbasicc.exe jlcutils.tbasicc
Started up process explorer,
and verified that it...
JLCUtils.dll is just a simple COM Server that I made for testing.
You can download it from: https://drive.proton.me/urls/PXEWXB9GRW#yiZ1CvJ1L2bk
Link expires January 27, 2024
Thanks Eros.
...
It would be great if the vbRichClient RC6 could be included/integrated into thinBasic.
Ref: https://www.vbrichclient.com/en/Downloads.htm
Ref:...
I have a number of VBScripts that are using vbRichClient RC6
I am hoping that I can convert the VBScripts using the vbRichClient RC6 to thinBasic.
Here I have converted a .VBS using the...
Hi Petr,
Yepper, changing .tbasicc to .tbasic solved the problem.
Error dialog popped up with all of the relevant information.
Thanks for that.
I am using thinBasic to convert my...
In answer to my own question,
thinBasic command line with debugging flag;
thinBasic.exe @@D@@## AnyScriptFileName.tbasic
Found the answer in the help file;
...
Thanks for that Petr!
I have my own Theme file, jc DOS.theme.xml,
which is a copy of Default DOS.theme.xml,
which had no calltip style name.
So I created my own by adding the following;
...
Hi again Petr,
This is off-topic,
or maybe not,
but in the steps recorder,
it shows the program being executed as;
THINBASICC.EXE @@D@@## R:\TEST.TBASICC
For what purpose is @@D@@## ?
Hi Petr,
If you cannot view the images from the steps recorder in your browser,
I've placed them here separately.
(I have IE Mode set in my Microsoft Edge Browser, which is required to view...
Howdy Petr,
Negative to #RTE_DoNotShowWindow in my script.
I used Windows Steps Recorder to show each step used with the test script you provided.
You can download the steps I went...
I am using thinAir 1.11.7.0 on Windows 10 Pro 22H2 (OS Build 19045.3803)
According to the thinAir.chm help file,
CodeTips is an experimental feature.
Is the CodeTips font size changeable by...