CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Jun 2005
    Posts
    12

    Question How to display a message box, if any dll is missing in bin directory

    IDE : VS 2005 VISUALBASIC.NET, Platform : .NET 2.0,


    Hi,

    In my project, i have many dll file in the bin directory. If any dll is deleted or missing. which is required by the project. Then it shows the below two message boxes.

    1. Exception has been thrown by the target of an invocation.
    2. Object variable or With block variable not set.

    I need to give a custom MessageBox by specifying the name of the dll missing like "ActiveImage.Dll is missing, Please contact support" instead of the above two MessageBoxes. How to solve this. Thanks for any support.

    Thanks and Regards,
    V.Chock.
    Last edited by itchock; July 31st, 2008 at 02:07 AM. Reason: Change the Icon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured