Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1078753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:46:10+00:00 2026-05-16T21:46:10+00:00

I developed a winforms application in C# 4.0 that uses a .dll to communicate

  • 0

I developed a winforms application in C# 4.0 that uses a .dll to communicate with a USB device. From Visual Studio 2010 this application works without problem. The referenced .dll is copied to the bin folder.

When I tried to run the application directly on the target machine it didn’t do anything. I’ve added an unhandled exception handler to the application that logs the messages. When run locally on the target machine it doesn’t log anything.

When I put the application on a network folder and run it (over the network) from my development p.c. it still works fine, but from my target p.c. it now logs “Could not load file or assembly ‘sub20dnc.dll’ or one of its dependencies. The specified module could not be found.”

But as I said, the .dll is copied to the bin folder: sub20dnc.dll is in the same directory as the executable. sub20dnc.dll is part of an installation already done on the p.c. so it’s dependencies should have been met. I’m trying to solve this error fist before tackling why nothing at all happens on the target machine locally.

Any ideas of how to solve this?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:46:10+00:00Added an answer on May 16, 2026 at 9:46 pm

    Sounds like they’re missing a dependency on their machine rather than your .dll not being there. That is, a dependency of the .dll in question that “can’t be found.” That’s the error I always see when something else isn’t of a more later vintage.

    Try running Depends.exe on their machine, checking against the .dlls your machine has. Also, may I suggest plugging the software into a test machine that has the most basic target machine configuration that you’re attempting to work. That is, not on the latest and greatest updates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developed a small winforms application for myself in Microsoft Visual Studio 2008 Professional
I am using VS2008 to develop a WinForms 2.0 application. I have read about
I developed a greasemonkey script that refreshes a page and checks for certain updates.
My company has developed a long standing product using MFC in Visual C++ as
I am a Winforms and business engine developer who is using asp.net for the
We developed a website for a client and he has purchased the .com, .net,
I developed in ASP.NET 2.0 for some time, and for slightly less time in
I have developed some classes with similar behavior, they all implement the same interface.
Our team develops distributed winform apps. We use ClickOnce for deployment and are very
If we develop a winform app using an MVC architecture, it should not be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.