Click here to Skip to main content
15,905,686 members
Home / Discussions / COM
   

COM

 
GeneralRe: DCOM RPC vulnerability Pin
Mike Dimmick15-Oct-03 4:51
Mike Dimmick15-Oct-03 4:51 
Generalmigrate VB ocx to Visual C++ Pin
magin10-Oct-03 4:11
magin10-Oct-03 4:11 
GeneralRe: migrate VB ocx to Visual C++ Pin
Mike Dimmick10-Oct-03 13:41
Mike Dimmick10-Oct-03 13:41 
GeneralHELP: weird behavior HTMLFramesColletion2(?) Pin
Member 58548410-Oct-03 2:39
Member 58548410-Oct-03 2:39 
QuestionHow to get the IE container's HWND? Pin
Member 6334809-Oct-03 17:24
Member 6334809-Oct-03 17:24 
AnswerRe: How to get the IE container's HWND? Pin
Member 6334809-Oct-03 17:37
Member 6334809-Oct-03 17:37 
QuestionIs that possible use ActiveX get system info and give it to JScript? Pin
Anonymous9-Oct-03 9:30
Anonymous9-Oct-03 9:30 
AnswerRe: Is that possible use ActiveX get system info and give it to JScript? Pin
Heath Stewart16-Oct-03 11:32
protectorHeath Stewart16-Oct-03 11:32 
Sure it's possible, if the ActiveX control has the right permissions. Therein likes the problem. You should sign the control with an Authenticode certificate, and you should also implement the IObjectSafety interface, as well as register the control in the CATID_SafeForScripting and CATID_SafeForInitializing categories.

The user's system is still in charge, though. Their Internet Explorer safety settings must allow your control to access the system. The things above will greatly help that. Just take a look at the security zones and their default permissions to see what will be allowed.

Then, create a class interface that inherits from IDispatch (late-binding, automation interface) that provides this system information. You can then access that information via client-side script.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralDesperate help with Windows Media Format SDK Pin
Emiliano9-Oct-03 5:24
Emiliano9-Oct-03 5:24 
Generalhelp with activex and vb.net Pin
Mithun_Patel9-Oct-03 4:33
Mithun_Patel9-Oct-03 4:33 
Generalhelp!!!!!!!!!!!!! Pin
Mithun_Patel9-Oct-03 4:32
Mithun_Patel9-Oct-03 4:32 
GeneralIs it possible for a client application to inherit COM classes Pin
siepaoling7-Oct-03 6:00
siepaoling7-Oct-03 6:00 
GeneralUsing existing running programs instead of creating new ones Pin
jparsons6-Oct-03 5:45
jparsons6-Oct-03 5:45 
GeneralRe: Using existing running programs instead of creating new ones Pin
valikac6-Oct-03 5:54
valikac6-Oct-03 5:54 
GeneralRe: Using existing running programs instead of creating new ones Pin
Vi27-Oct-03 1:19
Vi27-Oct-03 1:19 
GeneralRe: Using existing running programs instead of creating new ones Pin
jparsons8-Oct-03 12:10
jparsons8-Oct-03 12:10 
GeneralRe: Using existing running programs instead of creating new ones Pin
Vi210-Oct-03 3:36
Vi210-Oct-03 3:36 
QuestionHow Adobe ActiveX Control is activated when We drop *.pdf file in Browser Pin
Umesh Kr. Sharma6-Oct-03 5:44
Umesh Kr. Sharma6-Oct-03 5:44 
AnswerRe: How Adobe ActiveX Control is activated when We drop *.pdf file in Browser Pin
Ernest Laurentin6-Oct-03 7:34
Ernest Laurentin6-Oct-03 7:34 
GeneralRe: How Adobe ActiveX Control is activated when We drop *.pdf file in Browser Pin
Umesh Kr. Sharma7-Oct-03 1:12
Umesh Kr. Sharma7-Oct-03 1:12 
GeneralRe: How Adobe ActiveX Control is activated when We drop *.pdf file in Browser Pin
igor196017-Oct-03 12:52
igor196017-Oct-03 12:52 
GeneralSupport for ActiveX in MFC projects Pin
Ed016-Oct-03 2:24
Ed016-Oct-03 2:24 
GeneralRe: Support for ActiveX in MFC projects Pin
Steve S6-Oct-03 3:01
Steve S6-Oct-03 3:01 
GeneralRe: Support for ActiveX in MFC projects Pin
Ed016-Oct-03 3:20
Ed016-Oct-03 3:20 
GeneralAccessing a file's properties from a VC++ application Pin
jopett5-Oct-03 20:35
jopett5-Oct-03 20:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.