I am trying to use InStr() in my program, I got the following error: error C2065: 'InStr' : undeclared identifier what is the solution? can anyone help me out? I guess it requires some header file to be included!