vb .net相关问题 [英] vb .net related question

查看:86
本文介绍了vb .net相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我定义了system.object,system.management,但是在我编写
时代码中仍然出现错误
昏暗的mc作为管理类

错误即将来临是管理类未定义

请尽早告诉我该解决方案.

i defined system.object, system.management but still error coming in the code when i write

Dim mc as management class

the error coming is management class is not defined

please tell me the solution as early as possible

推荐答案

添加对System.Management.dll的引用,然后确保在以下文件的顶部导入了System.Management命名空间.您的代码文件.
Add a reference to System.Management.dll, then make sure you imported the System.Management namespace at the top of your code file.


导入适当的名称空间. 这个简单的示例 [
Import the appropriate namespace. This simple example[^] might help you get started.


这篇关于vb .net相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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