CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2022
    Posts
    1

    vb6 activex.exe commandline Application

    To be frank I just cannot get my head around "classes", wrappers" etc...
    I need a very simple activeX component that a vb6 main exe can access. The activeX.exe would be run from the command line
    e.g: "UPSstatus.exe /n" where n is the status number. There would only be one "instance" of the active component. If the CLI was run again with a new value of "n" that would become the value the component will make available to the client exe
    I don't want a form created or even visible.
    All I want is that the activeX component "UPSstatus.exe" will make the status value "n" available to the client program running on the same computer.
    Can anyone out there put me out of my misery?

    Thank you in advance.

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,725

    Re: vb6 activex.exe commandline Application

    May I suggest you post this on this sites sister-site

    https://www.vbforums.com/forumdispla...-6-and-Earlier
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.4.4)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured