File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Javascript and OWC (Office Web Controls) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Javascript and OWC (Office Web Controls)" Watch "Javascript and OWC (Office Web Controls)" New topic
Author

Javascript and OWC (Office Web Controls)

Nigel Skeffington
Greenhorn

Joined: Mar 20, 2004
Posts: 7
Hello!

I want to be able to control my Spreadsheet OWC using the ActiveWindow property, but I always get the error "ActiveWindow is null or not an object" yet every example I see uses the ss.ActiveWindow property.

Here my object code for loading the control:

<object id="ss" classid="CLSID:0002E510-0000-0000-C000-000000000046"></object>

I can use the ss.ActiveSheet property, I can load data via ss.CSVUrl property, but I can not get the ActiveWindow property to work. Anyone have any ideas?

I've tried to google for this info, but resources regarding programming a spreadsheet object using javascript & Internet Explorer (or VBScript for that matter) are *very* sparse. If you know of an online resource for this type of information, please let me know. Oh, and I have tried MSDN, but there isn't anything comprehensive.

Thanks,
Nigel
 
IntelliJ Java IDE
 
subject: Javascript and OWC (Office Web Controls)
 
Threads others viewed
Input Name Problem
Javascript new window is not opening from a jsp page
Probably a very simple Spring problem?
How this output is coming regarding left shift operator
Problem in using javascript in spring web mvc system:
IntelliJ Java IDE