+0
After the adverb "when", when does the next verb is an infinite and when a gerund, and why?. Example:

When going to a party becomes dangerous. OR

When to go to a party becomes dangerous.

please explain why.

thanks a lot, you are unbelieveble.
+0
Neither example is correct. A subordinate clause can't constitute a sentence without a main clause. When + ing is correct in a temporal clause equivalent:

He fell asleep when/while reading a book.

CB
+0
Neither of these is a well-formed, complete sentence.
______

The first (when going to a party) means [when / at the time that] it becomes dangerous to go to a party.
It's an adverbial subordinate clause.

When going to a party becomes dangerous, it's time to think seriously about the situation.
= [When / At the time that] it becomes dangerous to go to a party, it's time to think seriously about the situation.

______

The second (when to go to a party) means the time at which you go to a party. It's a noun phrase. It's related to an indirect question. This cannot be used as you have it in your example. But changing it, we can have this:

When to go to a party is a difficult question. Is it better to arrive early? Is it better to arrive late?
= The time at which you go to a party is a difficult question. Is it better to arrive early? Is it better to arrive late?


CJ