473,410 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

ActiveX or not

I am asked to make a webpage with an ActiveX control. THe control will show
data from database or webservice and based on those data draw a graph (Trend
control from www.cstsoft.com). I started to wonder if it was the smartest
way to solve this and that leads me to ask out here if it is. Is there maybe
better way to show data like a trend graph? The data sometimes is near real
time and dynamic in the way that it can draw data while being monitored by
the user. AJAX is an approach maybe, same with smart client.
Is there anyone that can advice what i should do regarding this? I mean what
is the best way to solve things like this?
Best regards
Trond
Nov 17 '05 #1
5 1218
infragistic (not sure about charts) uses MSXML to load data from server
without causing postback. at least, you can call web services with
javascript (yes its possible. there is a wrapper HTC file for that.) and
draw image with javascript (i dont know how but i think its possible.)

anyway, if your clients will surely use internet explorer, dont bother with
ajax, infragistic etc. do it easiest way.
Nov 17 '05 #2
GTi
JavaScript image drawing:
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

Nov 17 '05 #3
Trond,

You won't be able to create an Active X control (at least in a supported
way) with .NET. You can embed a control in a web page, but you have to be
aware it will require a change in the security settings on the client.

If you want to try this, check out the following article titled "Using
Windows Forms in Internet Explorer", located at (watch for line wrap):

http://samples.gotdotnet.com/quickst...eSourcing.aspx

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Trond" <tr***@montanis.com> wrote in message
news:OL**************@TK2MSFTNGP15.phx.gbl...
I am asked to make a webpage with an ActiveX control. THe control will show
data from database or webservice and based on those data draw a graph
(Trend control from www.cstsoft.com). I started to wonder if it was the
smartest way to solve this and that leads me to ask out here if it is. Is
there maybe better way to show data like a trend graph? The data sometimes
is near real time and dynamic in the way that it can draw data while being
monitored by the user. AJAX is an approach maybe, same with smart client.
Is there anyone that can advice what i should do regarding this? I mean
what is the best way to solve things like this?
Best regards
Trond

Nov 17 '05 #4
wow, i think its using hundereds of 1x1 pixel divs for painting. good idea.
Nov 17 '05 #5
Another approach, is to rip-off the Office implementation available on their
website using the office web components. What they have done - full code
included - is load a hidden spreadsheet and a chart/cube matrix bound to the
data range in the spreadsheet. As the data changes in real-time, the
chart/cube matrix responds instantly. Unfortunately, the implementation is
an ActiveX hookup underneath.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Trond" <tr***@montanis.com> wrote in message
news:OL**************@TK2MSFTNGP15.phx.gbl...
I am asked to make a webpage with an ActiveX control. THe control will show data from database or webservice and based on those data draw a graph (Trend control from www.cstsoft.com). I started to wonder if it was the smartest
way to solve this and that leads me to ask out here if it is. Is there maybe better way to show data like a trend graph? The data sometimes is near real time and dynamic in the way that it can draw data while being monitored by
the user. AJAX is an approach maybe, same with smart client.
Is there anyone that can advice what i should do regarding this? I mean what is the best way to solve things like this?
Best regards
Trond

Nov 17 '05 #6

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

Similar topics

8
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
2
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
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...
12
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
0
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
7
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
4
by: Wilfried Mestdagh | last post by:
Hi, I have a C# application (VS2005) with Microsoft Mappoint activeX control on a form. At a certain moment I want to create a second one temporary in code. This seems not to work, when I try to...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
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...
0
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...

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.