Run-time Error: '75'-VBForums
Results 1 to 3 of 3

Thread: Run-time Error: '75'

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    5

    Smile Run-time Error: '75'

    Hi All,

    I have developed an application using VB 6.0 which involves MS Office Automation. I have written the code to select an Excel file from common dialog box. The Application has been distributed in the form of Executable files.

    It is working absolutely fine in most of the systems, but in some systems during the file selection it throws the below error:

    Run-time Error: '75' - The specified path/file name cannot be accessed or is invalid. I cannot figure out the reason why it is throwing such error?

    I request you guys to help me in this.

    I am looking forward to your reply with interest!

    Regards
    Abdul

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,334

    Re: Run-time Error: '75'

    I think you are looking for a general answer to a specific question.

    You said that your code is working fine except in some systems.

    That means that you don't need to look at your code. That is working fine.

    You need to look at the systems where your code isn't working.

    You need to get SPECIFIC information for folks for whom this is not working.

    What are they trying to access?
    Do they have the proper permissions to access it?
    Is what they are trying to access valid at the time they are trying to access it?

    I can't answer those questions, and neither can anyone else, including you.

    The only person that can answer those questions is the person that is having the problem.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  3. #3
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,920

    Re: Run-time Error: '75'

    This error occures when the Program does not have rights or access to a file. Often this is caused when a program is trying to access a network file it doesn't have proper access to either because of network privileges or something is blocking the program. This issue can also be caused when the file is being used by another program or is read-only.
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.