Editing your topic to mark it as deleted is frowned upon, see Read before posting: How do I get my question answered?
(Locking it is fine)
Instead, please add an answer on how you solved your problem, so that future users will benefit from the solution.