I've got a owner-drawn listview control that displays images and now I'm
trying to implement drag and drop so I can drag images from the control and
drop them onto other applications. So far if I drop on windows explorer it
works (i.e. an image file is created where I dropped the image) or the
console displays the full path to the image. Unfortunately it doesn't work
with Excel. Nothing at all happens. No error, nothing.
The code I am using is partially adapted from the FotoVision application,
but done in C#. The FotoVision code works as desired, but isn't directly
usable, hence the reason for reimplementing it.
Are there special requirements to drop images onto Excel? Is there something
obvious I might be missing?
Thanks
Colin 6 2567
Hi Colin,
Regarding on the issue, I am
finding proper resource to assist you and we will update as soon as posible.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security(This posting is provided "AS IS",
with no warranties, and confers no rights.)
Hi Colin,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to drag and drop an object
from your application to Excel and Windows Explorer. If there is any
misunderstanding, please feel free to let me know.
Based on my research, we cannot drag and drop an image file from windows
explorer to Excel directly. Dragging it to Excel means to open the image
file using Excel. However Excel cannot open image file. so the operation
failed.
I would like to know how you passed that image object to windows explorer.
We can try to pass the image to Excel as an object, not URL. Could you show
us your code? If FotoVision code works, how did it achieve that? Please
provide us with more information, so that we can resovled the problem mroe
quickly. Thanks!
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Now it isn't working from FotoVision. Odd because I specifically tested it
with Excel (or I was hallucinating from a lack of sleep or food, or from the
ridiculous humidity around here, any of which are possible).
It looks like it isn't going to be possible for me to provide a nice drag
and drop interface for my users to insert images into a spreadsheet. I'll
have to look into using VSTO to come up with some sort of solution.
Thanks
Colin
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:yk**************@cpmsftngxa06.phx.gbl... Hi Colin,
First of all, I would like to confirm my understanding of your issue. From your description, I understand that you need to drag and drop an object from your application to Excel and Windows Explorer. If there is any misunderstanding, please feel free to let me know.
Based on my research, we cannot drag and drop an image file from windows explorer to Excel directly. Dragging it to Excel means to open the image file using Excel. However Excel cannot open image file. so the operation failed.
I would like to know how you passed that image object to windows explorer. We can try to pass the image to Excel as an object, not URL. Could you
show us your code? If FotoVision code works, how did it achieve that? Please provide us with more information, so that we can resovled the problem mroe quickly. Thanks!
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
Hi Colin,
It seems that we need Excel to accept the type of drop, so that we can
decide what type of data we should pass. However, I don't think we can
change the behavior of Excel.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
It would be nice if we could change the behaviour of Excel. I'd still like
to know exactly what I was doing when I became convinced you could drop
image on Excel (it can't be done from anywhere, even Explorer). My memory of
doing it is so vivid...
Colin
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:rW**************@cpmsftngxa06.phx.gbl... Hi Colin,
It seems that we need Excel to accept the type of drop, so that we can decide what type of data we should pass. However, I don't think we can change the behavior of Excel.
Kevin Yu ======= "This posting is provided "AS IS" with no warranties, and confers no rights."
I made a porting of FotoVision from VisualBasic.Net to C#. I ported
only the web application. I used the C# ASP.NET application to realize
a web site with my digital photos that are designed to be used as
full-screen computer desktop backgrounds. The images are available for
free download in 1600x1200 resolution.
I made available the FotoVision C# source code in this website at : http://www.mybackgrounds.tk
If you know a web ring of other sites that feature similar content
please let me known.
Moreno Borsalino
Visit my desktop photos collection at http://www.mybackgrounds.tk
(made with FotoVision) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: James Allen Bressem |
last post by:
- hehe - When you're explaining every angle of a socio economic scenario in
the context of a review of current technical issues it can take a little...
|
by: Wang, Jay |
last post by:
Hello, all,
I would like to enable some text between <SPAN
url="http://www.testserver.com/">WORD TO BE DRAGGED </SPAN>. I put some
javascript and...
|
by: matthewmacchia |
last post by:
I believe this is a Firefox bug but I was hoping someone found a
workaround.
I have implemented drag and drop functionality, but if I try to drag...
|
by: WindAndWaves |
last post by:
Hi everyone,
Has anyone got any experience with drop and drag in Access?
I would like to make a calendar style form where my users can drop and...
|
by: James Allen Bressem |
last post by:
Do drag n drop in VB.Net in ten lines of code - (too easy)
I was searching through the MSDN documentation trying to figure out how to
do drag n...
|
by: TarheelsFan |
last post by:
I am having problems with drag and drop into a listview. I am able to
drag and drop items from within the listview, as well as drag items
from the...
|
by: joey.powell |
last post by:
I have a Windows Forms application where I need to be able to drag and
then drop onto a datagridview control. I already have the code
necessary to...
|
by: RHSFSS |
last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out...
|
by: Harshad |
last post by:
Hi,
I'm writing a program using Python 2.4 and PyQt4. The aim is to
implement drag and drop from filesystem and display a list of files
dragged...
|
by: weird0 |
last post by:
i am developing an application in which i can drag and drop icons
using c#. I tried out a few tutorials on code-project.com, but they
don't seem to...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...
| |