I try to perform traceroute using VB6, but don't have any idea how.
Any ideas?
Randy Birch has details about how to Perform a Tracert (Trace Route) in VB His article contains too much detail to post here, so just head over there and check it out.
His solution may appear verbose at first and it uses some/many API calls, but don't let that scare you off, it's all pretty straight forward once you read through it all step by step.
Edit: Sorry, I really should have read the question properly - I don't believe Randy's article will help you with any IPv4 vs IPv6 problems, but it will give you good place to start.