I came across a sentence
With a view to creating a safe and secure environment for women an armed battalion of women police has been formed in Bihar.
Shall I write it as
With a view to create a safe and secure environment for women an armed battalion of women police has been formed in Bihar.
Is it incorrect to use infinitive in the latter sentence? Does the meaning of both the sentences is same?
If not please explain me the difference in the meaning of the two sentences.
I've seen many explanations regarding the usage of preposition+gerund in stackexchange still I'm in confusion.
Please explain me how and when to use gerunds with prepositions like "to" simpler way.