Completing the rest of the Form

To complete this example, create a Button or Link Label object. In the Click procedure of the control object, use the ControlExec method to run the WIC in flash speed.

This method returns a status code that can be chacked to make sure that the method was exectued successuflly by WiT Engine.

[C#]
WiT.engine.ControlExec(exehandle, (short)WiT.ExeCmds.WIT_EXE_FLASH, 0);

[Visual Basic]
WiT.engine.ControlExec(exehandle, _
                       CType(WiT.ExeCmds.WIT_EXE_FLASH, Short), 0)

That’s it! Save your .Net application and run it!

Previous 

Up