By any means; whatever it takes — an expression showing determination to achieve something (or, in negative contexts, that something absolutely cannot be done).
明日の試験には何としても合格したい。
I absolutely want to pass tomorrow's exam, no matter what.
彼は何としてもその仕事を手に入れようと努力した。
He tried by any means to get that job.
来週の会議には何としても出席してください。
Please attend next week's meeting at all costs.
この問題はどうしても解けなかった(=何としても解けなかった)。
I couldn't solve this problem no matter what (i.e., it was impossible for me to solve).