Re: web server.how to use adoce3.1 in asp in web server of windows



>From your original code snippet, it looks like you're using VBScript. The
new ActiveX object is a JScript construct only. There's something similar
for VBscript but I don't remember the exact syntax.

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.

"soul" <soul@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4FC9E435-9779-4835-91D3-E27706D88725@xxxxxxxxxxxxxxxx
> Hi John.
> May i have some code for how to use ADOCE3.1 object in asp in web server
> of
> windows ce4.2??(the adoce3.1 have register)
> because i use below .it can not work
> <%
> conn = new ActiveXObject("ADOCE.Connection.3.1")
> conn.Open "Provider=Microsoft.SQLSERVER.OLEDB.CE.1.0;data
> source=\sample.sdf"
> %>
> thanks
> Peter Ma
>
>
> "John Spaith [MS]" wrote:
>
>> There is no server.CreateObject() in Windows CE ASP. You'll need to use
>> the
>> VBScript or JScript equivalent functions to create new ActiveX objects --
>> i.e. 'newActiveXObject("ADOCE.Connection.3.1")' in jscript or whatever
>> the
>> syntax is.
>>
>> IIS had to have the Server.CreateObject() for some reason I've long since
>> forgotten, but CE didn't need it and hence we didn't implement it.
>>
>> --
>> John Spaith
>> Software Design Engineer, Windows CE
>> Microsoft Corporation
>>
>> Check out the new CE Networking Team Blog at
>> http://blogs.msdn.com/cenet/.
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> You assume all risk for your use. © 2003 Microsoft Corporation. All
>> rights
>> reserved.
>>
>> "soul" <soul@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:9A5A6709-994E-4298-98C4-10B1B76F5A80@xxxxxxxxxxxxxxxx
>> > how to use adoce3.1 in asp in web server of windows ce4.2
>> > example
>> > <%
>> > Set cnMobileSales = server.CreateObject("ADOCE.Connection.3.1")
>> > %>
>> > but i can not work. anyone can tell me how to do by right way.
>>
>>
>>


.



Relevant Pages

  • Re: P2P SDK for PocketPC?
    ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Just before I installed Windows Mobile 5.0 SDK. ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: Right click on anything causes Windows Explorer crash
    ... Right click on any folder causes Windows Explorer crash which is immediately followed by Dr. Watson postmortem debugger crash. ... PRODUCT_NAME="Microsoft® Windows® Operating System" ... All rights reserved." ... LEGAL_COPYRIGHT="© Microsoft Corporation. ...
    (microsoft.public.windowsxp.perform_maintain)
  • could not right click on any files
    ... Windows 32 Base API" COMPANY_NAME="Microsoft Corporation" ... PRODUCT_NAME="Microsoft® Windows® Operating System" ... All rights reserved." ... LEGAL_COPYRIGHT="© Microsoft Corporation. ...
    (microsoft.public.windowsxp.general)
  • Re: OleLoadPicturePath in Windows CE
    ... Software Design Engineer, Windows CE ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... is there a substitute for OleLoadPicture or OleLoadPicturePath ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: One-way connection: networked XP/2000 PCs
    ... >>now running the standard Windows firewall on the XP machine. ... >>network. ... + Microsoft Office.lnk Microsoft Office 2000 component Microsoft Corporation ... + Component Categories cache daemon Shell Browser UI Library Microsoft ...
    (microsoft.public.windowsxp.network_web)