Still looking for solution please help
仍在寻找解决方案请帮忙
I do agree with all of you but the thing is that happened with ie cant be with any other browser I am looking for some settings/option so that it will kill the process as soon as the firefox window is closed
我同意你们所有人的意见,但事情就是发生了,因为我不能在任何其他浏览器中寻找一些设置/选项,以便在firefox窗口关闭后立即终止进程
origional message
Hi all,
I am going to set Mozila fire fox as my default web browser to .net applications. The problem is that the application keep on running mode even I close the browser window. Its not the same with IE.
我将把Mozila fire fox设置为.net应用程序的默认Web浏览器。问题是即使关闭浏览器窗口,应用程序仍保持运行模式。它与IE不一样。
For certain reasons I have to use Fire Fox instead of IE
出于某些原因,我必须使用Fire Fox而不是IE
Is there any way to close the application (stop) when the Firefox window is closed (not by explicitly hitting the stop button on the project window)
有没有办法在Firefox窗口关闭时关闭应用程序(停止)(而不是明确点击项目窗口上的停止按钮)
4 个解决方案
#1
2
Configure you Web Application project's Start Action to "Start external program", point it to firefox, set command line arguments to your site. E.g.
将Web应用程序项目的“开始操作”配置为“启动外部程序”,将其指向firefox,为您的站点设置命令行参数。例如。
Start external program: C:\Program Files\Mozilla Firefox\firefox.exe
Command line arguments: http://localhost:8888/
Does this fit your needs?
这符合您的需求吗?
#2
1
If you are using the built-in web server in VS then you can kill it by right-clicking the icon in the system tray. Not sure if that is what you mean?
如果您在VS中使用内置Web服务器,则可以通过右键单击系统托盘中的图标来终止它。不确定这是不是你的意思?
#3
1
For those who answer this question, please try to have a test with yours vs first, instead of simply answer here. Using your vs and set firefox as your vs default browser, then run it. After you running a webpage, then close the firefox, see your program still running.
对于那些回答这个问题的人,请尝试与你的首先进行测试,而不是简单地回答这里。使用你的vs并设置firefox作为vs默认浏览器,然后运行它。运行网页后,关闭Firefox,看看您的程序仍在运行。
#4
0
You might need to look into extensibility model for VS 2010?
您可能需要研究VS 2010的可扩展性模型?
There might be a way to customize launch connection to browser.
可能有一种方法可以自定义与浏览器的启动连接。
Or Possibly Build a FireFox Plug in that interacts with VS the same way IE does.
或者可能构建一个与VS交互的FireFox插件,就像IE一样。
I really have no idea... just thought i would throw some areas i would start looking into~
我真的不知道......只是以为我会抛出一些我会开始研究的区域〜
Good Luck~
#1
2
Configure you Web Application project's Start Action to "Start external program", point it to firefox, set command line arguments to your site. E.g.
将Web应用程序项目的“开始操作”配置为“启动外部程序”,将其指向firefox,为您的站点设置命令行参数。例如。
Start external program: C:\Program Files\Mozilla Firefox\firefox.exe
Command line arguments: http://localhost:8888/
Does this fit your needs?
这符合您的需求吗?
#2
1
If you are using the built-in web server in VS then you can kill it by right-clicking the icon in the system tray. Not sure if that is what you mean?
如果您在VS中使用内置Web服务器,则可以通过右键单击系统托盘中的图标来终止它。不确定这是不是你的意思?
#3
1
For those who answer this question, please try to have a test with yours vs first, instead of simply answer here. Using your vs and set firefox as your vs default browser, then run it. After you running a webpage, then close the firefox, see your program still running.
对于那些回答这个问题的人,请尝试与你的首先进行测试,而不是简单地回答这里。使用你的vs并设置firefox作为vs默认浏览器,然后运行它。运行网页后,关闭Firefox,看看您的程序仍在运行。
#4
0
You might need to look into extensibility model for VS 2010?
您可能需要研究VS 2010的可扩展性模型?
There might be a way to customize launch connection to browser.
可能有一种方法可以自定义与浏览器的启动连接。
Or Possibly Build a FireFox Plug in that interacts with VS the same way IE does.
或者可能构建一个与VS交互的FireFox插件,就像IE一样。
I really have no idea... just thought i would throw some areas i would start looking into~
我真的不知道......只是以为我会抛出一些我会开始研究的区域〜
Good Luck~