User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - sysexes not recieved ??? »
Welcome, Guest. Please Login or Register.
May 31st, 2025, 12:00am


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


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   sysexes not recieved ???
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: sysexes not recieved ???  (Read 1551 times)
Joshman
New Member
*



MIDI-OX Rules!

   


Posts: 2
sysexes not recieved ???
« on: Jan 9th, 2007, 1:33am »
Quote Quote Modify Modify

Hi!
 
My first thread.
 
I try to get SYSex in my in Visual Basic .NET (2005).
 
I can start an instance, and it shows sending sysex and recieving, but in my Application the Sub does not recieve the string.
 
Code:
   Sub mWire_SysExInput(ByVal bstrSysEx As String)
 
   Me.TextBox1.Text = bstrSysEx  
 
    End Sub

 
can someone help me please Huh?
 
Sorry for my bad english....
 
c.u.
 
MIDIox My favorite Tool.
IP Logged
JerryJorgenrud
New Member
*



MIDI-OX Rules!

   


Posts: 0
Re: sysexes not recieved ???
« Reply #1 on: Jan 9th, 2007, 9:20am »
Quote Quote Modify Modify

The last time I did something with VB was in 1999 so this may not be too helpful, but I recall you had to declare "mWire" as "WithEvents" in order to receive input. Could that be the problem? Maybe there is someone who knows VB with a better answer if that doesn't help.
IP Logged
Joshman
New Member
*



MIDI-OX Rules!

   


Posts: 2
Re: sysexes not recieved ???
« Reply #2 on: Jan 10th, 2007, 1:23am »
Quote Quote Modify Modify

thx for reply  Grin
 
I try to give more informations...
 
declaration
Code:
Public WithEvents mWire As New MIDIOXLib.MoxScript

 
it opens a instance of midiox....
 
sending sysex....
Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
mWire.FireMidiInput = 1
mWire.SendSysExString("F0 43 20 7E 4C 4D 20 20 38 42 39 38 53 20 F7")
End Sub

 
in midiox the message is sent and sysex is recieved, checked with the monitors
 
but in this sub nothing gets in Huh
Code:
Sub mWire_SysExInput(ByVal bStrSysEx As String)
 
   Me.TextBox1.Text = bStrSysEx
    End Sub

 
what´s wrong this worked fine in visual basic 6...
 
c.u. Joshi from Hamburg Germany
 
What i do is to write a Dumps Manager for Yamaha AW4416 DAW...
IP Logged
JerryJorgenrud
New Member
*



MIDI-OX Rules!

   


Posts: 0
Re: sysexes not recieved ???
« Reply #3 on: Jan 10th, 2007, 8:04pm »
Quote Quote Modify Modify

Yes that looks OK as far as I can see. Can you build and run the VB6 sample from the MIDI-OX home page? If that doesn't work this will take some research.
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.