Help- how to reference MSCOMM32.ocx in setup and deployment

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

    #1

    Help- how to reference MSCOMM32.ocx in setup and deployment


    Hello all,

    I'm new to VB.net and have just built a small application that makes
    use of some VB6 ocx such as mscomm32.ocx for data communication with a
    machine. The application runs OK but when I tried to build the
    installer using the Setup and Deployment Projects, I always get the
    following warning messages saying that the dependencies cannot be
    found as follows:

    WARNING: Unable to find dependency 'INTEROP.RICHTE XTLIB'
    (Signature='(nu ll)' Version='1.2.0. 0') of assembly 'CCPS2.exe'

    WARNING: Unable to find dependency 'AXINTEROP.MSMA SK'
    (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'

    WARNING: Unable to find dependency 'INTEROP.MSCOMM LIB'
    (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'

    WARNING: Unable to find dependency 'AXINTEROP.MSCO MMLIB'
    (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'

    WARNING: Unable to find dependency 'INTEROP.MSMASK '
    (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'

    WARNING: Unable to find dependency 'AXINTEROP.RICH TEXTLIB'
    (Signature='(nu ll)' Version='1.2.0. 0') of assembly 'CCPS2.exe'

    I go ahead and build the installer and it seems to work OK. It can
    install my application on another PC, and the application can be
    launched with no problems. However, when trying to communicate to the
    machine, I'll always get an error message saying a component is
    missing from the application, which I think is referring to
    mscomm32.ocx. I know mscomm32.ocx is located in c:\Windows\Syst em32\
    but how can I tell VB.net setup application where to locate the
    dependencies?

    Any help is very much appreciated.

    --
    Alex Su
  • hamil

    #2
    RE: Help- how to reference MSCOMM32.ocx in setup and deployment

    I have used the MSComm.ocx in a project I deployed. By deployed, I mean I
    did not use the wizard but merely copied the exe to the destination computer.
    However, I did have to copy the MSComm32.ocx to the system directory of the
    destination computer and then install the MSComm32 license on the destination
    computer and then register the control.

    "Alex Su" wrote:
    [color=blue]
    >
    > Hello all,
    >
    > I'm new to VB.net and have just built a small application that makes
    > use of some VB6 ocx such as mscomm32.ocx for data communication with a
    > machine. The application runs OK but when I tried to build the
    > installer using the Setup and Deployment Projects, I always get the
    > following warning messages saying that the dependencies cannot be
    > found as follows:
    >
    > WARNING: Unable to find dependency 'INTEROP.RICHTE XTLIB'
    > (Signature='(nu ll)' Version='1.2.0. 0') of assembly 'CCPS2.exe'
    >
    > WARNING: Unable to find dependency 'AXINTEROP.MSMA SK'
    > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
    >
    > WARNING: Unable to find dependency 'INTEROP.MSCOMM LIB'
    > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
    >
    > WARNING: Unable to find dependency 'AXINTEROP.MSCO MMLIB'
    > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
    >
    > WARNING: Unable to find dependency 'INTEROP.MSMASK '
    > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
    >
    > WARNING: Unable to find dependency 'AXINTEROP.RICH TEXTLIB'
    > (Signature='(nu ll)' Version='1.2.0. 0') of assembly 'CCPS2.exe'
    >
    > I go ahead and build the installer and it seems to work OK. It can
    > install my application on another PC, and the application can be
    > launched with no problems. However, when trying to communicate to the
    > machine, I'll always get an error message saying a component is
    > missing from the application, which I think is referring to
    > mscomm32.ocx. I know mscomm32.ocx is located in c:\Windows\Syst em32\
    > but how can I tell VB.net setup application where to locate the
    > dependencies?
    >
    > Any help is very much appreciated.
    >
    > --
    > Alex Su
    >[/color]

    Comment

    • hamil

      #3
      RE: Help- how to reference MSCOMM32.ocx in setup and deployment

      I have used the MSComm.ocx in a project I deployed. By deployed, I mean I
      did not use the wizard but merely copied the exe to the destination computer.
      However, I did have to copy the MSComm32.ocx to the system directory of the
      destination computer and then install the MSComm32 license on the destination
      computer and then register the control.

      "Alex Su" wrote:
      [color=blue]
      >
      > Hello all,
      >
      > I'm new to VB.net and have just built a small application that makes
      > use of some VB6 ocx such as mscomm32.ocx for data communication with a
      > machine. The application runs OK but when I tried to build the
      > installer using the Setup and Deployment Projects, I always get the
      > following warning messages saying that the dependencies cannot be
      > found as follows:
      >
      > WARNING: Unable to find dependency 'INTEROP.RICHTE XTLIB'
      > (Signature='(nu ll)' Version='1.2.0. 0') of assembly 'CCPS2.exe'
      >
      > WARNING: Unable to find dependency 'AXINTEROP.MSMA SK'
      > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
      >
      > WARNING: Unable to find dependency 'INTEROP.MSCOMM LIB'
      > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
      >
      > WARNING: Unable to find dependency 'AXINTEROP.MSCO MMLIB'
      > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
      >
      > WARNING: Unable to find dependency 'INTEROP.MSMASK '
      > (Signature='(nu ll)' Version='1.1.0. 0') of assembly 'CCPS2.exe'
      >
      > WARNING: Unable to find dependency 'AXINTEROP.RICH TEXTLIB'
      > (Signature='(nu ll)' Version='1.2.0. 0') of assembly 'CCPS2.exe'
      >
      > I go ahead and build the installer and it seems to work OK. It can
      > install my application on another PC, and the application can be
      > launched with no problems. However, when trying to communicate to the
      > machine, I'll always get an error message saying a component is
      > missing from the application, which I think is referring to
      > mscomm32.ocx. I know mscomm32.ocx is located in c:\Windows\Syst em32\
      > but how can I tell VB.net setup application where to locate the
      > dependencies?
      >
      > Any help is very much appreciated.
      >
      > --
      > Alex Su
      >[/color]

      Comment

      Working...