I wrote a web application(automation system), i need to alarm user when new mail recived.
I can not write this with c# (win-form) because i have to install .net frame work,so i want to know is any way to write a simple application using java-script or other simple frame work that may you know, to check for new mail and alarm to user in windows ("like a desk app").this is possible?
Updated
So i decide to use vbscript i find a simple example.
Example: The following example demonstrates how to write a simple vbscript to open notepad.exe:
Open Notepad and paste the following code into a new document:
Set WshShell = WScript.CreateObject("WScript.Shell") Dim exeName Dim statusCode exeName = "%windir%\notepad" statusCode = WshShell.Run (exeName, 1, true) MsgBox("End of Program")
Save the file as Example.vbs (manually change the extension to .vbs)
Double-click Example.vbs to run the program which launches Notepad.exe
how can i get query from remote sql server.is this possible?