![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Feb 2006
Posts: 155
Rep Power: 3
![]() |
Error reading icon .... - path not found
I am new to c#, but I have been using c++ for some time now. I was looking at a sample C sharp code.
This is the full message: Error generating Win32 resource: Error reading icon 'D:\Documents and Settings\t\Desktop\xp1\Windows XP Users Settings.ico' -- The system cannot find the file specified. Anyway, I tried to fix the error by trying to find the segment D:\Documents and Settings\t\Desktop\xp1\Windows XP Users Settings.ico in the code, because I thought I could easily alter that bit of the code and be done, but it kept telling me it cant find that segment in the code... not even "D:/" ... so I was wondering how I could fix it and stuff... any help would be greatly appreciated. |
|
|
|
|
|
#2 |
|
Professional Programmer
|
Can you post the code?
|
|
|
|
|
|
#3 |
|
Programmer
Join Date: Jul 2006
Location: using Earth.Africa.Egypt.Cairo;
Posts: 76
Rep Power: 3
![]() |
i think you need to put the character '@' before your path string:
@"D:\..............\...\...\.\." |
|
|
|
|
|
#4 | |
|
Hobbyist Programmer
Join Date: Feb 2006
Posts: 155
Rep Power: 3
![]() |
Quote:
what I am worried about it how do I locate that part in the multiple files I have? I tried using find and searching in the project, but it didnt work ..... |
|
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4
![]() |
ctrl-f
in the find dialog there is a combobox that allows you to specify "current document, project, solution, etc" search the whole solution.
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
|
|
#6 | |
|
Hobbyist Programmer
Join Date: Feb 2006
Posts: 155
Rep Power: 3
![]() |
Quote:
that's what I exactly said in my posts, just finding for that segment did not help... i tried current project as well as current document... i know i didnt explain my problem very clearly, but i guess now you have an idea but dont worry too much about it. all I was doing is looking at a very interesting c# sample, and I wanted to compile and run it.... but it's alright |
|
|
|
|
|
|
#7 | |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4
![]() |
Quote:
now you said you had tried "project" and "current document", I said to try "entire solution", this searches all projects in the whole solution, not just the one you are currently looking in.
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| color tray icon displays in monochrome | amazon10x | C | 6 | Jul 27th, 2006 7:22 PM |
| Break Point Problem on VC++ 6.0 | chanwing | C++ | 4 | Feb 8th, 2006 4:42 AM |
| Icon to bitmap conversion | Bazukaz | C++ | 2 | Oct 11th, 2005 3:54 PM |
| adding csc to Path Environment | pr0gm3r | C# | 6 | Sep 9th, 2005 9:52 AM |
| seeking best path algorithm | lhk_mgtf2008 | Visual Basic | 9 | Jun 9th, 2005 9:11 PM |