There are some people who probably shouldn't be encouraged to code
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
Seriously, am just rolling on the floor here! ::where is the rolling on the floor emoticon::
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
If I had a penny for every time I've seen a newbie do that... I'd have thruppence.
I wanna be a eunuchs developer! Pass me a bread knife!
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
For sure it would have been to much to ask for, to leave the original path in and add an comment at the end of the line like "change this path to point to your file". It's easier to make fun of people I guess, because they don't understand that this was what you meant by this useless string "Browse_Image_Location". Yeah, that's really much better. In my opinion some people just shouldn't tutor others. ;P Cheers! :^)
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
For sure it would have been to much to ask for, to leave the original path in and add an comment at the end of the line like "change this path to point to your file". It's easier to make fun of people I guess, because they don't understand that this was what you meant by this useless string "Browse_Image_Location". Yeah, that's really much better. In my opinion some people just shouldn't tutor others. ;P Cheers! :^)
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
I figured that anyone bright enough to find this site could work out that they needed to replace the string
@"D:\Temp\MyPic.jpg"
with the path to their own file...maybe I should lower my expectations when writing tips in future... :laugh:This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
-
For sure it would have been to much to ask for, to leave the original path in and add an comment at the end of the line like "change this path to point to your file". It's easier to make fun of people I guess, because they don't understand that this was what you meant by this useless string "Browse_Image_Location". Yeah, that's really much better. In my opinion some people just shouldn't tutor others. ;P Cheers! :^)
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
How do I change this pointy path thingie? Is this something I can find in the control panel? I couldn't find it on Google. ;P
It was broke, so I fixed it.
-
I figured that anyone bright enough to find this site could work out that they needed to replace the string
@"D:\Temp\MyPic.jpg"
with the path to their own file...maybe I should lower my expectations when writing tips in future... :laugh:This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
OriginalGriff wrote:
anyone bright enough to find this site
Remember the backroom? :)
-
I figured that anyone bright enough to find this site could work out that they needed to replace the string
@"D:\Temp\MyPic.jpg"
with the path to their own file...maybe I should lower my expectations when writing tips in future... :laugh:This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
I think I misread you there, I thought you had put that silly string into the code sample. In case it was OP's doing just ignore my irrelevant post. Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
How do I change this pointy path thingie? Is this something I can find in the control panel? I couldn't find it on Google. ;P
It was broke, so I fixed it.
What, where, errhhmmm why. Wait ... No, still don't understand! What's up? :confused:
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
I think I misread you there, I thought you had put that silly string into the code sample. In case it was OP's doing just ignore my irrelevant post. Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
No problem! :laugh:
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
Meh, leave them alone. You do realize you are promoting that boys club elitism crap that gets us all looking like douchbags because we think we are something more than someone else. Perhaps you can feel this feeling internally. At least you didn't verbally insult him. You might push the next Linus out of the race
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
I suggest you send him over to the people coding in VB. Marc
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
-
For sure it would have been to much to ask for, to leave the original path in and add an comment at the end of the line like "change this path to point to your file". It's easier to make fun of people I guess, because they don't understand that this was what you meant by this useless string "Browse_Image_Location". Yeah, that's really much better. In my opinion some people just shouldn't tutor others. ;P Cheers! :^)
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
NĂ¡... I remember my university class... Man... Some people should stay away from computers.
-
I'm trying to help someone, who has a problem with inserting image data into a database. So I point him at one of my tips, which explains what he is doing wrong, and how to fix it. One line of my code is:
Image myImage = Image.FromFile(@"D:\Temp\MyPic.jpg");
But this doesn't work in his code, because it complains that the file doesn't exist. It's taken us two hours since then to get to the point where he shows me his version:
Image myImage = Image.FromFile(@"Browse_Image_Location");//there error comes
:doh: Please, somebody, anybody: remind me why we don't have positive vetting before letting people near computers?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.