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

  • Thread starter Thread starter Bryan V.
  • Start date Start date
B

Bryan V.

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
 
* "Bryan V. said:
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.
 
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 said:
And, you need to have .NET installed on that machine for regasm to be
there and also for your dll to run.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top