PDA

Click to See Complete Forum and Search --> : Help with writing an activex dll with VB6


WarrenW
Jun 14th, 2006, 12:42 AM
I have written OCX activex before but now I want to write a DLL to use in some ASP pages. The following will just be an example to know if something like this can be done for understanding.

For example, say I want to include a visual control such as a movie player control inside this control. And I want to add some buttons on the form to work the control, etc. - just like you would in a VB app. Can I do this and as long as the other controls that I use are installed on my web server, can the DLL be loaded on a user's web browser and played?

Basically I just want to group everything into one activex dll to call in the asp web page and have run in the web browser just like an application they would download.

Once I know this and figure it out, I want to then know how to pass data to the DLL for settings and then methods to call it to start, etc.

Thanks!

WarrenW
Jun 14th, 2006, 01:00 AM
Actually I don't think this will work well because then the DLL would be running from the server side right? I need it running on the client side. not sure how to solve this. I guess I could write a new activex OCX file and then launch it to run on the user's browser but they would have to allow the activex to run.

What does anyone suggest? Basically I know the user could just download a program but I want this to be where they can just go to the web site and launch it cause information is passed from the web site to the activex before its launched.

Thanks

WarrenW
Jun 14th, 2006, 01:08 AM
Third idea... what if I wrote a small activex or some java app that the user loads and basically it checks the user's system for the needed files and the latest ones required. If they are not there it will download them and launch. otherwise just launch. What about that? Whats the best way to do this? With some java app or an activex?

Al42
Jun 14th, 2006, 02:17 PM
Nothing that you write in VB6 will run on the user's computer if the user is on a Linux box or a Mac or too old a version of Windows or ...