Search:

Type: Posts; User: Joe Caverly

Page 1 of 4 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: Standard DLL Creation (and Usage) with VB6 (à la, The Trick)

    Thanks for this!

    Works as described, and instructions were easy to follow.

    Joe
  2. Replies
    9
    Views
    468

    Re: get date created of file on web

    Not the best solution, but you could shell from VB6 to Powershell;

    $http = new-object System.Net.WebClient;...
  3. Replies
    15
    Views
    892

    Re: Getting C2 to generate a listing file

    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
  4. Replies
    11
    Views
    1,396

    Re: thinBasic as embedded script language

    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...
  5. Replies
    11
    Views
    1,396

    Re: thinBasic as embedded script language

    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...
  6. Re: Fast String Math Function - VB6

    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/
  7. Re: Fast String Math Function - VB6

    Do a search in this forum for EbExecuteLine.

    There are lots of examples (for IDE only)

    Joe
  8. Re: Fast String Math Function - VB6

    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:...
  9. Replies
    10
    Views
    724

    Re: Out of memory somewhat reproducable

    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]...
  10. Re: SP6 won't install on Windows 11

    Maybe the VS6 Installer Wizard will work for Windows 11?

    VBForum Discussion/Download:...
  11. Replies
    0
    Views
    546

    thinBasic and RC6 (vbRichClient)

    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...
  12. Re: Registry Cleaning Of VB6 IDE References For My ActiveX.EXEs and .DLLs.

    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...
  13. Re: The power of 2 API's is the key to all shell interfaces!!

    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
  14. Replies
    15
    Views
    1,210

    Re: Out of Memory error

    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...
  15. Replies
    2
    Views
    527

    Re: msvbvm60.dll

    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...
  16. Replies
    11
    Views
    1,396

    Re: thinBasic as embedded script language

    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
  17. Replies
    11
    Views
    1,396

    Re: thinBasic as embedded script language

    Author does not make the source code for thinCore.dll available.

    Joe
  18. Replies
    11
    Views
    1,396

    thinBasic as embedded script language

    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...
  19. Re: Microsoft Activex Data Objects 6.1 Library

    "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
  20. Re: Are there new tools that I can use to design my program instead of Visual Basic t

    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...
  21. Re: Are there new tools that I can use to design my program instead of Visual Basic t

    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
    ...
  22. Replies
    49
    Views
    4,703

    Re: C++ Created DLL File To Use In VB6

    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
  23. Replies
    11
    Views
    1,255

    Re: Virtual file get/put

    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...
  24. Replies
    7
    Views
    932

    Re: how to change scriptcontrol use js9?

    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...
  25. Replies
    11
    Views
    1,130

    Re: can't regsvr32 rc6.dll on win11

    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...
  26. Re: VB6 How to execute the DOS console program and get the result?

    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
  27. Re: VB6 How to execute the DOS console program and get the result?

    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
  28. Thread: aaaa

    by Joe Caverly
    Replies
    5
    Views
    1,344

    Re: How to get donations and venture capital to develop VB7 IDE

    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...
  29. Thread: Splitter

    by Joe Caverly
    Replies
    8
    Views
    1,294

    Re: Splitter

    https://cuinl.tripod.com/activex-7.htm
    https://cuinl.tripod.com/downloads/activex/MBSplit.zip

    Joe
  30. Re: Cant run VBS script over Application

    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...
  31. Replies
    64
    Views
    7,038

    Re: Write a VB6-Compiler in VB6

    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...
  32. Re: Is there a code to set the computer's date and current time ?

    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,...
  33. Replies
    34
    Views
    5,023

    Re: Win32Api TLB for VB6

    Take a look at Convert VB Type, API and Enum -> VC++ ODL (With Colorization)



    Maybe a possible helper solution for you.

    Joe
  34. Replies
    11
    Views
    2,235

    Re: How do I compile without linking in VB6?

    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...
  35. Re: Where can I get the documentation for msscript.ocx?

    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...
  36. Re: Where can I get the documentation for msscript.ocx?

    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 ...
  37. Re: How do I correctly use .NET objects in VB6? Is a TLB available for it?

    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...
  38. Replies
    4
    Views
    1,079

    Re: loading 32 bit dll to x64 process

    You can use a 32-bit COM DLL from a 64-bit application via a DLLSurrogate.
    ...
  39. Replies
    1
    Views
    397

    Re: win7 use ie8?does it support chakra?

    Are you able to fork Chakra Core, and build on Win7?

    Ref: https://github.com/chakra-core/ChakraCore

    Joe
  40. Replies
    2
    Views
    582

    Re: Resize form and all content

    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...
Results 1 to 40 of 133
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width