Loke
Sun Jun 18 20:37:04 CDT 2006
Hi Luke,
I seem to be able to create the object if i put
Commerce.SharePoint.ActiveX.DocumentImaging.1
Attached is my code...
[ProgId("Commerce.SharePoint.ActiveX.DocumentImaging.1"),
Guid("1F41AD45-F8C9-45d4-A925-961FB766ED2E"),
ClassInterface(ClassInterfaceType.AutoDual)]
public class DocumentImaging: IObjectSafety, IDocumentImaging
--
Best Regards,
Kit Kai
MVP (SharePoint MVP)
SgDotNet Council Member
Visit us @
http://www.sgdotnet.org
My Blog:
http://community.sgdotnet.org/blogs/kitkai
"Loke Kit Kai [MVP]" <kitkai@community.nospam> wrote in message
news:eVaKkmSkGHA.4104@TK2MSFTNGP04.phx.gbl...
> You are right! I didn't noticed I change back to JavaScript.
>
> The error I get now is
> Line: 13
> Char: 1
> ActiveX component can't create object:
> Commerce.SharePoint.ActiveX.DocumentImaging
>
> --
> Best Regards,
> Kit Kai
> MVP (SharePoint MVP)
>
> SgDotNet Council Member
> Visit us @
http://www.sgdotnet.org
> My Blog:
http://community.sgdotnet.org/blogs/kitkai
>
> "Luke Zhang [MSFT]" <lukezhan@online.microsoft.com> wrote in message
> news:8iDRgI2jGHA.764@TK2MSFTNGXA01.phx.gbl...
>> The error may be caused by mixed vbscript and javascript, how about
>> following code:
>>
>> <html>
>> <head>
>> </head>
>> <body>
>> <a href="javascript:test();">Javascrpit Test</a>
>> </body>
>> </html>
>>
>> <script language="VBScript">
>>
>> sub test()
>>
>> set obj = createobject("Commerce.SharePoint.ActiveX.DocumentImaging")
>> msgbox obj
>>
>> End Sub
>> </Script>
>>
>> You may try above HTM page on both of the two computers, can you get same
>> result?
>>
>> Regards,
>>
>> Luke Zhang
>> Microsoft Online Community Support
>>
>> ==================================================
>> When responding to posts, please "Reply to Group" via your newsreader so
>> that others may learn and benefit from your issue.
>> ==================================================
>>
>> (This posting is provided "AS IS", with no warranties, and confers no
>> rights.)
>>
>
>