p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   General .NET (http://p2p.wrox.com/forumdisplay.php?f=122)
-   -   Unable to find dependency (VB.net setup) (http://p2p.wrox.com/showthread.php?t=33248)

AlexSu September 9th, 2005 06:05 AM

Unable to find dependency (VB.net setup)
 
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.RICHTEXTLIB' (Signature='(null)' Version='1.2.0.0') of assembly 'CCPS2.exe'

WARNING: Unable to find dependency 'AXINTEROP.MSMASK' (Signature='(null)' Version='1.1.0.0') of assembly 'CCPS2.exe'

WARNING: Unable to find dependency 'INTEROP.MSCOMMLIB' (Signature='(null)' Version='1.1.0.0') of assembly 'CCPS2.exe'

WARNING: Unable to find dependency 'AXINTEROP.MSCOMMLIB' (Signature='(null)' Version='1.1.0.0') of assembly 'CCPS2.exe'

WARNING: Unable to find dependency 'INTEROP.MSMASK' (Signature='(null)' Version='1.1.0.0') of assembly 'CCPS2.exe'

WARNING: Unable to find dependency 'AXINTEROP.RICHTEXTLIB' (Signature='(null)' 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 applicatin 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\System32\ but how can I tell VB.net setup application where to locate the dependencies?

Any help is very much appreciated.


--
AlexSu


All times are GMT -4. The time now is 03:58 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.