?
Solved

activeX controls in asp code?

Posted on 1998-05-29
5
Medium Priority
?
235 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 400 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

Quick Start: DOCKER

Sometimes you just need a Quick Start on a topic in order to begin using it.. this is just what you need to know to get up and running with Docker!

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
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 viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

743 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