Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
Question6.Net equivalent of ActiveX control in browser? Pin
Anonymous3-Aug-02 12:51
Anonymous3-Aug-02 12:51 
AnswerRe: 6.Net equivalent of ActiveX control in browser? Pin
Todd Smith3-Aug-02 19:33
Todd Smith3-Aug-02 19:33 
GeneralRe: 6.Net equivalent of ActiveX control in browser? Pin
James T. Johnson4-Aug-02 4:34
James T. Johnson4-Aug-02 4:34 
AnswerRe: 6.Net equivalent of ActiveX control in browser? Pin
Rocky Moore3-Aug-02 21:58
Rocky Moore3-Aug-02 21:58 
GeneralRe: 6.Net equivalent of ActiveX control in browser? Pin
Anonymous4-Aug-02 3:01
Anonymous4-Aug-02 3:01 
GeneralRe: 6.Net equivalent of ActiveX control in browser? Pin
Todd Smith4-Aug-02 3:20
Todd Smith4-Aug-02 3:20 
GeneralRe: 6.Net equivalent of ActiveX control in browser? Pin
James T. Johnson4-Aug-02 4:41
James T. Johnson4-Aug-02 4:41 
GeneralRe: 6.Net equivalent of ActiveX control in browser? Pin
Anonymous4-Aug-02 6:00
Anonymous4-Aug-02 6:00 
I got close by trying a worksaround, but it's not quite working unfortunately. I got the idea from here:

http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/default.asp

What I did was create a Windows Form which has the Active X instance on it. It actually works for some ActiveX controls, unfortunately the one I need can't be created when running under IEExec.exe due to threading model issue, it throws and IllegalThreadStateException or some such:

"Additional information: Could not instantiate ActiveX control 'fa13a9fa-ca9b-11d2-9780-00104b242ea3' because the current thread is not in a single-threaded apartment."

Does anybody know how to work around this latest snag? The .exe runs fine normally, but not through IE / IEExec.exe. Altering the threading model of the ActiveX is not an option, it's a vendors and I don't have the source.

So far what I've done is really easy, just build any old Windows Form application, then put the exe and all required associated assemblies up on a webserver. IE 5.5/6.0 can launch it directly and run via IEExec.exe, as long as .Net framework is installed.

Thanks,
Ryan

GeneralRe: 6.Net equivalent of ActiveX control in browser? Pin
Anonymous4-Aug-02 10:45
Anonymous4-Aug-02 10:45 
AnswerRe: 6.Net equivalent of ActiveX control in browser? Pin
Rama Krishna Vavilala5-Aug-02 12:11
Rama Krishna Vavilala5-Aug-02 12:11 
GeneralShortcut key Pin
Mazdak3-Aug-02 6:14
Mazdak3-Aug-02 6:14 
GeneralRe: Shortcut key Pin
Nnamdi Onyeyiri3-Aug-02 6:30
Nnamdi Onyeyiri3-Aug-02 6:30 
GeneralRe: Shortcut key Pin
Mazdak3-Aug-02 11:38
Mazdak3-Aug-02 11:38 
GeneralUnicode Pin
Mazdak3-Aug-02 4:49
Mazdak3-Aug-02 4:49 
GeneralRe: Unicode Pin
Mazdak3-Aug-02 5:32
Mazdak3-Aug-02 5:32 
GeneralAttribute Usage Pin
Nnamdi Onyeyiri3-Aug-02 2:17
Nnamdi Onyeyiri3-Aug-02 2:17 
GeneralRe: Attribute Usage Pin
Andy Smith3-Aug-02 6:24
Andy Smith3-Aug-02 6:24 
GeneralHmm... this couldn't be right.... Pin
Ryan Cromwell2-Aug-02 8:29
Ryan Cromwell2-Aug-02 8:29 
GeneralRe: Hmm... this couldn't be right.... Pin
jterrell2-Aug-02 18:29
jterrell2-Aug-02 18:29 
GeneralRe: Hmm... this couldn't be right.... Pin
Ryan Cromwell5-Aug-02 2:42
Ryan Cromwell5-Aug-02 2:42 
GeneralRe: Hmm... this couldn't be right.... Pin
Russell Morris5-Aug-02 6:32
Russell Morris5-Aug-02 6:32 
GeneralRe: Hmm... this couldn't be right.... Pin
Ryan Cromwell5-Aug-02 8:49
Ryan Cromwell5-Aug-02 8:49 
QuestionHow to catch the WM_ACTIVATEAPP message in C#? Pin
Anonymous2-Aug-02 6:09
Anonymous2-Aug-02 6:09 
AnswerRe: How to catch the WM_ACTIVATEAPP message in C#? Pin
Rama Krishna Vavilala2-Aug-02 6:26
Rama Krishna Vavilala2-Aug-02 6:26 
GeneralRe: How to catch the WM_ACTIVATEAPP message in C#? Pin
jparsons2-Aug-02 7:33
jparsons2-Aug-02 7:33 

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.