Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coding with DLLs

Status
Not open for further replies.

AndyApp

Programmer
Dec 20, 2001
259
GB
Hi,

I'm struggling a bit with a concept. I can access DLLs, that i've made or other people have made, from ASP. Pass them variables, get stuff back etc, etc.

However, someone has said that it's possible to 'embed' a DLL into an ASP page so you can use it much like you would if you made a reference to something in VB? I'm not completely convinced, and if it does work wouldn't it involve whoever is viewing the page in having the relevant DLL on their machine? If it's possible then how do you do it?

Ta

"Life is like a Ferrari, it goes to fast.
But that's ok, because you can't afford it anyway" - Jim Davis (Garfield)
 
From my experience that is not possible.

THere are many aspects to ASP I have not explored yet though. I think I have about 2 left. :p

___________________________________________________________________

The answer to your ??'s may be closer then you think. faq333-3811
Join the Northern Illinois/Southern Wisconsin members in Forum1064
 
Yes, you can do that. It requires that you make an ActiveX control (.OCX) in Visual Basic speak. The .OCX can have visual elements, or not. Then, by including the object tag in your HTML code it can get downloaded and installed on the client workstation when the page is loaded.

Typically, it requires special work to mark the OCX as "Safe For Scripting", which is somewhat of a pain, but for the most part includes your OCX providing specific COM interfaces.

A better thread for this might be the VB 5 & 6 area. Or, do a search on OCX or "ActiveX".

Good luck,

Regards,
TR
 
then we're going back to installations being needed on the client and forgoing the concept if embedding the dll in the page. or not?

At that point we're talking about having the abilities for any type of file to be installed on the client and used. So to me that indicats that same process of using the server as the storage bin for the dll's.

maybe I missed the question\concept though

___________________________________________________________________

The answer to your ??'s may be closer then you think. faq333-3811
Join the Northern Illinois/Southern Wisconsin members in Forum1064
 
You can use CAB files, glorified ZIP files that have installation programs and "embed" them in your page. The user running the browser will be notified via a dialog that something is trying to install components.

CAB files are often used when you have to deploy an ActiveX control and associated stuff (license files, DLLs, etc).

TR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top