-
CreateObject IN JAVA SCRIPT
What is the syntax of the following vbscript sentence in JavaScript.
dim someObj
set someObj = CreateObject("Shell.Application")
Thanks
-
Re: CreateObject IN JAVA SCRIPT
var someObj
someObj = new ActiveXObject("Shell.Application");
Enjoy
Poke!
"DBui" <dbui@cs.ucr.edu> wrote:
>What is the syntax of the following vbscript sentence in JavaScript.
>
>dim someObj
>set someObj = CreateObject("Shell.Application")
>
>Thanks
>
>
-
hi
do we need to add any class libraries in this file because i tried the same thing but it gives me error.
Generated servlet error:
[javac] C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\__default-web-module-server\org\apache\jsp\matjava_jsp.java:64: cannot find symbol
[javac] symbol : class ActiveXObject
[javac] location: class org.apache.jsp.matjava_jsp
[javac] MatLab = new ActiveXObject("Matlab.Application");
[javac] ^
[javac] 1 error
Please help
-
It seems like, the java script code you have written in JSP is treated as Java code. This code should not be inside "<% %>" tags.
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