安装WIA组件
下载地址:
安装方法:
将下载后的WIAAutSDK.zip解压,复制wiaaut.dll到C:\Windows\System32,注册组件"regsvr32 wiaaut.dll"
测试代码:
'save as wia-installing-test.vbs
On Error Resume Next
Set wia = CreateObject("WIA.ImageFile")
If Err.Number = Then
MsgBox "wia installing ok",, "wia installing test"
Set wia = Nothing
Else
MsgBox "wia installing failed",, "wia installing test"
End If
ps:一般来讲只有ghost xp系统会缺少这个组件。
WIA Property Constant Definitions
(@http://msdn.microsoft.com/en-us/library/windows/desktop/ms630202(v=vs.85).aspx):
const DeviceID =
const Manufacturer =
const Description =
const Type =
const Port =
const Name =
const Server =
const RemoteDevID =
const UIClassID =
const FirmwareVersion =
const ConnectStatus =
const DeviceTime =
const PicturesTaken =
const PicturesRemaining =
const ExposureMode =
const ExposureCompensation =
const ExposureTime =
const FNumber =
const FlashMode =
const FocusMode =
const FocusManualDist =
const ZoomPosition =
const PanPosition =
const TiltPostion =
const TimerMode =
const TimerValue =
const PowerMode =
const BatteryStatus =
const Dimension =
const HorizontalBedSize =
const VerticalBedSize =
const HorizontalSheetFeedSize =
const VerticalSheetFeedSize =
const SheetFeederRegistration =
const HorizontalBedRegistration =
const VerticalBedRegistraion =
const PlatenColor =
const PadColor =
const FilterSelect =
const DitherSelect =
const DitherPatternData =
const DocumentHandlingCapabilities =
const DocumentHandlingStatus =
const DocumentHandlingSelect =
const DocumentHandlingCapacity =
const HorizontalOpticalResolution =
const VerticalOpticalResolution =
const EndorserCharacters =
const EndorserString =
const ScanAheadPages =
const MaxScanTime =
const Pages =
const PageSize =
const PageWidth =
const PageHeight =
const Preview =
const TransparencyAdapter =
const TransparecnyAdapterSelect =
const ItemName =
const FullItemName =
const ItemTimeStamp =
const ItemFlags =
const AccessRights =
const DataType =
const BitsPerPixel =
const PreferredFormat =
const Format =
const Compression =
const MediaType =
const ChannelsPerPixel =
const BitsPerChannel =
const Planar =
const PixelsPerLine =
const BytesPerLine =
const NumberOfLines =
const GammaCurves =
const ItemSize =
const ColorProfiles =
const BufferSize =
const RegionType =
const ColorProfileName =
const ApplicationAppliesColorMapping =
const StreamCompatibilityID =
const ThumbData =
const ThumbWidth =
const ThumbHeight =
const AudioAvailable =
const AudioFormat =
const AudioData =
const PicturesPerRow =
const SequenceNumber =
const TimeDelay =
const CurrentIntent =
const HorizontalResolution =
const VerticalResolution =
const HorizontalStartPostion =
const VerticalStartPosition =
const HorizontalExtent =
const VerticalExtent =
const PhotometricInterpretation =
const Brightness =
const Contrast =
const Orientation =
const Rotation =
const Mirror =
const Threshold =
const Invert=
const LampWarmUpTime =
安装WIA组件的更多相关文章
- Linux安装ftp组件过程
1 安装vsftpd组件 安装完后,有/etc/vsftpd/vsftpd.conf 文件,是vsftp的配置文件. [root@bogon ~]# yum -y install vsftpd 2 ...
- linux安装ftp组件
1 安装vsftpd组件 linux系统安装完后,有/etc/vsftpd/vsftpd.conf 文件,是vsftp的配置文件. [root@bogon ~]# yum -y install v ...
- SqlServer 由于未在SqlServer的此实例上安装复制组件解决方法
sqlserver2005在复制订阅时出现: “由于未在SqlServer的此实例上安装复制组件,Microsoft SQL server 无法访问这些组件,请参阅SQL Server……” 解决方法 ...
- Windows Xp Home Edition 安装IIS组件
问题描述: 在虚拟机(操作系统是Windows Xp Home Edition)中安装Sql Server 2005的时候警告缺少IIS相关组件,控制面板"添加/删除组件"中也没有 ...
- Installshield自动安装IIS组件
原文:Installshield自动安装IIS组件 一. 工程类型:IS2010 installscript 二.原理: 1. XP和 Server2003系统:由于系统默认没有自带IIS组件,一般情 ...
- Linux下的暴力密码在线破解工具Hydra安装及其组件安装-使用
Linux下的暴力密码在线破解工具Hydra安装及其组件安装-使用 hydra可以破解: http://www.thc.org/thc-hydra,可支持AFP, Cisco AAA, Cisco a ...
- CentOS安装Ruby组件
ruby安装#安装ruby组件yum install ruby ruby-irb ruby-devel rubygems rpm-build -y#安装Apache服务器yum install htt ...
- Open-Falcon第二步安装绘图组件Transfer(小米开源互联网企业级监控系统)
----安装绘图组件---- 安装Transfer transfer默认监听在:8433端口上,agent会通过jsonrpc的方式来push数据上来. cd /usr/local/open-falc ...
- visual studio 2017 installer 安装包的安装必备组件设置
visual studio installer 2017 安装包的安装必备组件设置,默认设置只有net frmwork 4.6.1,如下图 这个时候如果打包安装,那么打出来的包一定需要先安装4.6. ...
随机推荐
- 写给Android App开发人员看的Android底层知识(6)
(十一)BroadcastReceiver BroadcastReceiver,也就是广播,简称Receiver. 很多App开发人员表示,从来没用过Receiver.其实吧,对于音乐播放类App,用 ...
- sql备份(导出脚本)
第一步: 右键需要备份的数据库(这里以MyDB为例)-->任务-->生成脚本
- hdu5950
hdu5950 题意 \(给出 f_1 , f_2 ,以及递推式 f_n = 2 * f_{n-2} + f_{n-1} + n^4 ,求 f_n (mod=2147493647)\) 推导一下. \ ...
- 新写的高仿Arcmap,要的拿去玩玩
本想着对所学的ArcGIS Engine开发作一个了结,于是乎写了这么一个仿照Arcmap的程序.我所见过的地理信息系统中,ArcGIS是功能最完善.二次开发最易上手的平台了(当然别提AutoCAD那 ...
- Common.Logging源码解析一
Common.Logging是Apache下的一个开源日志接口组件,主要用于切换不同的日志库,因为当前流行的日志库有很多向log4j.log4net(log4j的.net版本)等等,所以为了能灵活的切 ...
- Python函数之简单总结
函数的定义 Python的函数定义使用关键字def,如定义一个返回绝对值的函数my_abs def my_abs(x): if x>=0: return x else: return -x 函数 ...
- Qt自定义标签按钮
当你接触到Qt时,你会为它极为方便的跨平台方面感到吃惊,从而想尝试着使用Qt.渐渐地你会发现Qt自带的一些控件不能满足自己的需要,此时就需要我们自己定义一个属于自己的控件.总所周知,标签的风格设置类比 ...
- java实现发送邮件
前言:先引入javamail用到的jar包, 自己下载http://fhed.v061.10000net.cn/gulili198509051s/newjspkongjian/ueditor/jsp/ ...
- CSS 公共样式
global.css | reset.css(格式化样式) common.css(公共组件样式) layout.css(当前页面样式) 清除全站所有页面的浏览器默认样式,保证在初始样式在所有浏览器下一 ...
- solr5Ik分词2
<!--IK分词器--><fieldType name="text_ik" class="solr.TextField"><ana ...