-
Windows Scripting Component(WSC) Guru
Hi guys
Can I create object of another .wsc file from within a wsc file, like this
i have a function TestWSC in CTestWSC.wsc file
public function TestWSC
dim oCFunction
dim temp
set oCFunction=server.createobject("CFunction.wsc")
temp=oCFunction.getvalue()
set oCFunction=nothing
end function
Client code
Dim oTest
set oTest=server.createobject("CTestWSC.wsc")
tep=oTest.TestWSC
response.write tep
I have tried this and i get an error "Interface not supported" at the line
where i am callin the CTestWSC.wsc.
Any help is appreciated.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks