Using VS 2015 and Visual Basic.
I have a web application and I want to trigger a scheduled task (TaskA) on a remote server (ServerA) when the application loads.
I have been looking at the following question but I cannot get this to work, partly because its in c# (c# to vb converters throw an error) and also I have imported the nuget package but the namespace isn't recognised.
C# Starting a remote scheduled task
For example if I start with the following VS doesn't like it. the line is highlighted to me saying it is a namespace and cannot be used as an expression.
Using Microsoft.Win32.TaskScheduler
End Using
All I want my app to do is trigger the tasks, I don't need a response etc.
Can anyone help