VB2010 如何用按钮清除cookies webbrowser? [英] VB2010 How can i clear cookies webbrowser with button?

查看:33
本文介绍了VB2010 如何用按钮清除cookies webbrowser?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VB2010 如何清除带有按钮的 cookie 浏览器?

VB2010 How can i clear cookies webbrowser with button ?

我在 vb2010 上创建了我的网络浏览器,但我遇到了问题;我如何清除 Webbrowser cookie &缓存?已经回答了 1000 次,但我仍然没有找到可行的解决方案...

I created my webbrowser on vb2010 but i have problem; how can i clear Webbrowser cookies & cache? Its been answered 1k times but i still didn't find working solution...

推荐答案

在实际运行 Web 浏览器之前,您可能必须执行此操作.

You may have to do this before you actually run the web browser.

临时 Internet 文件

Temporary Internet Files

System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 8")

饼干

System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 2")

历史

System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 1")

希望这会有所帮助.

这篇关于VB2010 如何用按钮清除cookies webbrowser?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆