通过Access 2010 VBA访问Windows便携设备(WPD) [英] Accessing Windows Portable Devices (WPD) through Access 2010 VBA

查看:81
本文介绍了通过Access 2010 VBA访问Windows便携设备(WPD)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Access中编写一个按钮,以便我自动将图片和视频从数码相机传输到我的硬盘。 传输后,我想自动删除相机中的图片。 我无法使用
来查找使用WPD或PortableDeviceAPI 1.0类型库的任何VBA代码。 由于便携式设备无法解析为驱动器号,因此CopyFile或CopyFolder不可用。 我实现此功能的系统包含Win 7 Pro和XP Pro SP3
客户端。 


有人可以帮助我设置这个或者给我一些例子吗? 我发现的唯一一件事就是C ++在Access中不起作用。 谢谢!



杰夫


 

解决方案

< blockquote>

您好,


这是讨论Microsoft Excel问题和反馈的论坛,我会将您的问题转移到MSBA的MSDN论坛上


https://social.msdn.microsoft。 com /论坛/ en-US / home?category = vbajp& filter = alltypes%2Calllanguages& sort = lastpostdesc


我们建议适当发布的原因是你会得到最合格的受访者群体以及定期阅读论坛的其他合作伙伴可以分享他们的知识,也可以从与我们的互动中学习。感谢您的理解。


George Zhao

TechNet社区支持



I am trying to code a button in Access that will allow me to automatically transfer pictures and video from a digital camera to my hard drive.  After transferring, I want to automatically delete the pictures from the camera.  I have been unable to find any VBA code using WPD or the PortableDeviceAPI 1.0 Type Library.  Since portable devices do not resolve to drive letter, CopyFile or CopyFolder are not useable.  The system I am implementing this on contains both Win 7 Pro and XP Pro SP3 clients. 

Can someone please assist me with getting this set up or point me to some examples?  The only thing I have found is C++ which does not work in Access.  Thanks!

Jeff

 

解决方案

Hi,

This is the forum to discuss questions and feedback for Microsoft Excel, I'll move your question to the MSDN forum for VBA

https://social.msdn.microsoft.com/Forums/en-US/home?category=vbajp&filter=alltypes%2Calllanguages&sort=lastpostdesc

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

George Zhao
TechNet Community Support


这篇关于通过Access 2010 VBA访问Windows便携设备(WPD)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆