There is no exact way to get 100% chance with any thing but the masterball.
You could, however, paralyze ho-oh and use a few quick balls. If that strategy doesn't work ypu can jeep making him sleep with spore and use stalling attcks for a while, after you've done that use timer balls, the catch rate increases every turn.