Newbie: Major problem

  • Thread starter Thread starter Koriel
  • Start date Start date
K

Koriel

I have just started to code in VB 2003 and have a problem, whenever I
try to load an image at design time, no matter whether it is a
background image or into a picture box I just get an error message
stating "empty path name is not legal". Can anybody explain what it
going on and how to get round it. Is this just an indication of
something screwed up my install or is it a more generally known
problem?

TIA

Jason
 
Hi,

Try reinstalling vb 2003 and the dotnetframework.

Ken
-----------------
I have just started to code in VB 2003 and have a problem, whenever I
try to load an image at design time, no matter whether it is a
background image or into a picture box I just get an error message
stating "empty path name is not legal". Can anybody explain what it
going on and how to get round it. Is this just an indication of
something screwed up my install or is it a more generally known
problem?

TIA

Jason
 
Do you mean if without PictureBox everything is runnning fine?

chanmm
 
Juts to clarify, I start a project with a blank form, insert a
picturebox and go to it's properties to set the image and will
immediatly receive the error message. I tried googling, but couldn't
get a single exact match for the symptoms, which seemed to indicate it
was either me making a mess of something, or a pooched installation of
VS.

Hope that makes my symptoms a bit clearer :)

Thanks,

Jason
 
Sounds like you need to do a re-install. You should be able to set the form's background image at design time and not have an
error. The same thing with a picturebox.
One test you can try is to load the form's background image or the pictureboxe's image at runtime and see if the image(s) load
then. If not, then I would suspect a problem with your installation. Also, you might want to try turning off Norton Internet
Security if you have it installed. I have found it (NIS) to cause some strange problems in the past.
Also, another thing could be, if you are using a notebook from work with VS.NET 2003 on it that you have been using on the
network at work, and you bring it home , it could be looking for the network connection too.
Just a thought.
james
 
I am having the exact same problem. I recently installed VS 2003 and was
initially able to set background images but now I can't. I get the same error
you are getting.

I also just discovered today that the SaveFileDialog will never return the
specified file but rather an emtpy string no matter what I do.

I have scoured the net and cannot find anything on this.

I guess I will try reinstalling VS 2003, Oh what fun!
 
I am having the same problem as well... I have uninstalled and reinstalled
VS.net 2003 and still have the same problem...

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?
 

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

Similar Threads


Back
Top