Re: .NET Distribution Issues

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Norman Yuan (normanxy_at_telus.net)
Date: 07/24/04


Date: Sat, 24 Jul 2004 04:03:50 GMT

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" <Matt@discussions.microsoft.com> wrote in message
news:5BF7F12B-477F-4986-AB08-B43FC907D80E@microsoft.com...
> 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



Relevant Pages

  • Re: Regarding, Using Com DLL in WindowsCE Device Applications
    ... Chris Tacke, Embedded MVP ... resigstered the Com dll in the windows mobile emulator. ... there another way to register com DLL to use in windowsCE device ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Editors
    ... some strip them on exe files by default. ... "preferred base address" and, yup, relocations are completely ... DLL files, though, aren't loaded into their own address space but are ... EXE's "entry-point", though, is not "special" in that it's just an ...
    (alt.lang.asm)
  • ANN: Our solution to create stand-alone windows software
    ... Dll, Ocx, and any other file to a single exe. ... Stand-Alone Xpress can turn any Windows ...
    (comp.programming)
  • Re: ASP.Net newbie
    ... This was precisely the direction I needed to get off the ground Chris. ... The dll was NOT registered. ... > You will need to register the aspnet_isapi dll in IIS before you can ... >>some more use out of the tools besides just developing Windows Forms ...
    (microsoft.public.dotnet.framework.aspnet)
  • Cannot open user file but can in safe mode
    ... I am running windows xp home edition sp2 along with IE 7 and have downloaded ... dll would not register and that dll was mshtml.dll. ...
    (microsoft.public.windowsxp.help_and_support)