hi all,
i am doing a project on speech recognition system where i want to give voice commands. i could able to open MS office, Calculator every thing through voice commands. But i want to popup my start menu dynamically using voice commands. how can i do that? This is the code i am using to open a calculator dynamically
Dim p As New Process
p.StartInfo.FileName = "calc.exe"
p.Start()
is there any code like this to pop up my start menu? or else how can i do the same. Please help me..
Kirtan PatelPosted Jan 8, 2010, 2:02 AM
private void button1_Click(object sender, EventArgs e)
{
SendKeys.Send("^{ESC}");
}
Kirtan PatelPosted Jan 8, 2010, 2:41 AM
Download Below Attached Project It works on My Laptop I have Tested it ..
if not works on your computer then let me know .
Santhosh NPosted Jan 8, 2010, 1:39 AM
[DllImport("user32.dll", SetLastError = true)]
static extern IntPtr FindWindowEx(IntPtr parentHandle, IntPtr childAfter,
string className, string windowTitle);
IntPtr taskBarWnd = FindWindow("Shell_TrayWnd", null);
IntPtr startWnd = FindWindowEx(taskBarWnd, IntPtr.Zero, "Button", "Start");
check here for more info on this here
http://www.codeproject.com/KB/miscctrl/hide_vista_start_orb.aspx