[Vm-dev] Question about dragging an image into the vm in Windows

Andreas Raab andreas.raab at gmx.de
Fri Apr 30 16:04:32 UTC 2010


On 4/30/2010 5:11 AM, Mariano Martinez Peck wrote:
> The ideal would be: if I have defined a image in the file, to be allowed
> to drag another one. Of course, the one I drag should be used and set as
> systemAttribute 1.
>
> Do you know how can I do that? is this fixable ?

I don't understand what you're asking for. The current handling makes it 
so that if you're in a deployment setting with the ImageFile attribute 
set, then the VM will pass the argument to the image where it's been 
processed. This is so that one can support file type associations where 
users can simply double click documents to open them (drag and drop 
functions the same way).

> In other hand, maybe I can do a validation and a nice error message in
> case the above cannot be done.

The error is in the iamge. You can do whatever validation is necessary.

Cheers,
   - Andreas


More information about the Vm-dev mailing list