By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

How to register a vb.net dll on a seperat machine

P: n/a
OK, no one seems to be able to help me with this, so I guess this is my last
try. I have made a vb.net dll on one machine, I need to use it on another
machine for vb6. I was told to use regasm.exe, but how do I use it on
another machine. First off, when I do use regasm.exe, it opens for one
seconds and then closes - am I using it wrong because it's not working for
me? Then when I try to copy the exe to the vb6 computer, I get an error when
running the regasm.exe.

Can someone please thoroughly explain how to register the vb.net dll onto
another machine for use with vb6?

Thank You!
Bryan
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "Bryan V." <ch***********@hotmail.com> scripsit:
OK, no one seems to be able to help me with this, so I guess this is my last
try. I have made a vb.net dll on one machine, I need to use it on another
machine for vb6. I was told to use regasm.exe, but how do I use it on
another machine. First off, when I do use regasm.exe, it opens for one
seconds and then closes - am I using it wrong because it's not working for
me? Then when I try to copy the exe to the vb6 computer, I get an error when
running the regasm.exe.


Open the console ("Start" -> "Run" -> "cmd"), then go to the directory
containing "REGASM.EXE" (if it's not in the 'PATH' environment
variable), type "REGASM" and press return. A list of available options
will be scrolled to the console. Then you can call it by specifying the
right options.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #2

P: n/a
Thank You! You guys answered my question. But now I have one more. Do I
need to have .net installed on a machine with a vb.net dll for a program? If
I use a .net dll, in a program for distribution, won't the necessary files
come too?

Thanks,
Bryan
"Anand[MVP]" <Anand[MVP]@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.com...
And, you need to have .NET installed on that machine for regasm to be there and also for your dll to run.
Rgds,
Anand
VB.NET MVP
http://www.dotnetindia.com

"Bryan V." wrote:
OK, no one seems to be able to help me with this, so I guess this is my last try. I have made a vb.net dll on one machine, I need to use it on another machine for vb6. I was told to use regasm.exe, but how do I use it on
another machine. First off, when I do use regasm.exe, it opens for one
seconds and then closes - am I using it wrong because it's not working for me? Then when I try to copy the exe to the vb6 computer, I get an error when running the regasm.exe.

Can someone please thoroughly explain how to register the vb.net dll onto another machine for use with vb6?

Thank You!
Bryan

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.