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

    'system.IO.FileNotFoundException' error for one option in vb project

    Hi all,

    I am new to vb.net and vb.net project (developed using visual basic .net and .net 1.1) on which i am working now. For some reason i get 'An unhandled exception of type 'system.IO.FileNotFoundException' occurred in system.windows.forms.dll Additional information: The specified module could not be found' error for one option in this software at the line CType(Me.ImgScan, System.ComponentModel.ISupportInitialize).EndInit( ) in source code.

    The form in which i get this error has an option to scan documents from scanner. I think this error is related to something between this scanner and form is causing this issue, but i don't know how to fix it.

    Can any one please tell me how to fix this issue

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: 'system.IO.FileNotFoundException' error for one option in vb project

    It's quite difficult to pinpoint your problem, because you haven't shown any code

  3. #3
    Join Date
    Jul 2009
    Location
    Kuwait
    Posts
    170

    Re: 'system.IO.FileNotFoundException' error for one option in vb project

    ARe you writing to a file?
    The program expect some file to be present .
    You check for the existance of file and if not present, create

    if (file not present)
    Creat file
    Endif
    If i helped you, Please rate me

    Visit http://www.octopusplus.com

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