MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Scripting Questions >> using scripting with VB 2008 express
(Message started by: mcbeth1307 on Jul 19th, 2010, 2:00pm)

Title: using scripting with VB 2008 express
Post by mcbeth1307 on Jul 19th, 2010, 2:00pm
How i have to declare the midiox-Lib for using it with vb 2008 express

Thanks

Title: Re: using scripting with VB 2008 express
Post by SimonO on Dec 29th, 2010, 1:51pm
This is such an old post with no replies that you've probably either worked this out for yourself or given up using VB 2008 to code MIDI-OX scripts.  Nonetheless, in case anyone is interested in future:

On the Project menu, click References.
On the Add Reference dialogue box, click the COM tab.
On the COM page of the Add Reference dialogue box, select "MIDIOX 1.0 Type Library" and click OK.

Anyone using Visual Basic 2008 or any other .NET programming language to code MIDI-OX scripts will probably find it useful to know how to handle MoxScript's events.  For this technique, see http://www.midiox.com/cgi-bin/yabb/YaBB.pl?board=MOXScript;action=display;num=1293602255;start=0.  The code shown in that thread is for C#, not VB.  But the way .NET Framework interfaces are used to handle the events raised by MoxScript would be much the same in any .NET programming language.



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