Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 9th, 2011, 08:15 AM
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:15 AM.


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