Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2011, 08:15 AM
Registered User
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB Active X Control in ASP.NET web application

Hi,

We have a activex control built in visual basic 6.0. We have included .CAB, .OCX and .INF file in our asp.net web site.

I hosted the website on IIS. When I try to hit any of activex buttons, Javascript error come that object does not support this property.

Code to include activeX is


<OBJECT ID="TControl" name="TControl" CLASSID="CLSID:E4EFADF0-BA51-4DA9-B72B-0B2E912E8F56" CODEBASE="UniActiveX.CAB#version=1,0,0,0" style="display:none;"></OBJECT>

function TLogin()
{

var txtTserverHost = document.getElementById('txtTserverHost').value;
var txtTserverPort = document.getElementById('txtTserverPort').value;
var txtExtension = document.getElementById('txtExtension').value;
var txtAgentID = document.getElementById('txtAgentID').value;

var obj = document.getElementById('TControl');

obj.Login(txtTserverHost,txtTserverPort,txtExtensi on,txtAgentID);

}

Its giving error at obj.Login..

Pl help, its quite urgent.

Thanks in advance.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Web Application swifty_programmer ASP.NET 2.0 Professional 14 July 20th, 2007 08:05 AM
Convert ASP web application to ASP.NET Steve777 ASP.NET 1.0 and 1.1 Basics 3 June 2nd, 2005 07:26 AM
Can I using VB.net for web application eugenewongcf BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 September 7th, 2004 04:04 AM
web application, get group name - active directory sara_1981 VB.NET 0 April 24th, 2004 01:36 AM
web application using asp and vb components rdigala VB Components 2 January 27th, 2004 10:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.