Reputation: 854
I'm tasked with creating an application that simply passes information from a website (using javascript) to start an application on the local machine. So far I have tried two approaches but I am not exactly happy with them, they work fine but I want to know if there are any other approaches that would be more effective. Here is what I have tried.
Is there anything better than these?
Points of note:
Upvotes: 0
Views: 285
Reputation: 3710
I would use a normal app, minimized to tray? That way you can interact with it if you need to, but it's out of the way, doing its thing. Full access to what you need to do?
Private Sub myform_Resize(sender As Object, e As EventArgs) Handles Me.Resize
If Me.WindowState = FormWindowState.Minimized Then
Me.ShowInTaskbar = False
'show notification
With myNotifyIcon
.BalloonTipIcon = ToolTipIcon.Info
.BalloonTipText = "Running, but hidden"
.BalloonTipTitle = "Going going gone..."
.ShowBalloonTip(3000)
End With
End If
End Sub
Upvotes: 1
Reputation: 8718
If using iis you can inject your code in its pipeline. Other web servers must have the same logic
Upvotes: 0