VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 About Sub and Function locator
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

42 Posts

Posted - December 22 2005 :  11:41:36  Show Profile  Reply with Quote
I want to know how other ASP developers are finding the locations of Sub and Function are used in ASP scripts of VP-ASP. I wish there is a list of which page that each Sub and Function are located. Sometimes it took me hours to just finding Sub or Function. Or is there any application that will find sub and function automatically while editing ASP scripts?

Edited by - midobu on December 22 2005 11:42:08


4284 Posts

Posted - December 22 2005 :  13:44:32  Show Profile  Visit support's Homepage  Reply with Quote
You can use Dreamweaver's site wide searching feature or we have a basic online search tool that locates all subs and the references throughout the site.

It is not complete as yet but when it is we will add it to our list of downloads.

Thank you
VPASP Support
Go to Top of Page

VP-ASP New User

113 Posts

Posted - December 22 2005 :  14:30:39  Show Profile  Reply with Quote

I use Agent Ransack for finding anything I need in any file.

It works like a charm.

Do a google search and download it, it's free and worth the effort.


Go to Top of Page

VP-ASP Super User

393 Posts

Posted - December 23 2005 :  09:50:13  Show Profile  Visit apswater's Homepage  Reply with Quote
I use note tab light http://www.notetab.com/

You can load all your asp files then search them all for subs, variable or anything.
Go to Top of Page

Starting Member

47 Posts

Posted - December 30 2005 :  06:12:34  Show Profile  Reply with Quote
I wrote something in MS Access a bit ago that scans the folder (local drive) that the .mdb is located in for .asp scripts, searches for subroutines and functions, and loads the following info into an Access table: Filename, Line#, Type (S=Sub,F=Function), Parameter list.

You can then query the table for key words or see all of the routine names in a file at a glance. You can also click on the record to open the file for view. Could be modified to open it in an editor.

If there is interest I can clean it up a bit and make it available.

At one time VPASP support said there would be a place on their website to host 3rd party addons and such. Has that been done? If so, where?

For example, here's what the data looks like for the shoptax.asp file.

Filename Line Type Name Parameters
shoptax.asp - 2 - S - CalculateTax - subtotal,total,shippingcost,tax
shoptax.asp - 37 - S - TaxbyState - price,tax,taxdone
shoptax.asp - 67 - S - TaxbyCountry - price,tax,taxdone
shoptax.asp - 90 - S - TaxbyProduct - iprice,tax,taxdone
shoptax.asp - 127 - S - TaxforEU - taxprice,tax,taxdone
shoptax.asp - 154 - S - TaxCalculatenewsubtotal - newsubtotal
shoptax.asp - 205 - F - TaxFindProduct - productid,products,productcount
shoptax.asp - 220 - F - TaxFindProductDB - productid,taxDbc,taxfield

Edited by - StevenWWinters on December 30 2005 10:00:15
Go to Top of Page


4284 Posts

Posted - December 30 2005 :  20:04:12  Show Profile  Visit support's Homepage  Reply with Quote
Hi Steven,

Thanks for posting!

You can send through your link and some blurb and we will add the details to the following page for you if you like:


We are still planning on building a customer exchange area so you can post your own tid bits but this needs to wit until we have the new version bedded down.

Melanie Anderson
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000