Could not find file C:Program FilesMicrosoft Visual Studio 9.0Common7IDEindex.jpg.

Last Reply one year ago By Shashikant

Posted one year ago

when i download the webpage with images, it is showing the following error,

 Could not find file 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\index.jpg'. in vb.net

 

How to resolve it?

You are viewing reply posted by: Shashikant one year ago.
Posted one year ago

Hi,

You can Simply Check if file exists using below code.

C#

if (File.Exists("FilePath"))
{

}
else
{
}

 

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html?aff_id=108