![]() |
| ||
| how do you properly instantiate an activeX control on aspx hey... i currently making a web application, in VS 2008 - visual web developer 2008, for our final project and it makes use of an ocx which has methods to enable VOIP. What i did, since the control cannot be added to the tool box in order for it to be simply 'drag and drop'; i used aximp.exe to produce two dll's ATLH323Lib and AxATLH323Lib; i then referenced these two into my web application using Add Reference in the Solution Explorer. My earlier error was that i always got an {ActiveX control 'fdd4c8c1-69c9-11d3-9dc8-525400e38cf9' cannot be instantiated because the current thread is not in a single-threaded apartment.} error when i did this... [code below] namespace WebVOIP Then i tried to do it like this ... [code below] namespace WebVOIP But then this error would appear... {Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.} Help Please... |
| All times are GMT -4. The time now is 2:21 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC