Sample about how to retrieve a value from a store procedure

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Cacho (jleyba_at_manresa.net)
Date: 02/08/05


Date: Tue, 08 Feb 2005 22:07:26 +0100


Hi

Could anybody please give me a sample about how to retrieve a value from
a store procedure ?

I'm using VC++ 6 with ADO and MSDE.

SP will make an update and if it was successful will return 1 and 0 if
not...

I've been "goggling" but I couldn't find any useful sample code...

Thanks in advance

Javier



Relevant Pages

  • Re: On ADSI and LDAP
    ... the problem is how can I retrieve the value for myuser using the ... would be more efficient to use ADO to query AD for the attributes values. ... For more on using ADO, ... Dim adoCommand, adoConnection, strBase, strFilter, strAttributes ...
    (microsoft.public.scripting.vbscript)
  • Re: Returning only a subset of groups in AD
    ... Output.WriteLine "There are no members in this group." ... I assume that ADSICommand is an ADO command object, ... value assigned to the CommandText property, which is the ADO query. ... ' Comma delimited list of attribute values to retrieve. ...
    (microsoft.public.scripting.vbscript)
  • Re: Looking for a VB to export all Users and their descripitions
    ... You can use ADO to retrieve all user names and the value of the description ... Dim strNTName, lngUSN, strDescription, colDescription, strItem ... Set adoConnection = CreateObject ... ' Comma delimited list of attribute values to retrieve. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Scripting newbie - Active Directory reporting of users/description
    ... Does any one have a sample script that looks at an Active Directory ... You can use ADO in a VBScript program to retrieve information about objects ...
    (microsoft.public.windows.server.scripting)
  • Re: How to change script to run thru multiple objects
    ... you can use ADO to retrieve information on all users in AD (or ... you must retrieve attribute values. ... In this case the PasswordLastChanged property method converts the ... WScript.Echo "The password does not expire." ...
    (microsoft.public.scripting.vbscript)