|
-
Aug 18th, 2000, 01:43 AM
#1
Thread Starter
New Member
Can an ASP/VBScript project be created in Visual Basic? If so, what type of project should be used?
-J.R.
-
Aug 18th, 2000, 02:28 AM
#2
Fanatic Member
Hi JohnnyRocket
The way use this is to make a vb com dll with all your procedures and functions that you need for your ASP pages and then reference the dll in your pages to do all the hard work. There are several advantages over scripting doing iy this way instead of just using ASP scripting. One is process power - If your ASP page is doing a lot of work, Scripting will eat up lots of process and memory where as a dll doesn't. secondly speed - A dll can leave scripting at the starting blocks.
My advice is if you are doing relative small pages, carry on using scripting but if you have very large pages, move it across to vb dll's. And If you combine the dll's with MTS (Microsoft Transaction Server) you have one very powerful web application.
Hope this helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Aug 18th, 2000, 01:27 PM
#3
Thread Starter
New Member
Thanks for the info. I was using notepad before and I was just looking for something that would make formatting easier and have color-coding so it could be understood better. The dll idea sounds nice though and I think I will try it.
How can I reference a dll in VBScript/ASP?
-
Aug 20th, 2000, 12:02 PM
#4
Guru
If you are just looking for a nice HTML/VBScript/JavaScript editor, use Visual Interdev.
VB DLLs (or VB6 webclasses) are not appropriate in all situations and can be tricky to maintain and deploy. If you just want a good editor, similar to the VB IDE, use Visual Interdev
-
Aug 21st, 2000, 03:05 AM
#5
Fanatic Member
Hi JohnnyRocket
What Clunietp is true that it is not alway's good to use the dll's all the time but if your web app is doing very heavy data retrieval all the time, I would recomend it. to reference dll's in ASP use ther Server.CreateObject method.
Eg. Set MyObj = Server.CreateObject("dllprojectname.Myclass").
Hope this helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
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
|