User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - VB6: two programs using ONE midi-ox »
Welcome, Guest. Please Login or Register.
Oct 21st, 2024, 8:46pm


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   VB6: two programs using ONE midi-ox
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: VB6: two programs using ONE midi-ox  (Read 345 times)
ersteller
New Member
*



MIDI-OX is the best!

   
Email

Posts: 9
VB6: two programs using ONE midi-ox
« on: Apr 21st, 2023, 2:47am »
Quote Quote Modify Modify

Hello and thanks for MIDI-OX: really a useful program!
 
I use often VB6 (the old one, not .net) to drive MIDI-OX.
 
When one instance of MIDI-OX is already running (alone, without programs) and I start a VB6 program with these lines:  
 
Dim WithEvents mox As MIDIOXLib.MoxScript
Set mox = New MIDIOXLib.MoxScript
 
the VB6 program *uses* the already running instance of MIDI-OX.
 
What must I write in the SECOND VB6 program, so that this second program too uses the *same* instance of MIDI-OX? Is it possible?
 
Thanks
Francesco
IP Logged
ersteller
New Member
*



MIDI-OX is the best!

   
Email

Posts: 9
Re: VB6: two programs using ONE midi-ox
« Reply #1 on: Apr 21st, 2023, 3:16am »
Quote Quote Modify Modify

Sorry, I must read the doc...  Roll Eyes
 
"instances are not reused: once a script has been attached to an instance and then closed, another script will not attach to this instance."
 
Hi and thanks for this program!
Francesco
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.