473,509 Members | 2,890 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting properties and methods to an activex control

How to set properties to an activex control ?
So that i can use it as
Activex.propertyname = variable;
or
variable = Activex.propertyname;

Nov 19 '05 #1
2 946
Activex.propertyname = variable

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

"Nayak" <ud********@yahoo.com> wrote in message
news:eH**************@TK2MSFTNGP10.phx.gbl...
How to set properties to an activex control ?
So that i can use it as
Activex.propertyname = variable;
or
variable = Activex.propertyname;

Nov 19 '05 #2
The activex control has to expose the property first. Then, you need to get
the correct reference to it on your form.

Use frmName.getElementsByTagName('activexcontrolname') ;
--
Staff Consultant II - Enterprise Web Services - Cardinal Solutions Group

Future Business Model - National City Mortgage
"Nayak" wrote:
How to set properties to an activex control ?
So that i can use it as
Activex.propertyname = variable;
or
variable = Activex.propertyname;

Nov 19 '05 #3

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

Similar topics

0
1118
by: Nathan Baulch | last post by:
I have an XML file that my application reads at runtime: <form> <control clsid="B5ECA9DC-879F-40BC-9298-3E399E099C0B"> <name>btnGO</name> <top>10</top> <left>10</left> <myint>273</myint>...
2
1650
by: Eric | last post by:
Hello, I'm using an ActiveX component in my .NET application bij referencing the DLL. Visual Studio will create a wrapper class. So far so good. The problem is that i've not all properties...
5
2174
by: Jason Butera | last post by:
I know that I can read/write custom properties of an object by using the following: Setting: document.all.customProp = "this"; Getting: document.all.customProp; Is there a way I can run...
3
1596
by: Sam Sungshik Kong | last post by:
Hello! While using panel control, I wondered a thing. Panel class is subclass of Control class. Control class has KeyPress event and Focus() method, etc... Then Panel class must have them. I...
1
1776
by: Ben Taylor | last post by:
Hi, I am experiencing a very strange problem with VC++.NET 2002 and I'm hoping somebody can tell me what I'm doing wrong or whether it's a bug. I created an ActiveX control and added some...
3
2675
by: Michiel | last post by:
Hello, I have an ActiveX control which I can call fine from HTML pages, using the object tag like <OBJECT ID="UserControl1" WIDTH="0" HEIGHT="0"...
11
3470
by: Alexander Walker | last post by:
Hello I would like to write a method that allows me to pass a reference to an instance of a class, the name of a property of that class and a value to set that property to, the method would then...
1
1456
by: miskomisko | last post by:
..net v2.0, VS 2005, VB6 Hi, I try to import my vb6 application to vb .net. The application uses my special activeX component which i want to import. When i import ocx file. Component is...
0
1351
by: miarfej | last post by:
Hi to all.. i am just new here, hoping to find some suggestions. I am writing a code in VC++. It is about creating an activeX control using MFC. This control exposes the properties and methods of...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7069
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
7505
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...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4730
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
3216
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
1570
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 ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.