HTA的 [英] HTA's

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

问题描述

Hello All,


我从最近的帖子中收到的回复建议我开发一个HTA来支持
使我的ASP.NET应用程序可以运行用户'

浏览器中的全屏模式。


我已经玩过这个了,并且没有运气让它上班。可以

有人给我指示使用

HTA打开我的login.aspx表单的示例代码吗?


另外,来自我所看到的HTA总是向用户显示提示

打开或保存。有没有办法避免这种情况?


感谢您的帮助。


Herb

解决方案

Herb,


只需使用简单的JavaScript即可全屏打开。


功能全屏( theURL)

{

window.open(theURL,'''',''fullscreen = yes,scrollbars = auto'');

}


问候,

Brian K. Williams


" Herb Stull" < ST ***** @ nauticom.net>在消息中写道

news:40 ********** @ news.nauticom.net ...

Hello All,
,以使我的ASP.NET应用程序能够在用户的浏览器中以全屏模式运行。
<我已经玩过这个了,并且没有运气让它上班。可以
任何人都指向我使用
HTA打开我的login.aspx表单的示例代码吗?

此外,从我所看到的HTA它始终显示提示
用户打开或保存。有什么方法可以避免这种情况吗?

感谢您的帮助。

Herb



我有点笨......什么是HTA?


" Herb Stull" < ST ***** @ nauticom.net>在消息中写道

news:40 ********** @ news.nauticom.net ...

Hello All,
,以使我的ASP.NET应用程序能够在用户的浏览器中以全屏模式运行。
<我已经玩过这个了,并且没有运气让它上班。可以
任何人都指向我使用
HTA打开我的login.aspx表单的示例代码吗?

此外,从我所看到的HTA它始终显示提示
用户打开或保存。有什么方法可以避免这种情况吗?

感谢您的帮助。

Herb



此链接将解释它们。
http://msdn.microsoft.com/library/de...taoverview.asp


我不是使用它们......如果你使用它们不当并且容易做,那么你可能会遇到性能问题。

我用它们来附加onmouseover和mouseout事件到一个DataGrid。对代码进行杀戮并且执行缓慢,这是
。我直接通过JavaScript添加了几乎相同的功能

并且没有性能问题。


-Brian


" ;荷马" <瓦******** @ noHTAnotHere.com>在消息中写道

新闻:Oq ************* @ TK2MSFTNGP12.phx.gbl ...

我有点愚蠢......什么是HTA?

Herb Stull < ST ***** @ nauticom.net>在消息中写道
新闻:40 ********** @ news.nauticom.net ...

大家好,

答复我收到一篇最近的帖子,建议我开发一个HTA


使我的ASP.NET应用程序能够以全屏模式运行在用户的
浏览器。

我已经玩过这个了,并且没有运气让它上班。
任何人都可以指向我使用
HTA打开我的login.aspx表单的示例代码吗?

另外,从我看到的HTA它始终显示提示


用户

打开或保存。有什么方法可以避免这种情况吗?

感谢您的帮助。

Herb




Hello All,

A response I received from a recent post suggested that I develop an HTA to
enable my ASP.NET application to run in full screen mode in the user''s
browser.

I''ve played with this a bit and am having no luck getting it to work. Can
anyone point me to sample code that would open my login.aspx form using an
HTA?

Also, from what I''ve seen of the HTA it always displays a prompt to the user
to Open or Save. Is there any way to avoid this?

Thanks for any help.

Herb

解决方案

Herb,

Just use a simple JavaScript to open it in full screen.

function fullScreen(theURL)
{
window.open(theURL, '''', ''fullscreen=yes, scrollbars=auto'');
}

Regards,
Brian K. Williams

"Herb Stull" <st*****@nauticom.net> wrote in message
news:40**********@news.nauticom.net...

Hello All,

A response I received from a recent post suggested that I develop an HTA to enable my ASP.NET application to run in full screen mode in the user''s
browser.

I''ve played with this a bit and am having no luck getting it to work. Can
anyone point me to sample code that would open my login.aspx form using an
HTA?

Also, from what I''ve seen of the HTA it always displays a prompt to the user to Open or Save. Is there any way to avoid this?

Thanks for any help.

Herb



I''m kinda dumb... what''s an HTA?

"Herb Stull" <st*****@nauticom.net> wrote in message
news:40**********@news.nauticom.net...

Hello All,

A response I received from a recent post suggested that I develop an HTA to enable my ASP.NET application to run in full screen mode in the user''s
browser.

I''ve played with this a bit and am having no luck getting it to work. Can
anyone point me to sample code that would open my login.aspx form using an
HTA?

Also, from what I''ve seen of the HTA it always displays a prompt to the user to Open or Save. Is there any way to avoid this?

Thanks for any help.

Herb



This link will explain them.
http://msdn.microsoft.com/library/de...taoverview.asp

I don''t use them... If you use them improperly and that is easy to-do, you
can have performance problems.
I used them to attach onmouseover and mouseout events to a DataGrid. It was
over kill on code and performed slowly. I added almost the same functions
via JavaScript directly and had no performance issues.

-Brian

"Homer" <Wh********@noHTAnotHere.com> wrote in message
news:Oq*************@TK2MSFTNGP12.phx.gbl...

I''m kinda dumb... what''s an HTA?

"Herb Stull" <st*****@nauticom.net> wrote in message
news:40**********@news.nauticom.net...

Hello All,

A response I received from a recent post suggested that I develop an HTA


to

enable my ASP.NET application to run in full screen mode in the user''s
browser.

I''ve played with this a bit and am having no luck getting it to work. Can anyone point me to sample code that would open my login.aspx form using an HTA?

Also, from what I''ve seen of the HTA it always displays a prompt to the


user

to Open or Save. Is there any way to avoid this?

Thanks for any help.

Herb




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

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