This topic is locked

Add custom include files..

1/26/2009 2:28:07 PM
ASPRunnerPro General questions
M
michaelmac author

Hey Everyone,
I have some custom code I have found that I believe will work with some of my ASP ProRunner projects. How and where I store the code and add it to a project? Also how I get it to be included in my files?
Thanks
Mike

D
dlangham 1/26/2009

Hi,
If you user a head file "header.asp" you could put it in there, if not just create a blank one, your page will call "header.asp" by default?

M
marcgv 3/25/2009

hi all!
I try do this and doesn´t work. Just work when I put my function inside the file "commonfunctions.asp".
Using on: "add page: before process" this:
result= summ(10,20)

response.write(result)
this code up, works when the function summ is inside the file "commonfunctions.asp", but when is inside the /include/header.asp, dont work.
someone help me please!!! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=39447&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />

Sergey Kornilov admin 3/25/2009

I recommend to post your application to Demo Account (use 'Demo Account' button on the last screen in program). Then open a ticket at http://support.xlinesoft.com sending your Demo Account URL for investigation.

R
Ricardo Web 4/7/2009

Hi,
In archive header.asp i created a function in asp example :

<%

function soma(a,<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=39929&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />

c= a+ b

soma = c

end function

%>
header.asp in output\include Ok.
And in project i make a event in events, code snippet inserted in Visual Editor "OR" Use Event Lista Page Before Process with expression :
resultado = soma (32,1)

response.write resultado
But doesn´t work my function in asp.
Why don´t recognizes my function in asp , only functions javascript or code asp pure, not works function in asp (function() end function)????
help me please!!! tanks.. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=39929&image=2&table=forumreplies' class='bbc_emoticon' alt=':unsure:' />

Sergey Kornilov admin 4/7/2009

I recommend to post your application to Demo Account (use 'Demo Account' button on the last screen in program). Then open a ticket at http://support.xlinesoft.com sending your Demo Account URL for investigation.