ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 28th, 2008, 08:24 AM
fujin fujin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Location: Singapore
Posts: 31 fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 9 h 27 m 45 sec
Reputation Power: 2
Send a message via MSN to fujin
General Question - In need of advise

Hi Guys

I need some advise ..
I am absolutely clueless on what i need to do ..

The company i'm wrking at right now already has a ASP system running capturing data from its employees. And usually the supervisor will launch another part of the application whereby to check out the information that has been keyed in.

Now comes in my part.. they want to run an automated program that will monitor the inputs by the staff .. and at the same time, send an email to update the supervisors after 15min or so.. i've never done this b4.

any idea wat is it called?

kinda desperate i suppose...

pls help.

thanks!

Reply With Quote
  #2  
Old May 28th, 2008, 09:22 AM
Wolffy's Avatar
Wolffy Wolffy is offline
Slaprentice of Wolves
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Aug 2007
Location: Mossville, IL
Posts: 1,467 Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level)Wolffy User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 1 h 42 m 14 sec
Reputation Power: 519
Is the data being input stored in an MSSQL database? If so, it should be possible to write a stored procedure that is executed by a job every 15 minutes or so.
__________________
Wolffy
------------------------
Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Rework for your specific environment may be required. Void where prohibited by law. Not valid in California. Your mileage may vary. Not FDIC insured

Reply With Quote
  #3  
Old May 29th, 2008, 12:59 AM
fujin fujin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Location: Singapore
Posts: 31 fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 9 h 27 m 45 sec
Reputation Power: 2
Send a message via MSN to fujin
Quote:
Originally Posted by Wolffy
Is the data being input stored in an MSSQL database? If so, it should be possible to write a stored procedure that is executed by a job every 15 minutes or so.


Hi Wolffy

yes, the data's being stored in a MS SQL 2000.

When u mentioned, writing a stored procedure, is this done on the MS SQL 2000 ?

Reply With Quote
  #4  
Old May 29th, 2008, 02:30 AM
Dr_Rock's Avatar
Dr_Rock Dr_Rock is offline
Wizard Down Under
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Location: Australia
Posts: 250 Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Days 4 h 5 m 53 sec
Reputation Power: 211
Send a message via MSN to Dr_Rock Send a message via Yahoo to Dr_Rock
Yes stored procedures are stored within SQL, Then language they are written in is T-SQL, you will need enterprise manager for SQL 2000 or SQL Server Management Studio for more recent versions.

If you have access to the server then I would suggest writing a page which gathers the emloyee submissions and emails them to the right person, then run a scheduled task at intervals which executes the page. You will not be able to do this unless you have access to a server which is always on and always online.
__________________
For my first trick watch me turn a zero into a one...

Reply With Quote
  #5  
Old May 29th, 2008, 02:52 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,744 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 42 m 45 sec
Reputation Power: 1914
I'm not sure Stored Procedures can send emails.. ?
maybe it would be more simple for you to write full scale application
in VB, C++ or even .NET that will run in the background or as
Windows Service, query the database and perform the desired actions.
are you familiar with any of the above programming languages?

Reply With Quote
  #6  
Old May 29th, 2008, 07:39 AM
jmurrayhead jmurrayhead is offline
Moderator
ASP Free God 17th Plane (13000 - 13499 posts)
 
Join Date: Feb 2004
Location: Reston, VA, USA
Posts: 13,091 jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced Folder
Time spent in forums: 3 Months 1 Week 10 h 23 m 53 sec
Reputation Power: 1580
Yup, you can. Here's an example: Sending email with stored procedure
Comments on this post
AOG123 agrees!
__________________
jmurrayhead

Did I help you out? Make me popular by clicking the icon!

New Members:Proper way to post a question

Powered by ASP.Net

Reply With Quote
  #7  
Old May 29th, 2008, 09:22 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,744 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1Folding Points: 378383 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 42 m 45 sec
Reputation Power: 1914
Quote:
Originally Posted by jmurrayhead
Yup, you can. Here's an example: Sending email with stored procedure
nice!
but are you sure it's wise to show us the dark side?

Reply With Quote
  #8  
Old May 29th, 2008, 09:26 AM
jmurrayhead jmurrayhead is offline
Moderator
ASP Free God 17th Plane (13000 - 13499 posts)
 
Join Date: Feb 2004
Location: Reston, VA, USA
Posts: 13,091 jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced FolderFolding Points: 87702 Folding Title: Advanced Folder
Time spent in forums: 3 Months 1 Week 10 h 23 m 53 sec
Reputation Power: 1580
Quote:
Originally Posted by Shadow Wizard
nice!
but are you sure it's wise to show us the dark side?


It's the new "bright side" There was a good example already, so I felt it necessary

Reply With Quote
  #9  
Old June 9th, 2008, 02:24 AM
fujin fujin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Location: Singapore
Posts: 31 fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 9 h 27 m 45 sec
Reputation Power: 2
Send a message via MSN to fujin
hi guys

down on my luck, had a road accident, now on my bed .. at home FINALLY!!
i will see what's the update's like and i will update u guys again!

appreciate this people

thank you so much

fj

Reply With Quote
  #10  
Old June 10th, 2008, 12:12 AM
fujin fujin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Location: Singapore
Posts: 31 fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 9 h 27 m 45 sec
Reputation Power: 2
Send a message via MSN to fujin
Quote:
Originally Posted by Shadow Wizard
I'm not sure Stored Procedures can send emails.. ?
maybe it would be more simple for you to write full scale application
in VB, C++ or even .NET that will run in the background or as
Windows Service, query the database and perform the desired actions.
are you familiar with any of the above programming languages?


i only know VB .. that was years ago using visual studio 97 .. is that still usable? my god ..

Reply With Quote
  #11  
Old June 10th, 2008, 02:17 AM
Dr_Rock's Avatar
Dr_Rock Dr_Rock is offline
Wizard Down Under
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Location: Australia
Posts: 250 Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level)Dr_Rock User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Days 4 h 5 m 53 sec
Reputation Power: 211
Send a message via MSN to Dr_Rock Send a message via Yahoo to Dr_Rock
Yeah you should have no problem writing this in vb

Reply With Quote
  #12  
Old June 10th, 2008, 07:51 AM
fujin fujin is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Location: Singapore
Posts: 31 fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level)fujin User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 9 h 27 m 45 sec
Reputation Power: 2
Send a message via MSN to fujin
hi there

me again. if using the enterprise manager, is it more advisable?

wadya guys think?

appreciate ur advise

Reply With Quote
  #13  
Old June 10th, 2008, 07:56 AM
jmurrayhead jmurrayhead is offline
Moderator
ASP Free God 17th Plane (13000 - 13499 posts)