Alaska Software Inc. - clsid fro TAG OBJECT
Username: Password:
AuthorTopic: clsid fro TAG OBJECT
Giuseppe Correnticlsid fro TAG OBJECT
on Wed, 02 Jul 2008 10:00:54 +0200
Hi to all,

I would open a Ms Word document into an html page using the tag OBJECT.

Now I open it with OpenOffice writer using the tag :

<OBJECT CLASSID="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" >

 <PARAM NAME="src" VALUE="file:///c:/my.doc" >

<PARAM NAME="readonly" value=false><!-- Just view the document, do not 
edit-->

</OBJECT>

it works very fine!!!!!

I don't know witch is the clsid key for a Microsoft Office Document like Ms 
Word.

The clsid's key for Ms Word seems not exists into the registry key !!!! (or 
I am thus blind.)

Obviously Ms Office is installed on my PC.

any help ?

thanks  in advanced, Giuseppe
Hannes ZieglerRe: clsid fro TAG OBJECT
on Wed, 02 Jul 2008 14:06:41 +0200
Giuseppe,

an MS Office 2003 Word document has these identifiers

#define  CLSID_WordDocument "{00020906-0000-0000-C000-000000000046}"
#define  IID_WordDocument   "{0002096B-0000-0000-C000-000000000046}"

I'm not quite sure if the IID or the CLSID is required for the OBJECT tag.

HTH,
--
Hannes

"Giuseppe Correnti" <airsoft1@tin.it> schrieb im Newsbeitrag 
news:1112181b$b1483cd$2ee3@news.alaska-software.com...
> Hi to all,
>
> I would open a Ms Word document into an html page using the tag OBJECT.
>
> Now I open it with OpenOffice writer using the tag :
>
> <OBJECT CLASSID="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" >
>
> <PARAM NAME="src" VALUE="file:///c:/my.doc" >
>
> <PARAM NAME="readonly" value=false><!-- Just view the document, do not 
> edit-->
>
> </OBJECT>
>
> it works very fine!!!!!
>
> I don't know witch is the clsid key for a Microsoft Office Document like 
> Ms Word.
>
> The clsid's key for Ms Word seems not exists into the registry key !!!! 
> (or I am thus blind.)
>
> Obviously Ms Office is installed on my PC.
>
> any help ?
>
> thanks  in advanced, Giuseppe
>
>
Giuseppe CorrentiRe: clsid fro TAG OBJECT
on Fri, 04 Jul 2008 07:57:37 +0200
Hi,
nothing to do !!!!
I open  wmplayer, excel, openoffice with tag object and the clsid is 
required. It's unique  for every application and is into the registry key.
thanks .. 

"Hannes Ziegler" <hz@knowleXbase.com> ha scritto nel messaggio 
news:4da0dbad$d4ffe30$71e8@news.alaska-software.com...
> Giuseppe,
>
> an MS Office 2003 Word document has these identifiers
>
> #define  CLSID_WordDocument "{00020906-0000-0000-C000-000000000046}"
> #define  IID_WordDocument   "{0002096B-0000-0000-C000-000000000046}"
>
> I'm not quite sure if the IID or the CLSID is required for the OBJECT tag.
>
> HTH,
> --
> Hannes
>
> "Giuseppe Correnti" <airsoft1@tin.it> schrieb im Newsbeitrag 
> news:1112181b$b1483cd$2ee3@news.alaska-software.com...
>> Hi to all,
>>
>> I would open a Ms Word document into an html page using the tag OBJECT.
>>
>> Now I open it with OpenOffice writer using the tag :
>>
>> <OBJECT CLASSID="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" >
>>
>> <PARAM NAME="src" VALUE="file:///c:/my.doc" >
>>
>> <PARAM NAME="readonly" value=false><!-- Just view the document, do not 
>> edit-->
>>
>> </OBJECT>
>>
>> it works very fine!!!!!
>>
>> I don't know witch is the clsid key for a Microsoft Office Document like 
>> Ms Word.
>>
>> The clsid's key for Ms Word seems not exists into the registry key !!!! 
>> (or I am thus blind.)
>>
>> Obviously Ms Office is installed on my PC.
>>
>> any help ?
>>
>> thanks  in advanced, Giuseppe
>>
>>
>
Hannes ZieglerRe: clsid fro TAG OBJECT
on Sat, 05 Jul 2008 03:45:57 +0200
Hi Giuseppe,

when the document clsid doesn't work, try the clsid of the application that 
opens a document:

#define  CLSID_WordApplication  "{000209FF-0000-0000-C000-000000000046}"

Maybe you want to search for this CLSID in your registry with regedit prior 
of using it in your test program. Just to make sure that 
{000209FF-0000-0000-C000-000000000046} exists in your registry.

HTH,
--
Hannes


"Giuseppe Correnti" <airsoft1@tin.it> schrieb im Newsbeitrag 
news:411cec2d$756945ab$ede@news.alaska-software.com...
> Hi,
> nothing to do !!!!
> I open  wmplayer, excel, openoffice with tag object and the clsid is 
> required. It's unique  for every application and is into the registry key.
> thanks .. 
>
> "Hannes Ziegler" <hz@knowleXbase.com> ha scritto nel messaggio 
> news:4da0dbad$d4ffe30$71e8@news.alaska-software.com...
>> Giuseppe,
>>
>> an MS Office 2003 Word document has these identifiers
>>
>> #define  CLSID_WordDocument "{00020906-0000-0000-C000-000000000046}"
>> #define  IID_WordDocument   "{0002096B-0000-0000-C000-000000000046}"
>>
>> I'm not quite sure if the IID or the CLSID is required for the OBJECT 
>> tag.
>>
>> HTH,
>> --
>> Hannes
>>
>> "Giuseppe Correnti" <airsoft1@tin.it> schrieb im Newsbeitrag 
>> news:1112181b$b1483cd$2ee3@news.alaska-software.com...
>>> Hi to all,
>>>
>>> I would open a Ms Word document into an html page using the tag OBJECT.
>>>
>>> Now I open it with OpenOffice writer using the tag :
>>>
>>> <OBJECT CLASSID="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" >
>>>
>>> <PARAM NAME="src" VALUE="file:///c:/my.doc" >
>>>
>>> <PARAM NAME="readonly" value=false><!-- Just view the document, do not 
>>> edit-->
>>>
>>> </OBJECT>
>>>
>>> it works very fine!!!!!
>>>
>>> I don't know witch is the clsid key for a Microsoft Office Document like 
>>> Ms Word.
>>>
>>> The clsid's key for Ms Word seems not exists into the registry key !!!! 
>>> (or I am thus blind.)
>>>
>>> Obviously Ms Office is installed on my PC.
>>>
>>> any help ?
>>>
>>> thanks  in advanced, Giuseppe
>>>
>>>
>>
>
>
Giuseppe CorrentiRe: clsid fro TAG OBJECT
on Tue, 08 Jul 2008 09:16:55 +0200
Hi Hannes,
it's the correct code!!
I'm testing now and work's.
THK
"Hannes Ziegler" <hz@knowleXbase.com> ha scritto nel messaggio 
news:3cacca30$e59e584$84b8@news.alaska-software.com...
> Hi Giuseppe,
>
> when the document clsid doesn't work, try the clsid of the application 
> that opens a document:
>
> #define  CLSID_WordApplication  "{000209FF-0000-0000-C000-000000000046}"
>
> Maybe you want to search for this CLSID in your registry with regedit 
> prior of using it in your test program. Just to make sure that 
> {000209FF-0000-0000-C000-000000000046} exists in your registry.
>
> HTH,
> --
> Hannes
>
>
> "Giuseppe Correnti" <airsoft1@tin.it> schrieb im Newsbeitrag 
> news:411cec2d$756945ab$ede@news.alaska-software.com...
>> Hi,
>> nothing to do !!!!
>> I open  wmplayer, excel, openoffice with tag object and the clsid is 
>> required. It's unique  for every application and is into the registry 
>> key.
>> thanks .. 
>>
>> "Hannes Ziegler" <hz@knowleXbase.com> ha scritto nel messaggio 
>> news:4da0dbad$d4ffe30$71e8@news.alaska-software.com...
>>> Giuseppe,
>>>
>>> an MS Office 2003 Word document has these identifiers
>>>
>>> #define  CLSID_WordDocument "{00020906-0000-0000-C000-000000000046}"
>>> #define  IID_WordDocument   "{0002096B-0000-0000-C000-000000000046}"
>>>
>>> I'm not quite sure if the IID or the CLSID is required for the OBJECT 
>>> tag.
>>>
>>> HTH,
>>> --
>>> Hannes
>>>
>>> "Giuseppe Correnti" <airsoft1@tin.it> schrieb im Newsbeitrag 
>>> news:1112181b$b1483cd$2ee3@news.alaska-software.com...
>>>> Hi to all,
>>>>
>>>> I would open a Ms Word document into an html page using the tag OBJECT.
>>>>
>>>> Now I open it with OpenOffice writer using the tag :
>>>>
>>>> <OBJECT CLASSID="clsid:67F2A879-82D5-4A6D-8CC5-FFB3C114B69D" >
>>>>
>>>> <PARAM NAME="src" VALUE="file:///c:/my.doc" >
>>>>
>>>> <PARAM NAME="readonly" value=false><!-- Just view the document, do not 
>>>> edit-->
>>>>
>>>> </OBJECT>
>>>>
>>>> it works very fine!!!!!
>>>>
>>>> I don't know witch is the clsid key for a Microsoft Office Document 
>>>> like Ms Word.
>>>>
>>>> The clsid's key for Ms Word seems not exists into the registry key !!!! 
>>>> (or I am thus blind.)
>>>>
>>>> Obviously Ms Office is installed on my PC.
>>>>
>>>> any help ?
>>>>
>>>> thanks  in advanced, Giuseppe
>>>>
>>>>
>>>
>>
>>
>
Hannes ZieglerRe: clsid fro TAG OBJECT
on Wed, 09 Jul 2008 02:39:01 +0200
Guiseppe,

> it's the correct code!!
> I'm testing now and work's.

Thanks for your feedback. 

I'm glad the Word CLSID works for you.

Regards,
--
Hannes
Bruce AndersonRe: clsid fro TAG OBJECT
on Sat, 05 Jul 2008 11:16:43 -0500
I was intrigued by your problem, so I looked it up in Experts Exchange. 
Under a previous issue, one responder said the Office Suite programs could 
not be accessed in this fashion, alluding to a security decision Microsoft 
had made.  Only Outlook can be opened via the <OBJECT> meta tag.
Giuseppe CorrentiRe: clsid fro TAG OBJECT
on Tue, 08 Jul 2008 09:18:38 +0200
hi, bruce
I use an html tag <OBJECT> like this
<object width="800" height="4000px" id="oWord" 
data="c:/laboratorio/word/lettera.doc" 
classid="clsid:00020906-0000-0000-C000-000000000046">
with Hannes's clsid now works.

"Bruce Anderson" <banderson@graphical-db.com> ha scritto nel messaggio 
news:1f7351ab$4ac98a80$1b1@news.alaska-software.com...
>I was intrigued by your problem, so I looked it up in Experts Exchange. 
>Under a previous issue, one responder said the Office Suite programs could 
>not be accessed in this fashion, alluding to a security decision Microsoft 
>had made.  Only Outlook can be opened via the <OBJECT> meta tag.
Bruce AndersonRe: clsid fro TAG OBJECT
on Tue, 08 Jul 2008 09:21:01 -0500
IE 7.0 and Vista produces this result:
"Internet Explorer has blocked this site from using an ActiveX control in an 
unsafe manner.  As a result, this page may not display correctly."
There is no option on the information bar to allow the ActiveX control to be 
installed or allowed to operate.
The Internet Explorer Network Protocol Lockdown can be overridden to allow 
the ActiveX control to operate, but it requires a special edit of the 
Registry.
http://technet2.microsoft.com/windowsserver/en/library/44a1af75-935b-4cc2-97cd-da3b7e8bfc891033.mspx?mfr=true
Consequently, this approach might be viable where one has total authority 
over the client workstation, but I think it has limited useability in the 
general internet website world.

This code will work:
<OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046"
 width="100%">
  <param name="Folder" value="Inbox">
</OBJECT>
<OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046"
 width="100%">
  <param name="Folder" value="Tasks">
</OBJECT>
Bruce AndersonRe: clsid fro TAG OBJECT
on Wed, 09 Jul 2008 09:05:20 -0500
I hit the Send a sentence too soon and I need to clarify...your web page can 
use the Outlook ActiveX controls under the default state of this IE 7.0 
protocol, but I believe all of the Office Suite programs: Word, Access, 
Excel, and PowerPoint will be blocked from execution.