I need some help with Event handling for WIA through VBScript
Apparently the event handling for devices through WIA has not work for a lot
of people my online research says.
Code:
devMan.RegisterEvent wiaEventDeviceDisconnected, wiaAnyDeviceID
Private Sub devMan_OnEvent(EventID, DeviceID, ItemID)
MsgBox("it works!")
End Sub
Code Ends
According to MS documentation for WIa online this should work. Yet it does
not. Not for me and for a lot of ther people online I've found. Could this be
a security issue in Windows? or simply a MS bug not yet found?
Thanks for any help in advance