03-18-2002, 02:29 AM
I am currently working on a project (a web application) with a couple of my friends and they are using ASP to code it. The thing is that I am very new to ASP...in fact, I have never ever used ASP before. Since we are required to hand the project in *very* soon, I decided to 'combine' their ASP codes with my VB codes (I am pretty familiar with VB). I would like to know if this is possible...??
I would also appreciate it if you guys could give me links to various sites that have tutorials/examples.
I *really, really* need some help on this. Can VB be combined with ASP and run properly?
-thanks in advance
03-18-2002, 02:45 AM
They're two different things. You *might* be able to accomplish what you want by creating a COM object in VB and referencing it from ASP.
03-18-2002, 02:56 AM
You mean, calling VB COM objects using ASP?
What should I do if I have written some codes using VB, and my friends have written some codes in ASP, how should I combine it together?
Are there any specific methods?
Sorry if I sound silly.
03-18-2002, 03:07 AM
Yes, you sound silly.
You need to tell us why you want to do this, and what you want to accomplish. It sounds like you want to combine VB and ASP just for the sake of it, in which case I've told you, just make a COM object and use CreateObject in the ASP page with its ProgID.
03-18-2002, 03:22 AM
<Why I want to do it:>
My friends are not proficient in VB and I am not proficient in ASP. We are required to either 1. Learn what we do not know (obviously we have no time for this since we must hand in our application very soon) or 2. Learn how to 'combine' what we know.
Therefore I have decided to use option number 2.
<What we want to accomplish:>
A fully functional web application that uses both VB and ASP as the underlying programming architecture. Eg. Function A and Function B uses VB; Function C and Function D uses ASP.
I know it sounds silly but it IS required of us. Hope you could help some more. I'll try about the COM thingy.
03-18-2002, 07:02 AM
To do that, you'll need to have your VB application running on the webserver. If you can get your host to let you do this, you can then use ASP to call the EXE, passing paramters to it.
Or, you could use VB to create COM objects (classes, ActiveX exes) and create instances of them using ASP.
What is it that you want your functions to do?