Drag & Drop from PictureBox to Explorer to Generate .bmp File
-
Hello, I've been trying to drag & drop an image from a PictureBox to Explorer to create a .bmp file of said image, and I've had no success. I've looked and looked all over the 'Net, found a couple of hopeful looking solutions, but nothing has actually worked. I've played around with drag & drop, and I can move a picture between two PictureBoxes okay. I was kind of thinking if there was a way to get a string of the path in which I am attempting to drop the image, I could just save it, but I don't know if that's the best way or if it's even possible. Does anyone know how this could be done? EDIT: I saw the article here[^], but it's in C#... I only know Visual Basic.
As I sit here, I contemplate the last words of Socrates: "I drank what?".
-
Hello, I've been trying to drag & drop an image from a PictureBox to Explorer to create a .bmp file of said image, and I've had no success. I've looked and looked all over the 'Net, found a couple of hopeful looking solutions, but nothing has actually worked. I've played around with drag & drop, and I can move a picture between two PictureBoxes okay. I was kind of thinking if there was a way to get a string of the path in which I am attempting to drop the image, I could just save it, but I don't know if that's the best way or if it's even possible. Does anyone know how this could be done? EDIT: I saw the article here[^], but it's in C#... I only know Visual Basic.
As I sit here, I contemplate the last words of Socrates: "I drank what?".
CodeMonkey85 wrote:
it's in C#
No, it is in C++.
CodeMonkey85 wrote:
Does anyone know how this could be done?
Try taking Mike's code, convert it to pseudocode, and then take that pseudocode and covert to vb.net. Sounds like a bit of work, but it does work okay for the most part.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
CodeMonkey85 wrote:
it's in C#
No, it is in C++.
CodeMonkey85 wrote:
Does anyone know how this could be done?
Try taking Mike's code, convert it to pseudocode, and then take that pseudocode and covert to vb.net. Sounds like a bit of work, but it does work okay for the most part.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
I could try that, but I'm not exactly at expert level, and this article wasn't really geared toward PictureBox images... as a matter of fact, I don't think it covers dragging to Explorer to generate files at all. Does anyone have any experience or knowledge about this specific problem?
As I sit here, I contemplate the last words of Socrates: "I drank what?".
-
I could try that, but I'm not exactly at expert level, and this article wasn't really geared toward PictureBox images... as a matter of fact, I don't think it covers dragging to Explorer to generate files at all. Does anyone have any experience or knowledge about this specific problem?
As I sit here, I contemplate the last words of Socrates: "I drank what?".
You're not going to write a shell extension in VB, you need a real programming language for that (i.e. C++ )
Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
-
You're not going to write a shell extension in VB, you need a real programming language for that (i.e. C++ )
Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
Well, I got my answer... http://forums.msdn.microsoft.com/en-US/vblanguage/thread/919c8485-21aa-4db8-80f3-3e98b5e83708/[^] Thanks anyway!
As I sit here, I contemplate the last words of Socrates: "I drank what?".