|
-
Jan 1st, 2003, 02:29 PM
#1
Thread Starter
Junior Member
Graphics in the Net
I have an application in VB 6.0 that fecth records from Oracle DB and Plot a Graphic, Students (enrolled/droped etc) vs Time. This application use Picture Control methods and properties.
I was wondering what will be the best approach to make this available to Internet users.
I have experience developing ASP pages, however, never converted a VB application to the Internet.
Thank you in advance for your help and very Happy new year.
-
Jan 3rd, 2003, 01:15 AM
#2
Frenzied Member
You can either use Java (which means a rewrite) or build an ActiveX control and implement it in an HTML page. Its actually not too hard to do once the control works in a normal app. There are many tutorials out there on how to embed ActiveX controls in a web page.
-
Jan 3rd, 2003, 07:05 PM
#3
Thread Starter
Junior Member
Thanks, I was thinking in that direction, create an Internet enable control, perhaps. I don't think I will have much problems building the Activex. However embeding it in the HTML I have never done it.
I will appreciate if you can you point me to the tutorial.
Regards
-
Jan 7th, 2003, 03:49 PM
#4
Frenzied Member
-
Jan 7th, 2003, 03:53 PM
#5
I probably wouldn't download a whole ActiveX object (much less a VB-created one) for something that could be done in a way that doesn't require me to download anything. And ActiveX objects don't work in Mozilla anyway.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 7th, 2003, 05:07 PM
#6
Good Ol' Platypus
Have it export a PNG/JPEG/GIF/TIFF/whatever with the filename being the ID of the current session. Next page, simply load the image that has the sessionid, and that will be the last image that was requested by your session (phew).
There are many ways to save these formats. The best way is with modFreeImage. Search it on google and you'll get the results you need.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jan 7th, 2003, 05:17 PM
#7
This being a plotted graph I guess PNG is best.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 7th, 2003, 07:13 PM
#8
Thread Starter
Junior Member
Let see if I copy you correctly.
The VB application should plot the graphis as it is doing now in a picture control then:
- save it in PNG format
- Load it back up to the HTML page from the server
But any way I have to contact the server to run the VB application some how ?
Is that the plan ?
-
Jan 7th, 2003, 09:02 PM
#9
Good Ol' Platypus
You create a DLL project, and make an instance of the project in your ASP page to expose it's functionality (or if it's a public class module simply use it). Then, it can generate the file on the server, and another ASP page can link an IMG tag to it.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|