public const int WM_SYSCOMMAND = 0x0112; public const int SC_CLOSE = 0xF060; public const int WM_SETTEXT = 0x000C; private void ChooseFile() { // retrieve the handler of the window int iHandle = FindWindow("#32770", "File Upload"); if (iHandle > 0) { //Choose File - using a string with the file path //Press OK } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)