.NET Distribution Issues

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt

    #1

    .NET Distribution Issues

    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:

    "Applicatio n 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
  • Norman Yuan

    #2
    Re: .NET Distribution Issues

    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@discussio ns.microsoft.co m> wrote in message
    news:5BF7F12B-477F-4986-AB08-B43FC907D80E@mi crosoft.com...[color=blue]
    > I created some DLL and EXE files in VB.NET to be used on a Windows XP[/color]
    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:[color=blue]
    >
    > "Attempt to execute COM object [object name here] failed. Could not[/color]
    create object."[color=blue]
    >
    > When I tried to run the EXE files, this this was the message:
    >
    > "Applicatio n has generated an exception that could not be handled.[/color]
    Process id=0xd08 (3336), thread id=0x408 (1032)"[color=blue]
    >
    > Are there certain steps to place .NET DLL's and EXE's on another Windows[/color]
    XP machine?[color=blue]
    >
    > Thanks in advance,
    > Matt[/color]


    Comment

    Working...