• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Web enabling a current VB program

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More

View previous topic :: View next topic  
Author Message
chris
Forum Fanatic
Forum Fanatic


Joined: 18 Apr 2002
Posts: 16777201
Location: ~/security-forums

Offline

PostPosted: Mon Apr 22, 2002 2:35 am    Post subject: Web enabling a current VB program Reply with quote

This is just for a 'in theory' type thing for a bit of work.

Already have a VB working project, im presuming it can be compiled into a .DLL and then parameters passed between the DLL and ASP pages for example to web enable the application.

Without going into detail on the actual program side does anyone have any generic docs or web pages.

Cut N pasteable stuff would be ideal Smile
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
haydies
Just Arrived
Just Arrived


Joined: 19 Apr 2002
Posts: 0
Location: Hades

Offline

PostPosted: Mon Apr 22, 2002 9:54 am    Post subject: Reply with quote

You would be better off makeing it in to an OCX, not to hard there is a wizaed to create them I would think.

I hate VB so I don't know exactly how to do it, but OCX's are easy to call from ASP. You can use a DLL, or you can use an EXE but the OCX is probably best. The EXE approach the worst.

OCX's are DLL any way, just with a much better access method.

Alternitively port it to Delphi much better Razz
Back to top
View user's profile Send private message Visit poster's website
JJ
Guest






PostPosted: Tue Apr 23, 2002 12:39 am    Post subject: Reply with quote

Compile as DLL if it is non visible is Data Access or OCX if it is to have a visual side.

Once compled placed on server and registered you can used the ASP Server Create Object to Init the (OCX/DLL) and Set obj = nothing to Kill it
Any Quest Just ask.
Back to top
haydies
Just Arrived
Just Arrived


Joined: 19 Apr 2002
Posts: 0
Location: Hades

Offline

PostPosted: Tue Apr 23, 2002 11:13 am    Post subject: Reply with quote

OCXs don't have to be visual, its just a dll any way, with a flashy header....
Back to top
View user's profile Send private message Visit poster's website
ToddK
Just Arrived
Just Arrived


Joined: 29 Nov 2002
Posts: 0
Location: Ottawa, Canada

Offline

PostPosted: Sat Nov 30, 2002 10:10 am    Post subject: Reply with quote

This is called the COM/VB/ASP development model and is fairly common. You use ASP pages to call the COM component(.dll). You can also do it with PHP. One of the reasons to do this is, as you mentioned, to web enable older systems. The success of this approach depends on how clean the original dll's code was. If is was properly designed then it should work. Another good reason for this is to hide your code from people after it is deployed.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Looking for more Windows Networking info?

Sign up to the WindowsNetworking.com Monthly Newsletter, written by Enterprise Security MVP Deb Shinder, containing news, the hottest tips, Networking links of the month and much more. Subscribe today and don't miss a thing!
View a sample newsletter.

Become a WindowsNetworking.com member!

Discuss your Windows Networking issues with thousands of other Windows Newtorking experts. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred data recovery solution?

Follow TechGenix on Twitter