vb.net Setup Issue New to VB

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

    vb.net Setup Issue New to VB

    Hello I have a vb.net windows application that I need to make
    re-Distributable, I can run it on my development machine fine, I can also
    run it on my old development machine fine, When I try to run it on any other
    machine I get an error .... An exception
    'System.Runtime .InteropService s.COMException' has occurred. (Debug [Yes /
    No])

    When I answer yes to debug I get:
    An Unhandled exception of type
    'System.Runtime .InteropService s.COMException' occurred in
    system,.windows .forms.dll Class not found


    When I use setup a message pops up that says....
    The following files may have dependencies that cannot be
    determined automatically, Please confirm that all dependencies have been
    added to the project.
    C:\Windows\Syst em32\imagxpr7.d ll
    C:\Windows\Syst em32\printpro3. dll

    These are in the dependencies list, When I check on the Dependencies of
    these 2 dll's the following is listed
    Microsoft.Visua lC.dll Ver. 7.0.3300.0
    mscorlib.dll Ver. 1.0.3300.0
    System.dll "
    System.Drawing. dll "
    System.Windows. Forms.dll "

    However I add these but the versions seem to be newer Insead of
    #.#.3300.# I have #.#.50000.#.


    Please help, None of this makes sense to me......



  • Chris Dunaway

    #2
    Re: vb.net Setup Issue New to VB

    On Fri, 23 Jul 2004 09:21:21 -0500, Keith Kowalski wrote:
    [color=blue]
    > When I answer yes to debug I get:
    > An Unhandled exception of type
    > 'System.Runtime .InteropService s.COMException' occurred in
    > system,.windows .forms.dll Class not found
    >
    > Please help, None of this makes sense to me......[/color]

    Just a quick "off the top of my head" thought:

    Since you're using COM, have you registered any COM components on the
    target machine? Since the error is "Class not found", it sounds like a
    ..dll needs to be registered.

    --
    Chris

    dunawayc[AT]sbcglobal_lunch meat_[DOT]net

    To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
    replace certain words in my E-Mail address.

    Comment

    • Keith Kowalski

      #3
      Re: vb.net Setup Issue New to VB

      You were right, I needed to add 3 dlls ,
      Thank yuo for the reply.

      Keith K. kowalski


      "Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcg lobal[dot]]net"> wrote in
      message news:1qkgklwe19 vxv.1gg3q2io244 8x$.dlg@40tude. net...[color=blue]
      > On Fri, 23 Jul 2004 09:21:21 -0500, Keith Kowalski wrote:
      >[color=green]
      > > When I answer yes to debug I get:
      > > An Unhandled exception of type
      > > 'System.Runtime .InteropService s.COMException' occurred in
      > > system,.windows .forms.dll Class not found
      > >
      > > Please help, None of this makes sense to me......[/color]
      >
      > Just a quick "off the top of my head" thought:
      >
      > Since you're using COM, have you registered any COM components on the
      > target machine? Since the error is "Class not found", it sounds like a
      > .dll needs to be registered.
      >
      > --
      > Chris
      >
      > dunawayc[AT]sbcglobal_lunch meat_[DOT]net
      >
      > To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
      > replace certain words in my E-Mail address.[/color]


      Comment

      Working...