Formalin will only reliably treat the dinospores, which are swimming around looking to infect a fish. Eradication with formalin will require several treatments and timing may be tricky.
According to Noga (who wrote "the book" on fish diseases), 1tsp salt per 5 gallons will kill it, but the...