VB2010-如何使用MCI控件读取Midi资源文件? [英] VB2010 - how read a midi resource file using the MCI control?

查看:130
本文介绍了VB2010-如何使用MCI控件读取Midi资源文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用MCI控件读取midi资源文件?

how read a midi resource file using the MCI control?

我必须使用LoadResData()函数.我找到了它:https://msdn.microsoft.com/en-us/library/ms652934(v = vs.110).aspx

i must use the LoadResData() function. i found it: https://msdn.microsoft.com/en-us/library/ms652934(v=vs.110).aspx

<ObsoleteAttribute("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>
Public Shared Function LoadResData (
	ID As Object,
	restype As Object
) As Object

我将该函数添加到表单类中,但未完成,因为不返回值:(

i add that function to my form class, but isn't completed, because don't return a value :(

有人可以帮助我吗?

推荐答案

此论坛适用于

This forum is for Visual Basic .Net.

如果出于某种原因要使用VB6或以下版本,则应该找到一个VB6或以下版本的论坛来提问. MCI控件不是VB.Net.

If you want to use VB6 or less for some reason then you should find a VB6 or less forum to ask questions in. The MCI control is not VB.Net.

VB2010不是VB6或更低版本.

VB2010 is not VB6 or less.

要在VB.Net中编写程序,尤其是高级级别的程序,则需要了解VB.Net的程序级别.

To write programs, especially of an advanced level, in VB.Net then an understanding of VB.Net is required to the level the program is being written to.

大多数人不能上基础数学,不能期望将代数方程写到任何高级水平,或者通常使用三角学或量子力学.除非他们是天才智商或可能在需要的区域自闭 做到这一点.

Most people can not take basic math and have an expectation to be writing Algebraic equations to any advanced level or use Trigonometry or Quantum Mechanics typically. Unless perhaps they are genius level I.Q. or perhaps autisitic in an area necessary to accomplish that.


这篇关于VB2010-如何使用MCI控件读取Midi资源文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆