Search:
Type: Posts; User: Joe Caverly
Search:
Search took 0.06 seconds.
-
Thanks for this!
Works as described, and instructions were easy to follow.
Joe
-
Not the best solution, but you could shell from VB6 to Powershell;
$http = new-object System.Net.WebClient;...
-
An external method of monitoring VB6 compiler...
https://www.vbforums.com/showthread.php?888172-How-do-I-compile-without-linking-in-VB6&p=5613541&viewfull=1#post5613541
Joe
-
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 to ErosOlmi, we have the start of a thinBasic script engine for VB6.
He has just posted a working example,
which takes two variables declared in VB6,
Dim sScript As String
Dim hRun...
-
Have you tried using RC6?
Dim SC As Object
Set SC = New_c.ActiveScript("VBScript")
Debug.Print SC.Eval("22/7")
Set SC = Nothing
Ref: https://www.vbrichclient.com/#/en/About/
-
Do a search in this forum for EbExecuteLine.
There are lots of examples (for IDE only)
Joe
-
A search of the forum returned these.
There are many more.
Ref: https://www.vbforums.com/showthread.php?45302-Evaluate-math-expressions-in-string&p=188422&viewfull=1#post188422
Ref:...
-
Not the best solution, but you could make the VB6 IDE /LARGEADDRESSAWARE by using EDITBIN.EXE
You could also make your compiled .EXE LargeAddressAware by adding;
[VBCompiler]...
-
Maybe the VS6 Installer Wizard will work for Windows 11?
VBForum Discussion/Download:...
-
Thanks to Eros Olmi for making it quite simple to use the RC6 vbRichClient with thinBasic.
No need to register the RC6.DLL in order to use it.
An example;
uses "Console"
Dim...
-
One of the features of Nir Sofer's ActiveXHelper is that it can display a list of ActiveX files where the file is missing.
As an example,
I often put the ActiveX file on my R:\ drive,
when I...
-
I've found using the ActiveXHelper from Nir Sofer much easier than using regedit.exe for finding the CLSID or PROGID in the registry.
Ref: https://www.nirsoft.net/utils/axhelper.html
YMMV
Joe
-
Not sure if this is a solution, but make the .EXE LargeAddressAware
[VBCompiler]
LinkSwitches=/LARGEADDRESSAWARE
Add the above to your .VBP file.
An alternate method would be to modify the...
-
Not a solution to your issue, but exported function 100 in msvbvm60.dll is ThunRTMain
Another method could be exported function 2000 in msvbvm60.dll, CreateIExprSrvObj
Much material of value...
-
Here's the homepage for thinBasic, if you are interested;
https://www.thinbasic.com/
thinBasic online help;
https://www.thinbasic.com/public/products/thinBasic/help/html/index.html
Joe
-
Author does not make the source code for thinCore.dll available.
Joe
-
I normally use VBScript as the embedded script language with my VB6 programs.
For an exercise, I would like to try using thinBasic as the embedded script language.
Option Explicit
' Microsoft...
-
"but they allow you to reference (sorry, but that is what it means) various classes.
Hence, you can then 'see' (In code) intellisense for various functions and modules."
Joe
-
Chilkat offers ActiveX Components for use with Visual Basic 6.0
Some of the classes do not require a license,
for example,
CSV, Atom, BinData, CkString, and more.
Some of the classes do...
-
I use Marco Bellinaso's MB Form Ex ActiveX control on many of my projects.
You can find this,
and other freeware ActiveX controls,
for use with VB6 at https://cuinl.tripod.com/activex-7.htm
...
-
While this was written for VB5, it works for VB6.
VB5DLL.TXT
Notes for Developing DLLs for use with
Microsoft (R) Visual Basic (R)
Version 5.00
(C) Copyright Microsoft Corporation, 1996
-
These may be helpful for OP;
Arrays in Far Memory
https://www.vbforums.com/showthread.php?896919-Arrays-in-Far-Memory&p=5573412&viewfull=1#post5573412
MMapper, Memory Mapped File Demo...
-
An alternative solution would be to use RC6 with JScript9.
Ref: https://www.vbforums.com/showthread.php?893919-RESOLVED-RC6-cActiveScript-JScript9-Callback-Events&p=5541443&viewfull=1#post5541443...
-
Did you use the 32-bit regsvr32.exe, or the 64-bit regsvr32.exe?
You need to use the 32-bit regsvr32.exe to register rc6.dll
EDIT: On my 64-bit Windows 10;
C:\...\SysWOW64>file regsvr32.exe...
-
This Stackoverflow link (with source code) shows how to call PING from VBScript, which will also work with VB6.
I also found Ping from VB6 on this (VB6) forum.
Joe
-
I found this;
Classic VB - How do I shell a command line program and capture the output?
in Classic Visual Basic (VB 6 and earlier) FAQs
Joe
-
RADBasic has not been closed.
The last update was 5 days ago at 6:03 PM
RAD Basic August 2023 Status
This info is from https://www.patreon.com/radbasic/
Please provide a link showing that...
-
https://cuinl.tripod.com/activex-7.htm
https://cuinl.tripod.com/downloads/activex/MBSplit.zip
Joe
-
Note well that running cmd.exe via shell from VB6 will always run the 32-bit cmd.exe.
Option Explicit
Private Sub Form_Load()
Dim stCmd As String
Dim objShell As Object
Set objShell...
-
Why not build a translator that takes existing VB6 code and translates it to C/C++, or C#?
Maybe something along the lines of Keven Diggins BCX Translator or BASM?
Joe
Ref: Let's Build a...
-
Never reset the computers date and time, as this can conflict with the operation of installed programs.
Instead, if it is one particular program that you want to run on a particular date and time,...
-
Take a look at Convert VB Type, API and Enum -> VC++ ODL (With Colorization)
Maybe a possible helper solution for you.
Joe
-
Just for an exercise, I created a .BTM to do what you want.
You will need the free TCC-RT, or the commercial TCC, to run this .BTM
@setlocal
@echo off
if exist e:\utils\c2.txt del /q...
-
Not an answer to your question, just additional info.
The Tablacus Script Control is a drop-in replacement for the MS Script Control.
The Tablacus Script Control is for 64-bit platforms.
The...
-
From my VB6 Enterprise CDs;
2003-04-10 14:34 109,969 dispex.dll
2003-04-10 14:34 1,209,970 jscript.dll
2003-04-10 14:34 2,154 msscript.cnt
2003-04-10 14:34 ...
-
I use the .NET Framework with VB6 and VBScript.
However, some things do not work the same in VB6.
This script, taken from "Hey, Scripting Guy", works in VBScript;
Set DataList = CreateObject...
-
You can use a 32-bit COM DLL from a 64-bit application via a DLLSurrogate.
...
-
Are you able to fork Chakra Core, and build on Win7?
Ref: https://github.com/chakra-core/ChakraCore
Joe
-
Take a look at MBFormEx at https://www.vb-zentrum.de/en/activex-und-dlls.html
Also https://cuinl.tripod.com/activex-7.htm
Description: Add this control to a VB form and enjoy a number of great...
|
Click Here to Expand Forum to Full Width
|