1 Container Debug 1.1 F5, select Activesx control Test Containor1.2 ok--ok, select New control1.3 in the toolbar to select your control within the Insert control, ok1.4 the Invoke Method s in the Method Name drop-down box select your OCX execution function 1.5 According to the sequence of the actual use of the OCX, give each parameter one parameter at a time, each interface is assigned an argument after the point set value; Then proceed to the next interface. 1.6 When assigning parameters, pay attention to type matching, otherwise the assignment is unsuccessful; Call interface to see execution result 2 IE call 2.1 The following code writes text, saves as. Reg, and then double-clicks Execute Windows Registry Editor Version 5.00[hkey_ Current_user\software\microsoft\internet Explorer\Main]
"Tabprocgrowth" =dword:000000002.2 in Project setting program argument enter the IE address to be connected such as: http://192.168.0.123:8080/ yourprogrmName2.3 OK after F5 debugging
OCX for container commissioning and IE debugging