.NET Distribution Issues

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created some DLL and EXE files in VB.NET to be used on a Windows XP computer. They worked successfully on my laptop where they were written, so I prepared another machine to use them. I installed dotnetfx.exe on the other machine and registered the DLL's. When I tried to run the DLL's, however, I got this message:

"Attempt to execute COM object [object name here] failed. Could not create object."

When I tried to run the EXE files, this this was the message:

"Application has generated an exception that could not be handled. Process id=0xd08 (3336), thread id=0x408 (1032)"

Are there certain steps to place .NET DLL's and EXE's on another Windows XP machine?

Thanks in advance,
Matt
 
What do you mean "registered"? Why do you need register DLL, now that you
develop .NET DLL and EXE? Do you make a .NET class library (DLL) and then
export it as a COM DLL, and then use it in your .NET EXE as COM component
(so complicated assumption, I know)?

If you develop your dll abd exe in .NET, using VB.NET, simple copy the DLL
and EXE to a .NET framework installed machine, in the same folder, off you
go. Nothing to "register".

Matt said:
I created some DLL and EXE files in VB.NET to be used on a Windows XP
computer. They worked successfully on my laptop where they were written, so
I prepared another machine to use them. I installed dotnetfx.exe on the
other machine and registered the DLL's. When I tried to run the DLL's,
however, I got this message:
"Attempt to execute COM object [object name here] failed. Could not create object."

When I tried to run the EXE files, this this was the message:

"Application has generated an exception that could not be handled.
Process id=0xd08 (3336), thread id=0x408 (1032)"
 
Back
Top