Home > database >  Call ocx in PB (online, etc.)
Call ocx in PB (online, etc.)

Time:10-01

Please help to look at, I did not call the function of ocx, DLL, too, is made of VC ocx

The event clicked;
The run (" regsvr32 SignX. Ocx - s ")

Oleobject sign_test
Sign_test=create oleobject
//n_vb is the DLL generated COM ID
Sign_test. Connecttonewobject (SIGNX. SignXCtrl. "1")
String cert_sn
String cert_cn
Sign_test. Selectcert ()
//cert_cn=sign. GetCertInfo (8)
Cert_sn=sign_test. GetCurrentUsedCertInfo (8)
MessageBox (" XJCA cert_sn)

End the event

CodePudding user response:

Sorry, my own solution,

CodePudding user response:

Then answered the points!

CodePudding user response:

refer to the second floor jlwei888 response:
that took points!

CodePudding user response:

The run (" regsvr32 SignX. Ocx - s ")
Also did not immediately after registration, wait a minute,

CodePudding user response:

The inside SIGNX. SignXCtrl. 1 1 is what mean?