启动网站寻求帮助 [英] Launching Web site for help

查看:77
本文介绍了启动网站寻求帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经决定将我的帮助页面存储在一个网站上,而不是用我的应用程序提供

(试图减小安装文件的大小)。

该网站已经准备好摇滚了。


如何从VB.net启动Internet Explorer窗口,但制作

窗口无菜单,按钮和地址栏少等)并打开

帮助页面的URL?


我可以从命令行看到如何在kiosk中运行Internet Explorer

模式,但我不想走那么远!


有什么建议吗?


提前致谢

I''ve decided to store my help pages on a web site rather than deliver with
my application (trying to reduce the size of the install files).

The web site is sort of all ready to rock and roll.

How from VB.net do I launch an internet explorer window, but making the
window menuless, button and address bar less etc) and open the url for the
help pages?

I can see from the command line how to run internet explorer in "kiosk"
mode, but I don''t want to go that far!

Any suggestions?

Thanks in advance

推荐答案

Simon,


一个简单的建议,将页面存储在数据库中并使用GUID键。


我们一直这样做,我们现在看到它也是由Microsoft完成的

(不是我们打算从我们这里得到这个)


它保留了如果你重新组织你的网站参考(网址)永远保持




Cor


"西蒙维罗纳" < xx@xx.comschreef在bericht

新闻:%2 **************** @ TK2MSFTNGP02.phx.gbl ...
Simon,

A simple advice, store you pages in a database and use for the key a GUID.

We have forever done it that way, we see it now done by Microsoft as well
(not that we intend that they got this from us)

It preserves that if you reorganise your website the reference (url) stays
forever the same.

Cor

"Simon Verona" <xx@xx.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...

我决定将我的帮助页面存储在一个网站上,而不是用我的应用程序提供

(试图减小安装文件的大小) )。


这个网站已经准备好摇滚了。


如何从VB.net启动Internet Explorer窗口,但是使

窗口无窗口,按钮和地址栏等等)并打开

帮助页面的URL?


我可以从命令行看到如何在kiosk

模式下运行Internet Explorer,但我不想走那么远!


有什么建议吗?


提前致谢
I''ve decided to store my help pages on a web site rather than deliver with
my application (trying to reduce the size of the install files).

The web site is sort of all ready to rock and roll.

How from VB.net do I launch an internet explorer window, but making the
window menuless, button and address bar less etc) and open the url for the
help pages?

I can see from the command line how to run internet explorer in "kiosk"
mode, but I don''t want to go that far!

Any suggestions?

Thanks in advance





Simon Verona写道:

Simon Verona wrote:

我决定将我的帮助页面存储在一个网站上,而不是提供给我我的应用程序(试图减小安装文件的大小)



这个网站已经准备好摇滚了。 />

如何从VB.net启动一个Internet Explorer窗口,但是使

窗口无窗口,按钮和地址栏等等)并打开网址

帮助页面?


我可以从命令行看到如何在kiosk中运行Internet Explorer

模式,但我不想走那么远!
I''ve decided to store my help pages on a web site rather than deliver with
my application (trying to reduce the size of the install files).

The web site is sort of all ready to rock and roll.

How from VB.net do I launch an internet explorer window, but making the
window menuless, button and address bar less etc) and open the url for the
help pages?

I can see from the command line how to run internet explorer in "kiosk"
mode, but I don''t want to go that far!



< snip>


如果您从用户角度接受建议,请点击此处:

拜托,不要那样做。不要乱用浏览器窗口。


把自己放在用户的位置,你会看到启动IE

windows没有通常的界面元素很烦人,

不专业,甚至粗鲁。此外,愤怒的用户(我自己说话来自

)只会按Ctrl + N无菜单/地址无条件/无论如何

窗口并完全失败你原来的目的 - 这是......?


如果你想向用户显示网页/网站而不想要
放弃对浏览器窗口的控制,通过承载WebBrowser控件的
滚动你自己的窗口(你需要VB 2005才能做到这一点)。


如果你真的想打开一个指向你主页的浏览器窗口,你可以启动*地址*并让系统选择正确的

浏览器(IE, Firefox,Opera或用户设置的任何浏览器

默认值):


< aircode>

导入SysDiag = System.Diagnostics

''...

''...

Dim P As SysDiag.Process

尝试

P = SysDiag.Process.Start(" http://www.yoursiteaddr.com")

Catch E x作为例外

''...

结束尝试

''...

< / aircode>


HTH。


问候,


布兰科。

<snip>

If you''d accept a suggestion from a user perspective, here it goes:
please, don''t do that. Don''t mess with the browser window.

Put yourself in your users place and you''ll see that launching IE
windows without the usual interface elements is annoying,
unprofessional, even rude. Besides, the angry user (I''m speaking from
myself) would just Ctrl+N the menuless/address bar-less/whatever-less
window and completely defeat your original purposes -- which were...?

If you want to show a web page/site to the user and don''t want to
relinquish control of the browser window, roll your own window by
hosting the WebBrowser control (you''d need VB 2005 to do that).

If you really want to open a browser window pointing to your home page,
you may launch the *address* and let the system pick up the correct
browser (IE, Firefox, Opera, or whatever browser the user has set up as
default):

<aircode>
Imports SysDiag = System.Diagnostics
''...
''...
Dim P As SysDiag.Process
Try
P = SysDiag.Process.Start("http://www.yoursiteaddr.com")
Catch Ex As Exception
''...
End Try
''...
</aircode>

HTH.

Regards,

Branco.


Branco,
Branco,

>

如果要显示网页/站点给用户并且不想放弃对浏览器窗口的控制
放弃自己的窗口通过

托管WebBrowser控件(你需要VB) 2005年要做到这一点)。
>
If you want to show a web page/site to the user and don''t want to
relinquish control of the browser window, roll your own window by
hosting the WebBrowser control (you''d need VB 2005 to do that).



使用AxWebbrowser它更容易,但是不会像WebBrowser那样部署它。

很好。 br />

正如另外我同意你的意见。


Cor

With the AxWebbrowser it is even easier, however that does not deploy so
nice as the WebBrowser.

Just as addition the rest I agree with you.

Cor


这篇关于启动网站寻求帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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