ASP Apps And Functions

Over my years developing ASP applications and writing asp code in general I have created a library of nice little apps and functions that I use over and over again.

I was "thinking" about maybey setting up a site with all my useful functions, subroutines, and possibly applications for people to download and hopefully donate some money if they use them. Perhaps even have some apps for sale only.

The apps will mainly be my useful plugin developments such as guestbook, gallery, login system etc. My question however is do you think it would be worth the time and effort? Do you find yourself using plugins a lot?

I defo think the functions could be handy but again how many of you search for functions to help you out or indeed how many of you currently use functions you have gotten from other people? Would you donate something if you used them?

Mayby some of you have already done something like this and can let me know how you got on?

View Replies


ADVERTISEMENT

Migrating Apps

My client has the need to upgrade to Windows 2000 Server from NT4 but are
concerned about whether there existing custom code (ASP,VB6,MTS, etc) will
work correctly once migrated.
Does anyone know where I might be able to find information relating to what
functionality has been deprecated in Windows 2000 Server since NT4 (I know
CDONTS is one of them).

View Replies View Related

Securing ASP Apps

Are there some easy to use (and free) web scanning tools that can check
for security vulnerabilities (SQL injection, cross site attacks) on classic
ASP apps and suggest ways to fix them?

View Replies View Related

Migration Apps

My client has the need to upgrade to Windows 2000 Server from NT4 but are concerned about whether there existing custom code (ASP,VB6,MTS, etc) will work correctly once migrated.

where I might be able to find information relating to whatfunctionality has been deprecated in Windows 2000 Server since NT4 (I know CDONTS is one of them).

View Replies View Related

Facebook Apps

Does anyone implemented/created any facebook applications using ASP? Is there any recommended url? It seems that asp is lagging behind for web2.0 apps... but i still love asp.

View Replies View Related

Using @@SPID In IIS Apps??

Is there a way to get unique @@SPID to database when programming solutions
for IIS in ASP.

When trying I realize that the actual client/user against MSSQL database is
IIS, not the currently logged on user.

So my question is, can I get a unique @@SPID for every "real" client using
my webapp. when creating connection against database?

View Replies View Related

Time Management Apps

Can anyone recommend project management, timeline and calendar apps I could
install on my own site? Hopefully ASP and SQL based. Most of my searches are
ending with expensive or limited options. Free is great of course! I need
something reasonably priced.

View Replies View Related

Server.Transfer Between 2 Different Web Apps

I have 2 seperate web applications A and B. During the execution of A, I want to do a Server.Transfer to a page in application B. This works fine if A has a reference to B, but without the reference, I get the following error:

Parser Error

Description:

An error occurred during the parsing of a resource
required to service this request. Please review the
following specific parse error details and modify your
source file appropriately.

Parser Error Message:

Could not load type 'B.WebForm1'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="B.aspx.cs"
AutoEventWireup="false" Inherits="B.WebForm1" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>

Source File: c:inetpubwwwrootBB.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

It seems to be looking for B.dll in the path for application A, and can't find it. Because of the specifics of this project I am unable to set a reference, or even include a <codeBase> element in the config file. Is there any way to force the runtime to look in the path of the target application instead of the launching app?

View Replies View Related

Transferred .asp Apps To A New Server, Now All Bug...

First, I've got to apologise if I ask some stupid sounding questions, I'm not trained as a programmer and I'm trying to learn some basics with the help of kind people like yourselves on dev forums.

So, here's the deal. I just purchased a new subscription for shared .asp hosting on a new server. So, I uploaded all my .asp files etc to the new server, keeping the old structure.

You can see the site at www.hydra-breaks.net

The public side of the site runs fine, but I can no longer use any of the admin tools - mostly information submission forms. When I use *any* of the forms, I press "submit", then receive the error message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I don't have admin access as it's shared hosting, or access to the IIS... does anyone have some suggestions?

View Replies View Related

Log Analysis Components/Apps

Are there any free components out there that will analyse IIS log files and write selected information to a DB?

I know there are free packages like Analog and Webalizer, but I'm more interesting in an app or component that feeds log files in to a DB so that it can be queried later.

View Replies View Related

What's The Tool To Use To Deploy Web-based Apps?

What's a great tool to use to deploy n-tier web-based apps? I'm thinking in
terms of an installer that produces a package that a client can run that
will set up one or more IIS sites, copy files to an NTFS partition and set
permissions, create an application and install COM objects in Component
Services, attach (or script the creation and population of) a SQL Server
2000 database, etc.

I'm currently using ASP, IIS 5.0, SQL Server 2000 and VS 6.0 but am about to
take the plunge into .NET for new development. What are the tools that I
should be looking at?

View Replies View Related

Using Functions

I have a file i created
it contains several functions, and some other code to build a string based on diffrent vars.If i run this file standalone, it works absolutly fine. However the problem comes when i include it half way in another script.

I get the following..
VBScript Error 800a03ea
test4.asp, line 2 function encr..

This is line 2
Function Encrypt(Message, EncryptionKey)

View Replies View Related

Functions

I am searching for a function that can separate a string var to some string vars and devide the string by "," marks, os this possible?

example:
str1 = "2,34,1,54"
and I want "2","34","1" and "54" be devided and inserted into new vars, or an array var, is their a VBscript function for this?

I have made a function myself that does this using ths Instr and the Mid functions, but its quit messy and I don't wan't to have to insert it in every page I make, Any Ideas?
Another small thing, I want to learn how to use Classes in ASP, I don't know what to look for exactly, (vlince, I could use a link now...)

View Replies View Related

Functions

<%= functionName(value1, value2) %>

Trying to call a function which returns the modulo of two numbers, can l simply whack the function name in and the value will be returned ?

View Replies View Related

Functions In Asp

I've written the following function but somehow the output is not what I want it to be. Can someone explain to me what i'm doing wrong?

function fn_piping(inputWaarde)
outputwaarde = inputwaarde
Response.Write outputwaarde & "<BR>"
if i = 1 then
i = 2
call fn_piping("thisshouldbethefinaloutput")
else
fn_piping = outputwaarde
end if
end function

i = 1
figure = fn_piping("bla")
Response.Write "<BR>" & figure

So 'thisshouldbethefinaloutput' should be the final output, but it doesn't output anything?!

View Replies View Related

Sub/Functions With FOR

I need a current record in the database for it to work but I have another page that uses this same code and it works fine on that and the only thing different in the coding is where the information is being pulled from in the database and when i first copied & edited the page it worked fine but now it doesn't and i've worked on it .....

View Replies View Related

Functions

I would like to call a asp function when i click a button in a form. I'm using VB. I know in Javascript it the onclick event is there a similar handler in VB????

View Replies View Related

Calling Functions...

Where's the best place for me to include all my functions that I want to call throughout different pages? Should I just put them all in one ASP file and include that page on every page? Or use global.asa somehow (how??)?

Anyways, I was just wondering because I didn't want to slow things down if I could help it (I didn't know if having another big file attached to every page when I'm just using a small portion of it was very effective or not)

View Replies View Related

Date Functions

i am wondering how to actually get the month in letters..... i have used a

strMonth = Month(Date)

but it is returning a number of the month... i would like to make this the actual month such as January, August, etc.... how would i go abt doing this in ASP.....

View Replies View Related

Math Functions...

Didn't remember if anybody had started started like this, but I decided it would be cool to start it again. If you have a math function request ask it below, or if you have made one then add it:

I have a few cretegean plane (think thats how you spell it), calculations. One request I have is, does anybody have a short function for square root?

View Replies View Related

Multiple Functions

I have some code I am working on. One function reads a file using fso, then
I have multiple functions using the string read from the file. Each
function splits the lines up and will return one value.
Is there a better way? Is handling this many array which are basically the
same going to cause some server distress

View Replies View Related

Lack Of Functions

I know there is the function IsNumeric() in ASP and we have a SUM function in SQL, but why don't we have the following functions in ASP:

Code:

Sum()
IsAlphabetic()

View Replies View Related

Reusing Functions

I have been developping a webpage in ASP for about 4 weeks now and I have noticed that I am rewriting similar functions in pretty much every page i make. So I was wondering if there is a way to make some particular functions global so that you can use them in any page. The functions will depend on the session id, but I don't know if i can declare session functions or not.

View Replies View Related

Functions Question

In this function i pass variables to it to find out if a record exists, what i want to do next is call this function and if a record does not exist pass a variable out like Statement = False and then pick up that value on the page that i call the function.

Can this be done? I was thinking perhaps using a Session? Code:

View Replies View Related

NOW() And DATE() Functions

So i am inserting Now() or Date() (Either one will work for what i want), into one of my fields.

But it is returning the Server time, which is about 17 Hours behind of what i want. Is there anyway to insert Australian time, as in where i am situated?

View Replies View Related

VBScript Functions

I'm a PHP programmer. That said, I recently began a job where a good third to half of the applications are written in ASP.NET. VBScript, to be precise. As I've done programming for years (C/C++, PHP, JavaScript, BASIC... the list goes on and on), picking this up hasn't been too difficult, but I now find myself facing a question that I simply cannot find an answer to anywhere:

Can one define a function that has optional parameters in VBScipt?
If not, can it be done in C#, and can C# code be easily integrated into pages written in VBScript?

View Replies View Related

Best Way To Call Functions?

I have written a very complex web app for intranet use. It allows users to search a large database and then returns formatted results. I am currently employing a method as below: Code:

View Replies View Related

Date Functions

if there was a function in ASP that checks a date to see if it is valid or not. I am aware of the IsDate function, but I think its not what I'm looking for. I want to run the following date through a function and have the function tell me that it is

invalid: 31-Feb-2003 (cos there is not 31 days in Feb).

Or a good way to make my own function?

View Replies View Related

Functions Pass By

I have a function called GetRS which takes in a SQL string and returns a recordset object. Does this mean that a copy of the recordset is returned or is it passed by reference?Obviously this could have a large impact on performance for large recordsets.

View Replies View Related

SUBROUTINES Vs FUNCTIONS In Asp

There is a chapter on SUBROUTINES, FUNCTIONS AND INCLUDES.what is the difference between SUBROUTINES and FUNCTIONS. If not mistaken, in VB, the SUBROUTINES return no value, but FUNCTIONS do have return value.Variable in ASP: global versus local.variable not in betweeb function is Global (what about subrountine, is it the same) and variable in between function is local, am I right?

View Replies View Related

Date Functions

I have a column in my SQL server database table by name request_generated_date of datetime datattype and the default value set to it the server date by using the function getdate().

I am querying this table wherein I want to check that when a user submits a form then it should check the following: the submit date (column:request_generated_date in the tabel)should be less than the server date + 24 hours (or one day). When I am writing the query as

where request_generated_date ='"&dateadd('d',1,date())&"'"

but the result set is empty.Can I use the date() function in ASP or not. or should I try to remove the time factor from the server date and then query the column.

View Replies View Related

Javascript Functions

I've got a page displayin a CV and want to have two buttons, one to display the page in printable format and show the print dialog box and the other as a Save As button to show the save as dialog box. does anyone know the two javascript functions.

View Replies View Related

Replace Functions

I have a form that collects the following article information:

title (input type TEXT)
publication date (input type TEXT)
source (input type TEXT)
article text (TEXTAREA)

When I put something like the following sentence into the text area, it's screwy):
The dog's were the perfect "matched" perfectly. I'm using SQL Server 2000. how I would use replace functions to:

1. insert that into the db without errors
2. extract the information with single quotes and double quotes like it should be read.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved