当前位置:编程学习 > C#/ASP.NET >>

Vista下VB生成DLL,不能注册..

我用的Vista系统,在VB6.0中作了一个DLL,在生成DLL时,提示“访问注册表失败”,在C#中想引用结果,找不到。
请问:怎么才能使用这个DLL呢???急.... --------------------编程问答--------------------  * Did you successfuly build code to .dll file?
   If so, add reference for this dll. --------------------编程问答--------------------
引用 1 楼 Luoning9527 的回复:
* Did you successfuly build code to .dll file? 
  If so, add reference for this dll.


1.I amnot sure.
2.I donot know how to " add reference ".can you tell me?
3.can you speak chinese? --------------------编程问答-------------------- I'm sorry that I could not type chinese on my working machine(my computer).

VB.NET.

First, you need to create a vb class library.
1. Create a VB Class Library.
2. Click "Build" menu.
3. Build your solution.

VCS.NET

Second, you need to create a C# app.
1. Create a C# app.
2. On "Solution Explore", right click it.
3. Select "Add Reference..."
4. Click "Browser" tab.
5. Add your vb dll file. 
  (The vb dll is under C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\ClassLibrary2\ClassLibrary2\bin\Release\ClassLibrary2.dll) --------------------编程问答-------------------- 非常抱歉,公司电脑不能打中文。
我的意思是添加引用,将dll添加进去就可以了。
补充:.NET技术 ,  VB.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,