Welcome to Help4Web.co.uk - Web Design Help, Html Tutorial, Php, Asp , SQL help and CCNA, MCSE definitions!
Google
Webkpop-web.com

     Main Menu

· Home
· Free Downloads
· Computing FAQ
· Contact Us
· Free Software Downloads
· Tech Forum
· Technology News
· Web Design Help
· Web Links
· Your Online Account
· Your PM



     Web Browser


     Website Links
Supermediastore! #1 in Computer media & Accessory

White Papers IT
Learn Korean
Chinese Pop Music
Advertise Kpop
Korean Pop Site Map
Web Design
Pop Music
Chinese Girls
HK Pop Korean Music
Lee Hyori
Hyori
Boa Park Ji Yoon
Baby Vox YG Family
Jeon Ji Hyun
1 Tym Ha Ji Won
Shyne Rain Bi
Shin Mina SM Town
Fly to the Sky
Korean Girls and Models
Nicholas Tse
161 Clan
보아
Edison Chen
Sung Hi Lee
Shinhwa
Andy Lau Jay Chou
White Papers
Case Study SES
Kelly Chen
Liu Yi Fei Sammi Cheng
Jordan Chan Music
Computer Jobs IT

Computer Help Forum and Programming Advice :: View topic - Make one function to be available from any page?
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

Make one function to be available from any page?

 
Post new topic   Reply to topic    Computer Help Forum and Programming Advice Forum Index -> Asp
View previous topic :: View next topic  
Author Message
elrico
Freshman
Freshman


Joined: Oct 18, 2005
Posts: 8

PostPosted: Mon Jan 23, 2006 9:45 pm    Post subject: Make one function to be available from any page? Reply with quote

How can I make one function to be available from any page from my site?

Depending on some situations, I or the user, need to execute a function (e.g., login, sending email, etc...) and then continue from the original place. How can I make one function to be available from any page from my site?
Back to top
View user's profile Send private message
benq
Web Design Newbie
Web Design Newbie


Joined: Dec 13, 2005
Posts: 11

PostPosted: Mon Jan 23, 2006 9:47 pm    Post subject: Reply with quote

Try this one.

Create a new class (.cls)
Add the function in the new class.
Compile the new class into a DLL.
Register the new DLL.
Then reference the DLL to all the pages that will use the function.

Let me know if that helps
Back to top
View user's profile Send private message
kpop
Web Design Newbie
Web Design Newbie


Joined: Jul 12, 2004
Posts: 11

PostPosted: Mon Jan 23, 2006 9:49 pm    Post subject: Reply with quote

Like above you can create a .dll or you can create an include folder, reference it in your page eg.
<!-- #INCLUDE FILE = "include/functions.asp"-->

then call the required function that you need. eg sendemail(pass in required parameters)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Computer Help Forum and Programming Advice Forum Index -> Asp All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum







Learn Chinese | Learn cantonese | Learn Mandarin | Grace Park | Party Organisers | Kaila yu | Phone Card | Twins | Chinese Society | Loans UK | BokuMaro | CV Help Book | Chinese Wife | Korean Singles | British Born Chinese | Bae Yong Jun | Speak Korean | Chinese Models | Music | Information Security Management | Maritime Greenwich Campus | Covering Letters Help | Chinese Music | Jang Nara | SES | YG Family | Learn Korean | Firewall Definition | Server Definition | Wireless Network Definition | E-Commerce Definition | Sales Leads | Application Firewall | CCNA definitions | Research Papers | Webcast | CV Help

Author KPop Music :- Jon Bock ( Chinese Pop Music Learn Korean )
Produced by Kpop-Web Design Associates, all rights not reserved.
Internet Marketing and Search Engine Optimisation Software Defined Radio