PC Review


Reply
Thread Tools Rate Thread

Cannot get event from C# ActiveX in VBscript on ASP page.

 
 
Lee
Guest
Posts: n/a
 
      27th Nov 2007
I have an activex control built with VS 2005, C#. I have a "Done"
event that I fire from the control when some processing is done. I
have tested this with a C++ app as the host, and I do get the event.
But when I place the control in an Object tag on an ASPX page, and add
my event handler in VBScript, I do not get the event. Its like the
event was never hooked up on the web page.

Is there anything special I need to do on my control side to get the
events visible on the web page? I can build a C++ activeX control and
put it on a page and the events are caught fine, but my C# control
does not.

More info: I can call my methods in the ActiveX from VBScript on the
page just fine, I just cannot figure out why it looks like the events
are not being wired up when the control is on the page.

Anybody run into this issue?

All help is appreciated.

Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I call activex object using vbscript in the IE 8.0 ? Bello Microsoft Access 0 6th Aug 2009 08:21 PM
return array of string from C# in activeX to vbscript leekent@gmail.com Microsoft C# .NET 0 11th Nov 2005 05:31 PM
ActiveX or VBScript for wmiProcessorInfo? Ian Webmaster / Programming 0 15th Sep 2005 04:30 PM
ActiveX control event not fire when use framed page in internet explorer 6 SP1 Alan Tang Windows XP Internet Explorer 0 27th Jan 2004 08:40 PM
VBScript causes ActiveX warning Rob Collins Windows XP Internet Explorer 6 1st Dec 2003 09:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:12 PM.