gnans
March 21st, 2001, 09:25 AM
Hi,
Here I have code in the button click event to close the console window, which is run by the Shell("application",mode) function in VB from other event .Using AppActivate(taskid,mode) function, I activate console window using its task id,which is returned from Shell function and I close it by sending Control+C(^C) through SendKeys (KeysCombination,mode) statement. This is working fine in Windows NT platform. But the same code on Windows'9X does not close the console window. what would be the problem?
How do I solve it? Please help me..
regards
Gnana Reddy
Here I have code in the button click event to close the console window, which is run by the Shell("application",mode) function in VB from other event .Using AppActivate(taskid,mode) function, I activate console window using its task id,which is returned from Shell function and I close it by sending Control+C(^C) through SendKeys (KeysCombination,mode) statement. This is working fine in Windows NT platform. But the same code on Windows'9X does not close the console window. what would be the problem?
How do I solve it? Please help me..
regards
Gnana Reddy