By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,728 Members | 2,414 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,728 IT Pros & Developers. It's quick & easy.

picturebox - empty path name is not legal

P: n/a
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.
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Chas,

Are you sure you have the Net 1.0 framework installed?

Cor
Nov 21 '05 #2

P: n/a
"Chas Stapleton" <Ch***********@discussions.microsoft.com> schrieb:
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?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

P: n/a
I just uninstalled and reinstalled the .net framework from the .net 2003 disk
set... Still same issue.
"Cor Ligthert" wrote:
Chas,

Are you sure you have the Net 1.0 framework installed?

Cor

Nov 21 '05 #4

P: n/a
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
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.