Solved

activeX controls in asp code?

Posted on 1998-05-29
5
217 Views
Last Modified: 2013-12-25
I need to create an instance of the ms chart activex component in an asp. I know (i think) i need a line similar to "set mychart = server.creatobject("something")" but I cant work out what the something should be. I've tried the class ID, and the description from the registry, but have had no joy. there must be a way to do this.
please help if you can.
0
Comment
Question by:acsmith
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:Jagar
ID: 1856701
What are you using to create the page.
0
 
LVL 2

Expert Comment

by:Jagar
ID: 1856702
What are you using to create the page.
0
 
LVL 1

Author Comment

by:acsmith
ID: 1856703
err.. not sure what you mean by that. I'm running IIS4 on NT4, using Visual InterDev.I can create an instance of the control now (using 'set mychart = Server.CreateObject("mschart.chart.1")') but whenever I try to access a method or property I get a 'Catastrophic error'. I've decided not to use msChart now anyway, but would like to launch an exe from the asp on the server (the exe will draw a graph, either gif or jpeg, and save it as a file, then the asp will send the image file down as part of the html.) Any ideas how I can launch an exe from an asp??
0
 
LVL 2

Accepted Solution

by:
Jagar earned 100 total points
ID: 1856704
Sorry no.  You can try using the shell command, but that probably won't work, ie. x = shell("C:\test.exe").
Or try creating and ActiveX Server on the Server machine that lanches then exe (This is a ActiveX DLL in case you didn't know).
0
 
LVL 1

Author Comment

by:acsmith
ID: 1856705
cheers ;) I'll give it a whirl.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question