I want the msscript control to act as an event sink in vb6. I have found several references to this on msdn and othe rplaces, but no working examples. In theory, I should be able to do this:
myscriptcontrol.AddObject "mybutton", Command1
myscriptcontrol.Addcode "sub...
I want the msscript control to act as an event sink in vb6. I have found several references to this on msdn and othe rplaces, but no working examples. In theory, I should be able to do this:
myscriptcontrol.AddObject "mybutton", Command1
myscriptcontrol.Addcode "sub...
ok, xp_cmdshell
Are there constraints on what type of external programs can be launched?
As a simply test I tried this in a insert trigger
master.dbo.xp_cmdshell "notepad"
When I insert a record, not only doesn't notepad start, sql server get hosed.
What am I missing? The book...
Set up a function to launch an application from triggered stored procedure. For instance, a record is has a status field set to "completed" and that triggers an app to start up and send information off to someplace else. Or, I guess, could be a message to another application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.