Vietnamese keep French totally out before 1900

Is there any way that the Vietnamese in the 19th C could've totally resisted french conquest & colonial domination ?
 
Top