Create Object in VBScript

Create Object in VBScript

am 30.04.2007 10:30:30 von Michael

Hi. I have COM+ component installed on my XP. I have problem to create
instance of it inside vbscript. How can I do it? The error I get is :
ActiveX component can't create object. Thanks

Re: Create Object in VBScript

am 30.04.2007 12:38:49 von reb01501

Michael wrote:
> Hi. I have COM+ component installed on my XP. I have problem to create
> instance of it inside vbscript. How can I do it? The error I get is :
> ActiveX component can't create object. Thanks

Hard to say. Start here:
http://classicasp.aspfaq.com/components/why-do-i-get-800401f 3/800a01ad-errors.html

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: Create Object in VBScript

am 02.05.2007 10:11:45 von Michael

Hi. I need the new solution. Following the ASP event process over to client
vbscript where I have to create object of COM+ component installed on my
computer. My web application will work only on local computer with supplied
com+ components(they will registered by normal install process). I've got
error when I use createobject function in client vbscript. By Creating
object I will run 1 function which will return me string value. After then I
need to continue work with same vbscript client function. I tried to make
new asp file with "window.open" method. There i create object successful but
don't know how to pass function result back to vbscript.
here is some code of file







file createpath.asp

<%
dim myServer, newpath
Set myServer = Server.CreateObject("Server.Report")
newpath = myServer.GetReport(Request("variable")) ' if I do this way how
to transfer new path back to sub func?
%>






Please help







"Bob Barrows [MVP]" wrote in message
news:OiFk7OxiHHA.4904@TK2MSFTNGP05.phx.gbl...
> Michael wrote:
>> Hi. I have COM+ component installed on my XP. I have problem to create
>> instance of it inside vbscript. How can I do it? The error I get is :
>> ActiveX component can't create object. Thanks
>
> Hard to say. Start here:
> http://classicasp.aspfaq.com/components/why-do-i-get-800401f 3/800a01ad-errors.html
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>

Re: Create Object in VBScript

am 02.05.2007 10:21:35 von Michael

some error in previuos letter






"Bob Barrows [MVP]" wrote in message
news:OiFk7OxiHHA.4904@TK2MSFTNGP05.phx.gbl...
> Michael wrote:
>> Hi. I have COM+ component installed on my XP. I have problem to create
>> instance of it inside vbscript. How can I do it? The error I get is :
>> ActiveX component can't create object. Thanks
>
> Hard to say. Start here:
> http://classicasp.aspfaq.com/components/why-do-i-get-800401f 3/800a01ad-errors.html
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>