PRB: LoadPicture() Causes "File Access is Denied" Error
Article ID: 172690
Article Last Modified on 12/11/1999
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
This article was previously published under Q172690
SYMPTOMS
In Visual FoxPro 5.x, using the LoadPicture function to create an object
reference for a read-only bitmap or icon generates the following error
message:
File Access is Denied.
RESOLUTION
Remove the read-only attribute from the bitmap or icon file.
-OR-
Assign the read-only bitmap or icon to the control at design time.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Additional query words: foxwin loadpicture activex tabbed dialog control readonly
Keywords: kberrmsg kbprb KB172690