wpd

Write Files to WPD device via MTP C#/VB.net

I would like to write an application that will copy MP3 files to a SanDisk Sansa M240. The SanDisk doesn't have a drive letter and uses MTP for file transfer. I stumbled through the sample of connecting to the device at : http://blogs.msdn.com/dimeby8/archive/2006/09/27/774259.aspx but once connected, I can't figure out how to actuall...

WPD equivalent of WIA DeviceDlg

I'm adding Windows Portable Devices (WPD) support to an app that currently uses Windows Image Acquisition (WIA). WIA provides a handy picture selection dialog via IWiaItem::DeviceDlg. I can't find a WPD equivalent. Is there one, and, if not, what is the preferred technique to allow users to select items? I don't have to write my own dia...

WPF 3D - Why does my ImageBrush not render??

I have a 3D plane which I'm trying to render with an ImageBrush as it's DiffuseMaterial.Brush. If i use a SolidColorBrush then the plane appears fine but I get nothing at all with either an ImageBrush or a VisualBrush. Can anyone tell me why? Here's the code. <ModelVisual3D> <ModelVisual3D.Transform> <RotateTransf...

WPF 3D - Detirmine whether a ModelVisual3D is being clipped inside it's Viewport3D

I have a cube rendering inside a Viewport3D and i need to know a way to find out whether ALL of the cube is visible to the user. Edit:Just to be clear,..I'm not talking about clipping because of the near/far plane distance here. I mean the cube is to tall or wide to fit in the cameras field of view. Any help would be massively appre...

Open WPD Device in Windows Explorer from .NET

Hello all. I am currently working on an application for managing a WPD device. I want to add an option to open the wpd device in windows explorer to view the saved files. Problem is that I can't find a way to open explorer pointing to the device's "folder". I have all information of the device (pnp device id, class name, etc.) Anybody kn...

Browsing WPD's content through Windows Explorer

I noticed that when I plug in my Nokia phone, an icon will appear in My Computer in windows explorer and I can browse the content of my phone through windows explorer. Is this concept similar to developing Shell Namespace Extension for virtual folder? I notice that Shell Namespace Extension is categorised as System Folder while my phone...

Snapping pictures from Windows C# Canon SDK vs PTP or MTP

I am hoping to receive some general guidance on accomplishing a seemingly simple goal. I have a DSLR camera (Canon EOS 50D) and need to write an application that will tell the camera to take a picture. I also need to transfer the picture to the computer and possibly delete it from the camera's storage. A bonus would be to get a live p...

WIA versus WPD Digital Camera Image Acquisition and API

We have a Windows Forms app running on XP that uses WIA to retrieve images from digital cameras attached to our company's field technician laptops. As clunky as the COM wrappers and APIs are, they've handled millions of images reliably. Looking now at inevitable migration to Win 7 and wondering if we should move from WIA to WPD (Windows ...

Is the Vista/Win7 aero effect included in WPF?

Can I use that effect on my controls just like the BlurEffect? If it's not available, is there a way to "acquire" it? Perhaps via the Reflector? ...

Alternatives to WPD/WIA on Windows XP?

WPD does not work correctly on Windows XP (SP1 if that matters), even if Microsoft states it does. Problem with WPD: IPortableDeviceManager.GetDevices call does not find any devices on Win XP while it finds all connected cameras on Windows 7. A few other people had this same problem with WPD not working on XP, no solution: 1 2 I hav...

WPD on XP, Vista, and 7 (need to transfer photo and video files)

I need to transfer files (still photos and videos) from any portable device that a user may connect (still camera, video camera, mobile phone, etc.) I don't need to worry about plain storage devices as these have drive letters. And I only care about existing files, I don't care about live video, preview video, taking new pictures, etc. ...

How can I use Windows Portable Device SDK in a VBScript?

Hi, I would like to write a small script using VBScript in Windows 7 through the WSH to communicate with a Portable (MTP) Device. Do you know how I can istantiate the basic objects? Just the initial fwe lines.. Many thanks! This could help you (didn't help me unfortunately) : http://msdn.microsoft.com/en-us/library/dd389295(v=VS.85).asp...

monitor WPD devices using WMI

I'm trying to monitor all removable devices that are installed on my computer, and for that I'm using the Win32_logicaldisk WMI class (for monitoring drive letters) The problem is that WPD devices (for example a photo camera which doesn't have a letter) don't show up there. Any idea if this can be done with WMI? ...

Print WPF Visuals with MVVM pattern

My ViewModel has a PrintCommand executing a Method called PrintCalendar(). But the Calendar aka datagrid is in the View, so how do I get my datagrid into the ViewModel? Getting my hands dirty and do all that stuff in code-behind? oh no... PrintDialog printDlg = new PrintDialog(); printDlg.PrintVisual(datagrid, "Grid Printing."); ...