I am trying to invoke the “Run” dialogue box that is often on the Start Menu – I did some research and have only managed to find one way of accessing it (using “Windows Key” + R).
So I assume simulating key strokes e.g.:
SendKeys.Send("{TEST}")
would do the job? Although how can you simulate the “Windows” key on the keyboard?
I am sure there is an easier way of doing this – without using sendkeys – anyone have any ideas?
You can use PInvoke to invoke Run dialog.
we need to Import the DLL using the DllImport attribute.
Implementation:
}