Click here to Skip to main content
15,892,768 members
Home / Discussions / COM
   

COM

 
GeneralVBScript and COM Inf. with ByRef Pin
Anonymous21-Aug-02 6:57
Anonymous21-Aug-02 6:57 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Ernest Laurentin21-Aug-02 7:09
Ernest Laurentin21-Aug-02 7:09 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Anonymous21-Aug-02 9:31
Anonymous21-Aug-02 9:31 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Ernest Laurentin21-Aug-02 9:50
Ernest Laurentin21-Aug-02 9:50 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Anonymous21-Aug-02 22:12
Anonymous21-Aug-02 22:12 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Ernest Laurentin22-Aug-02 7:38
Ernest Laurentin22-Aug-02 7:38 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Anonymous22-Aug-02 0:46
Anonymous22-Aug-02 0:46 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Ernest Laurentin22-Aug-02 6:52
Ernest Laurentin22-Aug-02 6:52 
"WScript" is a different 'HOST' engine than the ActiveX version. I am still planning to write an article about it (give me 1-2 week). You can create COM object from your script and catch the event. In VBScript, create your activex (COM object) by calling
VBScript
Set MsCOMSVR = CreateObject("MSCOMSRV.Port")
MsCOMSVR_OnEvent is the name of the event function. MsCOMSVR must be global in VBScript, if you declare it inside of a 'Sub' it will be destroyed when the 'Sub' terminates.

VOTD: 15 "The eyes of the Lord are on the righteous and his ears are attentive to their cry;
16 the face of the Lord is against those who do evil, to cut off the memory of them from the earth. "
- Psalm 34:15-16 (1 Peter 3:11-12) (NIV)


GeneralRe: VBScript and COM Inf. with ByRef Pin
Koep25-Aug-02 22:04
Koep25-Aug-02 22:04 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Ernest Laurentin27-Aug-02 5:21
Ernest Laurentin27-Aug-02 5:21 
GeneralRe: VBScript and COM Inf. with ByRef Pin
Ernest Laurentin27-Aug-02 8:08
Ernest Laurentin27-Aug-02 8:08 
Generalreceiving data Pin
Lily1820-Aug-02 9:57
Lily1820-Aug-02 9:57 
QuestionHow to put HTML? Pin
User 100963419-Aug-02 8:20
User 100963419-Aug-02 8:20 
AnswerRe: How to put HTML? Pin
CodeProjectSQ19-Aug-02 9:29
CodeProjectSQ19-Aug-02 9:29 
AnswerRe: How to put HTML? Pin
Stephane Rodriguez.19-Aug-02 10:38
Stephane Rodriguez.19-Aug-02 10:38 
AnswerRe: How to put HTML? Pin
S.A.19-Aug-02 16:00
S.A.19-Aug-02 16:00 
GeneralRe: How to put HTML? Pin
Stephane Rodriguez.19-Aug-02 18:59
Stephane Rodriguez.19-Aug-02 18:59 
GeneralString Passing in COM component Pin
abhinarulkar18-Aug-02 21:23
abhinarulkar18-Aug-02 21:23 
GeneralRe: String Passing in COM component Pin
Jason Henderson19-Aug-02 2:53
Jason Henderson19-Aug-02 2:53 
GeneralRe: String Passing in COM component Pin
b_p_smith26-Aug-02 13:17
b_p_smith26-Aug-02 13:17 
GeneralRe: String Passing in COM component Pin
Jason Henderson26-Aug-02 17:01
Jason Henderson26-Aug-02 17:01 
GeneralRe: String Passing in COM component Pin
b_p_smith27-Aug-02 8:19
b_p_smith27-Aug-02 8:19 
GeneralGet/create application object Pin
EvanHansen18-Aug-02 21:14
EvanHansen18-Aug-02 21:14 
GeneralRe: Get/create application object Pin
Stephane Rodriguez.19-Aug-02 3:07
Stephane Rodriguez.19-Aug-02 3:07 
GeneralConnection Points Question for COM Gurus Pin
Complete Com Beginner17-Aug-02 13:05
sussComplete Com Beginner17-Aug-02 13:05 

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.