User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - help in Visual Studio 2005 (visual basic .net) »
Welcome, Guest. Please Login or Register.
May 9th, 2025, 1:32am


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


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   help in Visual Studio 2005 (visual basic .net)
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: help in Visual Studio 2005 (visual basic .net)  (Read 2093 times)
davelanton
New Member
*



MIDI-OX Rules!

   


Posts: 1
help in Visual Studio 2005 (visual basic .net)
« on: Jul 14th, 2008, 12:34pm »
Quote Quote Modify Modify

I am trying to use the COM interface from within a visual basic app in Visual Studio 2005.
 
I successfully create an instance of MIDI-OX and it calls the trigger procedure mwire.Midi_Input when data is received.
 
The problem is that certain commands within the procedure simply don't run. For example:
 
select case data1
case 1
vumeter1.level = data2
case 2  
vumeter2.level = data2
end select
 
This works fine, and sets my ocx Vumeter value to the value of data2.
 
However, if I try to do something as simple as update the text in a textbox, nothing happens!  It also prevents any commands following it to execute.
 
For example:
 
textbox1.text = data1
textbox2.text = data2
 
I get no result.  And if I put my case statement for the vumeters after the textbox statements, they also do not execute.
 
Has anyone else run into problems like this?  Any help is greatly appreciated!
 
 
IP Logged
Jamie OConnell
Administrator
*****






   
WWW Email

Gender: male
Posts: 2027
Re: help in Visual Studio 2005 (visual basic .net)
« Reply #1 on: Jul 22nd, 2008, 2:37am »
Quote Quote Modify Modify

All I can think of is you may need to convert data1 and data2 to text (they are numbers).
 
IP Logged

--Jamie
Music is its own reward.

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.