Article ID: 291103 - View products that this article applies to.
This article was previously published under Q291103
This article has been archived. It is offered "as is" and will no longer be updated.
You can use the InsertObjDlg method of the OLE container control to create an object from a file. However, if the file name contains any extended ASCII characters (that is, characters with the values 0 through 31 and 127 through 255), InsertObjDlg fails, and you receive the following error message:
This error occurs even though the file closes in the operation system.
Unable to access source document
Before OLE container control checks whether the file name that you provided is valid, it converts all of the characters in the file name from the American National Standards Institute (ANSI) character set to the OEM character set. With extended ASCII characters in the file name, the converted file name is no longer the same as the original file name. Because the converted file name is not available in the system, OLE container control reports an error.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
Note You must have a Visual Studio license agreement to obtain this hotfix.
To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix should have the following file attributes or later:
Date Time Version Size File name ----------------------------------------------------- 17-Apr-2001 12:05PM 220.127.116.11 1.42MB Msvbvm60.dll 17-Apr-2001 12:05PM 18.104.22.16865 1.64MB VBA6.dll 17-Apr-2001 12:05PM 22.214.171.124 1.86MB VB6.exe
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
Article ID: 291103 - Last Review: February 27, 2014 - Revision: 3.2