picturebox - empty path name is not legal

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have recently uninstalled VB5 and installed vb.net 2002. In working on an
application, I attempted to add a picturebox and add an image... I
immediately received an "empty path name is not legal" error. I attempted
uninstalling it and reinstalling to no avail... I have also upgraded to
Visual Studio.net 2003 and am receiving the same error message.

Additionally, I tested adding an image at design time to an ASP.NET Web
Application project, and it worked fine there, it just does not work in a
Windows Application project.

This is a big problem as I am trying to put the finishing touches on an
application... Has anyone found a solution to the issue yet?

I have also taken the time to uninstall and reinstall VS.NET 2003, also to
no avail... Can anyone help, please.
 
Chas,

Are you sure you have the Net 1.0 framework installed?

Cor
 
Chas Stapleton said:
I have recently uninstalled VB5 and installed vb.net 2002. In working on
an
application, I attempted to add a picturebox and add an image... I
immediately received an "empty path name is not legal" error. I attempted
uninstalling it and reinstalling to no avail... I have also upgraded to
Visual Studio.net 2003 and am receiving the same error message.

Additionally, I tested adding an image at design time to an ASP.NET Web
Application project, and it worked fine there, it just does not work in a
Windows Application project.

This is a big problem as I am trying to put the finishing touches on an
application... Has anyone found a solution to the issue yet?

I habe heard about this problem, but I don't know a solution too. Does a
SaveFileDialog return a file name or does it return an empty string too?
 
I just uninstalled and reinstalled the .net framework from the .net 2003 disk
set... Still same issue.
 
Chas,

You told it worked with aspnet do you know that with aspnet a image is an
"url" while it is with windowsform an image that is used with the
image/picturebox?.

Maybe you can show some code.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top