Error message when you try to set the image property of a control in Design view in Visual Studio: "Empty path is not legal" (907753)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

When you try to set the image property of a control in Design view in Microsoft Visual Studio .NET or in Microsoft Visual Studio 2005, you may receive the following error message:
Empty path is not legal

CAUSE

This problem occurs when the Stardock Enhanced Dialog application is installed on your computer.

Note The Enhanced Dialog application extends the basic functionality of the OpenFileDialog control.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

RESOLUTION

To resolve this problem, uninstall the Enhanced Dialog application.

MORE INFORMATION

Steps to reproduce the problem

  1. On a computer that has the Enhanced Dialog application installed, create a new Microsoft Visual Basic Windows application in Visual Studio.
  2. In the Properties pane, click the ellipsis button ( ... ) next to the value for the BackgroundImage property of Form1.
You receive the error message that is mentioned in the "Symptoms" section.

REFERENCES

For more information about the OpenFileDialog control, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:1/25/2006
Keywords:kberrmsg kbBug kbtshoot kbprb KB907753 kbAudDeveloper