Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对有关锚标签的网络浏览器控制有疑问。是否可以在 vb.net 中以编程方式转到 webbrowser 控件中的锚标记?理想情况下,我想在 winform 表单上提供一个下拉组合框,并控制当用户从组合框中进行选择时用户转到 html 页面的哪个部分。任何帮助将不胜感激。
未经测试,但您应该能够:
WebBrowser.Navigate("#someAnchor")