~ What prevents you from using any of the myriad free code converters (VB -> C# or C# to VB) available online ? ~ What prevents you from researching Event Handlers ?
Hint: Check out the AddHandler statement in VB. On Aug 5, 8:11 pm, waqas <[email protected]> wrote: > Can someone convert the following c# code (which can be found in this > codeproject > article:http://www.codeproject.com/KB/dotnet/wiascriptingdotnet.aspx) > to VB? > > I have managed to convert the rest of the code to VB but I am having > trouble with this sub. > > Particulary the line "wiaMgr.OnDeviceDisconnected += wiaEvtDisc;". >
