Click here to Skip to main content
15,894,955 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: database triggers Pin
Qaiser_Iftikhar9-Mar-06 22:42
Qaiser_Iftikhar9-Mar-06 22:42 
AnswerRe: database triggers Pin
Steve Pullan10-Mar-06 0:40
Steve Pullan10-Mar-06 0:40 
GeneralRe: database triggers Pin
Qaiser_Iftikhar10-Mar-06 1:21
Qaiser_Iftikhar10-Mar-06 1:21 
QuestionRe: database triggers Pin
Steve Pullan12-Mar-06 12:13
Steve Pullan12-Mar-06 12:13 
AnswerRe: database triggers Pin
Qaiser_Iftikhar10-Mar-06 1:25
Qaiser_Iftikhar10-Mar-06 1:25 
GeneralRe: database triggers Pin
Dave Kreskowiak10-Mar-06 3:22
mveDave Kreskowiak10-Mar-06 3:22 
AnswerRe: database triggers Pin
Qaiser_Iftikhar10-Mar-06 3:33
Qaiser_Iftikhar10-Mar-06 3:33 
GeneralRe: database triggers Pin
Dave Kreskowiak10-Mar-06 7:11
mveDave Kreskowiak10-Mar-06 7:11 
You mis-understood.

Triggers do not call your VB.NET program. Trigers are fired internal to the database when certain events happen, in the database. For instance, if you setup a Trigger to run when a record is added to a table, the Trigger can call a stored procedure you write in the database, not your VB.NET code.

Now, in SQL Server 2005 (any edition), stored procedures can now be written in any managed language, but they are still stored procedures stored and called inside the database.

Notification Server is something that runs on top of SQL Server that provides the funtionality to send notifications of database changes to external applications. This has nothing to do with Triggers! A Notification is completely independant of a Trigger.

How this works is your application code creates an object that contacts the Notification Server and subscribes to certain notification events that you define for your database. When those events occur, the object you created will fire off events you can handle in your VB.NET code.

You can find out more about how this works, complete with examples(!), by reading through the documentation on Notification Server. All you have to do is follow the link in my previous post.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

AnswerRe: database triggers Pin
Qaiser_Iftikhar10-Mar-06 8:37
Qaiser_Iftikhar10-Mar-06 8:37 
GeneralRe: database triggers Pin
Dave Kreskowiak10-Mar-06 17:58
mveDave Kreskowiak10-Mar-06 17:58 
GeneralRe: database triggers Pin
Qaiser_Iftikhar11-Mar-06 1:00
Qaiser_Iftikhar11-Mar-06 1:00 
AnswerRe: database triggers Pin
Duncan Edwards Jones10-Mar-06 2:32
professionalDuncan Edwards Jones10-Mar-06 2:32 
GeneralRe: database triggers Pin
Qaiser_Iftikhar10-Mar-06 2:35
Qaiser_Iftikhar10-Mar-06 2:35 
QuestionWindows Service Problem Pin
Hisham Javed9-Mar-06 1:36
Hisham Javed9-Mar-06 1:36 
AnswerRe: Windows Service Problem Pin
progload9-Mar-06 5:06
progload9-Mar-06 5:06 
GeneralRe: Windows Service Problem Pin
Hisham Javed9-Mar-06 23:08
Hisham Javed9-Mar-06 23:08 
AnswerRe: Windows Service Problem Pin
Steve Pullan10-Mar-06 0:42
Steve Pullan10-Mar-06 0:42 
QuestionHow can I declare an API out system32 directory? Pin
JUNEYT9-Mar-06 1:19
JUNEYT9-Mar-06 1:19 
AnswerRe: How can I declare an API out system32 directory? Pin
progload9-Mar-06 4:56
progload9-Mar-06 4:56 
GeneralRe: How can I declare an API out system32 directory? Pin
JUNEYT9-Mar-06 5:24
JUNEYT9-Mar-06 5:24 
GeneralRe: How can I declare an API out system32 directory? Pin
progload9-Mar-06 5:46
progload9-Mar-06 5:46 
GeneralRe: How can I declare an API out system32 directory? Pin
JUNEYT9-Mar-06 9:16
JUNEYT9-Mar-06 9:16 
Questionhow to find Code for GoogleToolbar1.dll Pin
Paritos9-Mar-06 1:12
Paritos9-Mar-06 1:12 
AnswerRe: how to find Code for GoogleToolbar1.dll Pin
progload9-Mar-06 5:34
progload9-Mar-06 5:34 
Questionhow to Stop Timer?? Pin
campbells9-Mar-06 0:27
campbells9-Mar-06 0:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.