different OWC versions in one Data access page?

J

jochen

My Problem: I have created data access pages. My useres
have different Office versions and therefore different OWC
version 9, 10 or 11 installed on their computer. Do I need
to create multiple data access pages (for each OWC
version) in order to make it work for the user? Is there a
solution to create a data access page that can be viewed
by different versions on the client site (integrate script
code into the pages that trigger the OWC version on the
client site, then show the appropriate OWC?)

Any help could make my life easier!

Jochen
 
A

Alvin Bruney [MVP]

the solution is to sniff out the clientside object and write your
corresponding code accordingly. you can use the major and minor version
property returned from the create object call to find out what version is
running on the client
 
J

Jochen

Alvin,
OK, I tried to create proper script code, but I am to dull
to get it work ;-(
Any help to get it work? I was trying to include some java
script code within the html file:

Something like this:
if (MSODSC.object==null) then "forward to this html page
with OWC9"

Is there java script that forward to another link in case
the wrong OWC control was found?

Jochen
-----Original Message-----
the solution is to sniff out the clientside object and write your
corresponding code accordingly. you can use the major and minor version
property returned from the create object call to find out what version is
running on the client

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
jochen said:
My Problem: I have created data access pages. My useres
have different Office versions and therefore different OWC
version 9, 10 or 11 installed on their computer. Do I need
to create multiple data access pages (for each OWC
version) in order to make it work for the user? Is there a
solution to create a data access page that can be viewed
by different versions on the client site (integrate script
code into the pages that trigger the OWC version on the
client site, then show the appropriate OWC?)

Any help could make my life easier!

Jochen


.
 
A

Alvin Bruney [MVP]

i've got sample javascript on my website under excel code snippets
http://tinyurl.com/27cok

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Jochen said:
Alvin,
OK, I tried to create proper script code, but I am to dull
to get it work ;-(
Any help to get it work? I was trying to include some java
script code within the html file:

Something like this:
if (MSODSC.object==null) then "forward to this html page
with OWC9"

Is there java script that forward to another link in case
the wrong OWC control was found?

Jochen
-----Original Message-----
the solution is to sniff out the clientside object and write your
corresponding code accordingly. you can use the major and minor version
property returned from the create object call to find out what version is
running on the client

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
jochen said:
My Problem: I have created data access pages. My useres
have different Office versions and therefore different OWC
version 9, 10 or 11 installed on their computer. Do I need
to create multiple data access pages (for each OWC
version) in order to make it work for the user? Is there a
solution to create a data access page that can be viewed
by different versions on the client site (integrate script
code into the pages that trigger the OWC version on the
client site, then show the appropriate OWC?)

Any help could make my life easier!

Jochen


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top