VB脚本CreateObject客户端对象 [英] VB Scripting CreateObject Client Side Object

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

问题描述

这可能是一个愚蠢的问题,但我找不到具体的东西

我正在寻找。对.NET来说仍然是一种新的东西。


我想要做的就是我知道我能在VB6.0 / ASP中做的就是创建一个

客户端对象设置一些属性并让它运行一些代码。我知道

在VB6 / asp中通过创建ActiveX

控件,注册它然后VBScripting CreateObject(xxx.xxxx)<相当直接br />
命令,它从客户端起作用。我找不到类似的

功能。我肯定我可能只是错过了它,但是任何帮助都会非常感激。

解决方案

HTML文档是一个HTML文档,无论服务器端是什么,b $ b技术与创建它有什么关系。因此,
ASPX页面中的ActiveX控件与ASP页面中的ActiveX控件相同,其中
与HTML页面中的ActiveX控件相同。 br />

-

HTH,

Kevin Spencer

Microsoft MVP
..Net开发商

跟随者和贷款人都不是。


ShepardBerry <嘘********** @ discussions.microsoft.com>在消息中写道

新闻:DD ********************************** @ microsof t.com ...

这可能是一个愚蠢的问题,但我找不到具体的
我正在寻找什么。对.NET来说还是一种新的东西。

我想知道我能在VB6.0 / ASP中做的是创建一个
客户端对象集一些属性,并让它运行一些代码。我知道在VB6 / asp中,通过创建ActiveX
控件,注册它然后VBScripting CreateObject(xxx.xxxx)
命令它是相当直接的,它起作用客户方。我没有找到类似的功能。我敢肯定我可能只是错过了它,但是任何帮助都会非常感激。



是的,但我没有ActiveX控件。我在一家商店完全.NET和

我需要创建客户端控制。


退一步,基本上就是我'我想做的是从一个带有一些命令行参数的浏览器启动一个应用程序

。我需要能够为我的客户提供一些脚本(java / vbscript),以便能够设置一些

属性和/或将一些命令行参数传递给应用于

客户端机器上。我最初的想法是能够创建和反对

将设置一些属性并通过shell使用

属性启动我的应用程序。也许我只是从错误的角度看待它。但是没有找到与我之前描述的不同的东西。希望这个

是有道理的。

" Kevin Spencer"写道:

HTML文档是一个HTML文档,无论服务器端技术与创建它有什么关系。因此,ASPX页面中的ActiveX控件与ASP页面中的ActiveX控件相同,它与HTML页面中的ActiveX控件相同。

- -
HTH,

Kevin Spencer
微软MVP
..Net开发人员
无论是追随者还是贷款人都不是。
ShepardBerry <嘘********** @ discussions.microsoft.com>在消息中写道
新闻:DD ********************************** @ microsof t.com。 ..

这可能是一个愚蠢的问题,但我找不到具体的
我正在寻找什么。对.NET来说还是一种新的东西。

我想知道我能在VB6.0 / ASP中做的是创建一个
客户端对象集一些属性,并让它运行一些代码。我知道在VB6 / asp中,通过创建ActiveX
控件,注册它然后VBScripting CreateObject(xxx.xxxx)
命令它是相当直接的,它起作用客户方。我没有找到类似的功能。我肯定我可能只是错过了它,但任何帮助都会非常感激。




那么,你最好的办法就是开发一个自定义winform用户控件,然后将b $ b嵌入你的html中。这与活动x类似,但您必须在

自定义winform控件中编写所有客户端代码(包括数据库内容)。谨防安全问题


" ShepardBerry"写道:

是的,但我没有ActiveX控件。我在一家商店中完全使用.NET和
我需要创建客户端控制。

退一步,基本上我要做的就是启动来自具有一些命令行参数的浏览器的应用程序。我需要能够为我的客户提供一些脚本(java / vbscript),以便能够设置一些
属性和/或将一些命令行参数传递给
客户端上的应用程序机。我最初的想法是能够创建和反对
设置一些属性并通过shell使用
属性启动我的应用程序。也许我只是从错误的角度看待它。但是没有找到与我之前描述的不同的东西。希望这个有意义。

" Kevin Spencer"写道:

HTML文档是一个HTML文档,无论服务器端技术与创建它有什么关系。因此,ASPX页面中的ActiveX控件与ASP页面中的ActiveX控件相同,它与HTML页面中的ActiveX控件相同。

- -
HTH,

Kevin Spencer
微软MVP
..Net开发人员
无论是追随者还是贷款人都不是。
ShepardBerry <嘘********** @ discussions.microsoft.com>在消息中写道
新闻:DD ********************************** @ microsof t.com。 ..

这可能是一个愚蠢的问题,但我找不到具体的
我正在寻找什么。对.NET来说还是一种新的东西。

我想知道我能在VB6.0 / ASP中做的是创建一个
客户端对象集一些属性,并让它运行一些代码。我知道在VB6 / asp中,通过创建ActiveX
控件,注册它然后VBScripting CreateObject(xxx.xxxx)
命令它是相当直接的,它起作用客户方。我没有找到类似的功能。我肯定我可能只是错过了它,但任何帮助都会非常感激。




This may be a dumb question, but I''m not finding anything specifically what
I''m looking for. Still kind of new to .NET as well.

What I''m trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I''m not finding the "similar"
functionality. I''m sure I''m probably just missing it, but any help would be
greately appreciated.

解决方案

An HTML document is an HTML document, regardless of what server-side
technology had anything to do with creating it. An ActiveX Control in an
ASPX page is therefore the same as an ActiveX Control in an ASP page, which
is the same as an ActiveX Control in an HTML page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...

This may be a dumb question, but I''m not finding anything specifically
what
I''m looking for. Still kind of new to .NET as well.

What I''m trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I''m not finding the "similar"
functionality. I''m sure I''m probably just missing it, but any help would
be
greately appreciated.



Yeah, but I don''t have the ActiveX control. I''m in a shop completly .NET and
I need to create the client side "control".

Stepping back, basically what I''m trying to do is to launch an application
from a browser with some command line parameters. I need to be able to
provide my customers with some script(java/vbscript) to be able to set some
properties and/or pass some command line parameters to an application on the
clients machine. My initial thought was to be able to create and object that
would set some properites and launch via shell my application with the
properties. Maybe I''m just looking at it from the wrong perspective. But
haven''t found anything different than what I descrbed before. Hope this
makes sense.
"Kevin Spencer" wrote:

An HTML document is an HTML document, regardless of what server-side
technology had anything to do with creating it. An ActiveX Control in an
ASPX page is therefore the same as an ActiveX Control in an ASP page, which
is the same as an ActiveX Control in an HTML page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...

This may be a dumb question, but I''m not finding anything specifically
what
I''m looking for. Still kind of new to .NET as well.

What I''m trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I''m not finding the "similar"
functionality. I''m sure I''m probably just missing it, but any help would
be
greately appreciated.




Well then, your best bet is do develop a custom winform user control and
embed it within your html. This is similar to active x but you will have to
write all of your client code (including the database stuff) within the
custom winform control. Beware of security issues

"ShepardBerry" wrote:

Yeah, but I don''t have the ActiveX control. I''m in a shop completly .NET and
I need to create the client side "control".

Stepping back, basically what I''m trying to do is to launch an application
from a browser with some command line parameters. I need to be able to
provide my customers with some script(java/vbscript) to be able to set some
properties and/or pass some command line parameters to an application on the
clients machine. My initial thought was to be able to create and object that
would set some properites and launch via shell my application with the
properties. Maybe I''m just looking at it from the wrong perspective. But
haven''t found anything different than what I descrbed before. Hope this
makes sense.
"Kevin Spencer" wrote:

An HTML document is an HTML document, regardless of what server-side
technology had anything to do with creating it. An ActiveX Control in an
ASPX page is therefore the same as an ActiveX Control in an ASP page, which
is the same as an ActiveX Control in an HTML page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...

This may be a dumb question, but I''m not finding anything specifically
what
I''m looking for. Still kind of new to .NET as well.

What I''m trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I''m not finding the "similar"
functionality. I''m sure I''m probably just missing it, but any help would
be
greately appreciated.




这篇关于VB脚本CreateObject客户端对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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