473,468 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I use CSharp to create ActiveX Objects?

HI, I want to hide my JScript code for some DHTML routines that I designed. So I figured that I could pilot the code into CSharp and create a DLL that I can call in JScript as an ActiveX Object (via "new ActiveXObject('MyProgID.Example');"). Is this possible

Rashad Rivera
Nov 15 '05 #1
2 1534
I think you mean ActiveX Controls instead of Objects. I would also like to know how to use JScript .NET in the same way. What I want to know is why a MSFT has yet to answered your question.

- DG
Nov 15 '05 #2
> I think you mean ActiveX Controls instead of Objects. I would also like
to know how to use JScript .NET in the same way. What I want to know
is why a MSFT has yet to answered your question.


ActiveX controls are not supported on the .Net framework. By supported, I
mean cannot be created, but can still be used. It's seen as a dated
technology that's on it's way out.

The best way to create an ActiveX control is with the MFC ActiveX Wizard in
either VC++ 6 or 7 (.net).
Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Shi Sherebrin | last post by:
A colleague wants some functionality that I've built in a Python class available to 'drop' into her Visual C++ project. Some time ago she gave up on trying to use 'regular' COM servers, since...
6
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed...
1
by: Craig Pennington | last post by:
I have many ASP pages that I cannot immediately convert to ASP.NET. I would like to make use of .NET, particularly C#, to develop new code that I would need to access from those unconverted pages....
4
by: rufus | last post by:
Hi, On the project I am working on we need to encapsulate all data and business logic in an activex dll. My question is: How do I do this? How can I access the form objects ie text boxes,...
1
by: Mark | last post by:
Does anyone know of a tutorial out there which allows me to create a component which is written in CSharp that is Accesable from an ASP Page just like you used to be able do do with an ActiveX VB...
0
by: Yeghia | last post by:
Hi All I'm relatively new in .NET and I need to display in my ActiveX control developed with MFC animated GIF file. I found that MFC/ATL shared library from VS 2003 doens't support them but...
1
by: drk.kumar | last post by:
I have an implementation issue with WMI scripts to check the user machine processor. The implementation is working fine in the local machine (Windows XP operating system). It is throwing script...
4
by: Control Freq | last post by:
Hi, Still new to csharp. I am coming from a C++ background. In C++ I would create a few top level variables in the application class. These are effectively global variables which can be accessed...
3
by: =?Utf-8?B?R3JlZw==?= | last post by:
I''ve been working with a CSharp web-site (and am new to it). I have a javascript function that accepts variables from my CSharp code. It all works fine, with the exception of one variable type. I...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.