CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Including Custom Libraries.

Print topic Send  topic

Author Message
marcwolf


Posts: 361
Posted: 01/23/2004, 2:03 PM

We have developed some custom libraries that we use with our ASP apps.

They are written in pure ASP so in essence they are like any of the common ASP Codecharge libraries.

Is there wa way we can tell CC to load these in everytime a new page is created.

It will save a few hassles in reducting the number of things to do when creating pages.

Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message
peterr


Posts: 5971
Posted: 01/23/2004, 2:25 PM

Hi,

You should be able to include your library in Common.asp, for example:
<!-- #INCLUDE FILE="YourLibrary.asp" -->

I usually place custom code at the end of Common.asp, thererfore maybe please try this first.
If for some reason you need to place it at the beginning, please do not modify the generated code-block area identified by gray background in the CCS code editor. Instead, add your custom code inclusion in the code area with the white background, for example after:
<%  
Option Explicit
enter:
%>  
<!-- #INCLUDE FILE="YourLibrary.asp" -->  
<%

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
marcwolf


Posts: 361
Posted: 01/23/2004, 5:59 PM

Thanks..

I have been doing anyway.

What I'd like more is a solution that I can include these files in the project, and they are part of the project, and are copies onto the server as part of the project.

But - they are just ASP files.

I have been thinking of directly modifying the CCS file where you already have the common files listed to see if that will work - by adding in our own files


_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.