GetObject是否适用于ASP? [英] Does GetObject work with ASP?

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

问题描述

您好,


我此时没有使用ASP太长时间

并且我并不熟悉ASP的很多内容。

我搜索过以下问题的文章但

没有得到任何明确的答案。我想

知道是否可以使用GetObject来获取ASP和activeX

应用程序之间的
读/写数据。 VBS支持GetObject,所以我认为ASP

可能,但我没有运气。有趣的是,我可以使用带有ASP的CreateObject而不是GetObject使用
。我用b b b实验了一个自制的ActiveX exe我打了

而且没有运气 - 无法创建ActiveX对象

错误。我甚至尝试使用Excel工作簿。还做了

不行。在我假设你不能使用带有

ASP的GetObject之前,我想我会检查它是否是我需要的特殊的

语法或GetObject不是为ASP(注意:我将
添加到ROT以获取GetObject

功能 - 从vbs可以正常工作)。任何评论

赞赏。


谢谢,

Rich

解决方案

查看FSO(FileSystemObject)


-


问候


Steven Burn

Ur IT Mate Group
www.it-mate.co.uk


保持免费!


免责声明:

我知道我可能错了,我只是喜欢服用part; o)

Rich< an ******* @ discussion.microsoft.com>在消息中写道

news:15 **************************** @ phx.gbl ... < blockquote class =post_quotes>你好,

我此时没有使用ASP太久了
并且我并不熟悉ASP的很多内容。
我搜索了以下问题的文章,但没有提出任何明确的答案。我想知道是否可以使用GetObject来在ASP和activeX
应用程序之间读/写数据。 VBS支持GetObject,所以我认为ASP
可能,但我没有运气。有趣的是,我可以使用带有ASP的CreateObject而不是GetObject。我尝试了一个自制的ActiveX exe我一起拍了没有运气 - 无法创建ActiveX对象错误。我甚至尝试使用Excel工作簿。也没有工作
。在我假设你不能使用带有ASP的GetObject之前我想我会检查它是否是我需要的特殊语法或GetObject不是为ASP设计的(注意:我是/ >我正在将我的应用程序添加到ROT以获取GetObject
功能 - 从vbs可以正常工作。任何意见
赞赏。

谢谢,
Rich



感谢您的建议。我想我用FileSystemObject玩了一下

但是使用了错误的

语法而失去了希望。最后让它工作:


set fso = CreateObject(" Scripting.FileSystemObject")

设置info = fso.CreateTextFile(" ActiveXasptestR.txt" ;)

info.WriteLine" testing"

info.Close


只需要一点鼓励。


再次感谢,

Rich

-----原帖-----
查看FSO(FileSystemObject)

-

关于

Steven Burn
你的IT Mate Group
www.it-mate.co.uk <

免费提供!

免责声明:
我知道我可能错了,我只是喜欢参加; o)
Rich< an *******@discussions.microsoft.com>写在
messagenews:15 **************************** @ phx.gbl ...

您好,

我在这个
时间内没有使用ASP太长时间了,并且我并不熟悉ASP的很多内容。
我搜索过关于以下问题的文章
但没有提出任何明确的答案。我想知道是否可以使用GetObject来在ASP和activeX
应用程序之间读/写数据。 VBS支持GetObject,所以我认为ASP
可能,但我没有运气。有趣的是,我可以使用带有ASP的CreateObject而不是GetObject。我尝试了一个自制的ActiveX exe我一起拍了没有运气 - 无法创建ActiveX对象错误。我甚至尝试使用Excel工作簿。
也不起作用。在我假设你不能使用带有ASP的GetObject之前我想我会检查它是否是我需要的特殊语法或GetObject不是为ASP
设计的(注意:我将我的应用程序添加到ROT以获取GetObject
功能 - 从vbs可以正常工作。任何
评论赞赏。

谢谢,
Rich





呵呵,没问题; o)


-


问候


Steven Burn

Ur IT Mate Group
www.it-mate.co.uk


保持免费!


免责声明:

我知道我可能错了,我只是喜欢服用part; o)

Rich< an ******* @ discussion.microsoft.com>在消息中写道

news:04 **************************** @ phx.gbl ... < blockquote class =post_quotes>感谢您的建议。我想我已经使用FileSystemObject玩了一下但是使用了错误的
语法并失去了希望。最后让它工作:

set fso = CreateObject(" Scripting.FileSystemObject")
设置info = fso.CreateTextFile(" ActiveXasptestR.txt")
info。 WriteLine测试
info.Close

只需要一点鼓励。

再次感谢,
Rich

-----原帖-----
查看FSO(FileSystemObject)

-

问候
<史蒂文伯恩
你的IT Mate Group
www.it-mate.co.uk <

免费提供!

免责声明:
我知道我可能错了,我只是喜欢参加; o)
Rich< an *******@discussions.microsoft.com>写在


消息

新闻:15 **************************** @phx.gbl ...

你好,

我此时没有使用ASP太长时间并且我对ASP的很多事情并不熟悉。
我搜索了以下问题的文章,但没有提出任何明确的答案。我想知道是否可以使用GetObject来在ASP和activeX
应用程序之间读/写数据。 VBS支持GetObject,所以我认为ASP
可能,但我没有运气。有趣的是,我可以使用带有ASP的CreateObject而不是GetObject。我尝试了一个自制的ActiveX exe我一起拍了没有运气 - 无法创建ActiveX对象错误。我甚至尝试使用Excel工作簿。也没工作。在我假设你不能使用带有ASP的GetObject之前我想我会检查它是否是我需要的特殊语法或者GetObject不是为ASP而设计的(注意:我正在添加我的应用程序到ROT以获取GetObject
功能 - 从vbs可以正常工作)。任何评论都赞赏。

谢谢,
Rich





Hello,

I have not been working with ASP for too long at this time
and am not real familiar with a lot of things about ASP.
I have searched for articles on the following question but
not come up with any definite answers. I would like to
know if it is possible to use GetObject in order to
read/write data between an ASP and an activeX
application. VBS supports GetObject, so I thought ASP
might, but I have not had any luck. Interestingly I can
use CreateObject with ASP but not GetObject. I
experimented with a homemade ActiveX exe I slapped
together with no luck - Can''t create ActiveX object
error. I even tried it with an Excel workbook. Also did
not work. Before I assume you can''t use GetObject with
ASP I thought I would check if maybe it is a special
syntax I need or GetObject isn''t designed for ASP (Note: I
am adding my apps to the ROT to get the GetObject
functionality - which works fine from vbs). Any comments
appreciated.

Thanks,
Rich

解决方案

Look into FSO (FileSystemObject)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I''m probably wrong, I just like taking part ;o)
Rich <an*******@discussions.microsoft.com> wrote in message
news:15****************************@phx.gbl...

Hello,

I have not been working with ASP for too long at this time
and am not real familiar with a lot of things about ASP.
I have searched for articles on the following question but
not come up with any definite answers. I would like to
know if it is possible to use GetObject in order to
read/write data between an ASP and an activeX
application. VBS supports GetObject, so I thought ASP
might, but I have not had any luck. Interestingly I can
use CreateObject with ASP but not GetObject. I
experimented with a homemade ActiveX exe I slapped
together with no luck - Can''t create ActiveX object
error. I even tried it with an Excel workbook. Also did
not work. Before I assume you can''t use GetObject with
ASP I thought I would check if maybe it is a special
syntax I need or GetObject isn''t designed for ASP (Note: I
am adding my apps to the ROT to get the GetObject
functionality - which works fine from vbs). Any comments
appreciated.

Thanks,
Rich



Thanks for that suggestion. I think I have played around
a little bit with FileSystemObject but was using the wrong
syntax and lost hope. Finally got it to work:

set fso = CreateObject("Scripting.FileSystemObject")
Set info = fso.CreateTextFile("ActiveXasptestR.txt")
info.WriteLine "testing"
info.Close

Just needed a little encouragement.

Thanks again,
Rich

-----Original Message-----
Look into FSO (FileSystemObject)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I''m probably wrong, I just like taking part ;o)
Rich <an*******@discussions.microsoft.com> wrote in messagenews:15****************************@phx.gbl...

Hello,

I have not been working with ASP for too long at this time and am not real familiar with a lot of things about ASP.
I have searched for articles on the following question but not come up with any definite answers. I would like to
know if it is possible to use GetObject in order to
read/write data between an ASP and an activeX
application. VBS supports GetObject, so I thought ASP
might, but I have not had any luck. Interestingly I can
use CreateObject with ASP but not GetObject. I
experimented with a homemade ActiveX exe I slapped
together with no luck - Can''t create ActiveX object
error. I even tried it with an Excel workbook. Also did not work. Before I assume you can''t use GetObject with
ASP I thought I would check if maybe it is a special
syntax I need or GetObject isn''t designed for ASP (Note: I am adding my apps to the ROT to get the GetObject
functionality - which works fine from vbs). Any comments appreciated.

Thanks,
Rich


.



hehe, no problem ;o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I''m probably wrong, I just like taking part ;o)
Rich <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl...

Thanks for that suggestion. I think I have played around
a little bit with FileSystemObject but was using the wrong
syntax and lost hope. Finally got it to work:

set fso = CreateObject("Scripting.FileSystemObject")
Set info = fso.CreateTextFile("ActiveXasptestR.txt")
info.WriteLine "testing"
info.Close

Just needed a little encouragement.

Thanks again,
Rich

-----Original Message-----
Look into FSO (FileSystemObject)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I''m probably wrong, I just like taking part ;o)
Rich <an*******@discussions.microsoft.com> wrote in


message

news:15****************************@phx.gbl...

Hello,

I have not been working with ASP for too long at this time and am not real familiar with a lot of things about ASP.
I have searched for articles on the following question but not come up with any definite answers. I would like to
know if it is possible to use GetObject in order to
read/write data between an ASP and an activeX
application. VBS supports GetObject, so I thought ASP
might, but I have not had any luck. Interestingly I can
use CreateObject with ASP but not GetObject. I
experimented with a homemade ActiveX exe I slapped
together with no luck - Can''t create ActiveX object
error. I even tried it with an Excel workbook. Also did not work. Before I assume you can''t use GetObject with
ASP I thought I would check if maybe it is a special
syntax I need or GetObject isn''t designed for ASP (Note: I am adding my apps to the ROT to get the GetObject
functionality - which works fine from vbs). Any comments appreciated.

Thanks,
Rich


.



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

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