Your help is appreciated. My website's been down for a
month!
Ray at home
"Tahl" <anon...@discussions.microsoft.com> wrote in message
news:06b601c3a96e$fd432a80$a101...@phx.gbl...
The object that the createobject is freezing on is
supplied by a vendor (the software is a COM server
frontend for a home automation controller). The ASP
worked under Windows/ME, it works with other objects (at
least fso) and works with OS-initiated scripts. The combo
of ASP & Windows/XP & this particular COM server is not
working.
Any help is appreciated.
Tahl
>.
>
Ray at home
"Tahl" <anon...@discussions.microsoft.com> wrote in message
news:3a2001c3aa55$af8ecfa0$a601...@phx.gbl...
If you bought it from a vendor, they should provide you with technical
support...
--
Michael Harris
Microsoft.MVP.Scripting
Windows 2000 Scripting Guide
Microsoft® Windows®2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp
TechNet Script Center Sample Scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942
WSH 5.6 documentation download
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
No more stupid than replying to an eight year old posting and not even
offering a solution.
"CreateObject" has to work as a method of the "Server" object.
For example:
Set fso=Server.CreateObject("Scripting.FileSystemObject")
VBScript is very forgiving (sloppy?) in allowing CreateObject to work
without specifying the parent object, WScript. The comparable fully
defined VBScript operation is
Set fso=WScript.CreateObject("Scripting.FileSystemObject")
--
Crash
What happens online, stays online.
Actually, there are two separate CreateObject
methods. Vbscript.dll has it and the WScript
IHost class has a slightly different version, where
an optional second parameter allows the assignment
of a prefix for event subs. The VBScript method is
inherent in any VBScript. The WScript method is a
method of the WScript object. Which is why
Set fso = WScript.CreateObject("Scripting.FileSystemObject")
can work in a script but only
Set fso = CreateObject("Scripting.FileSystemObject")
can work in a webpage or HTA.
I still don't understand how these weird posts show up.
They don't seem to have any purpose as spam. Some
people seem to discover online forums and not realize that
they're viewing a copy of something that happened years
ago. But in other cases, like this one... it's 8 years old and
I can't make sense of either the original post or the response.
The only scenario I can imagine is someone late at night,
drunk and blurry, who decides to go online and swagger
indiscriminately. :)
I didn't know that. Being lazy, I always use CreateObject by itself for
both VBS and HTA/HTM. I just remember from a past lifetime (8 years ago?)
that I had to use the Server object when writing ASP server side scripts.
--
Crash
I always thought Mensa was a Japanese import.