Solved

Quick One: Command Object

Posted on 2001-07-17
10
341 Views
Last Modified: 2012-06-22
Here's a quick question...I need to know the correct thing to put in place of adByte. ad__?  My error is

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'adByte'


          .Parameters.Append = .CreateParameter( "switching", adByte, adParamInput)
0
Comment
Question by:sarahZ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 8

Expert Comment

by:drittich
ID: 6292080
Try adChar
0
 

Author Comment

by:sarahZ
ID: 6292083
Oops, I forgot one...the adDateTime (??) Thanks


.Parameters.Append = .CreateParameter( "reqsigdate", adDateTime, adParamInput)
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

Author Comment

by:sarahZ
ID: 6292119
Oops, I forgot one...the adDateTime (??) Thanks


.Parameters.Append = .CreateParameter( "reqsigdate", adDateTime, adParamInput)
0
 

Author Comment

by:sarahZ
ID: 6292120
drittich, ok...checking the links. thanks!
0
 
LVL 8

Accepted Solution

by:
drittich earned 50 total points
ID: 6292254
I think you would want adDBTimeStamp for that.
0
 
LVL 9

Expert Comment

by:Nitin Sontakke
ID: 6293349
I am sorry if i am distracting you from the original line of attack.

To the best of my knowledge and memory (which could be wrong) and going by the error you have supplied I have the following comment to make:

The adByte, adChar, etc are the constants declared in a Microsoft supplied file called "adoconstants.asp" or something on these lines.

You will need to include this in your ASP, if you are using these constants.

If you cannot find the file, you will require to use the numbers instead. You MAY find them in MSDN.

I wish i could be more accurate.


0
 
LVL 9

Expert Comment

by:Nitin Sontakke
ID: 6293502

Here is more accurate info:

The file you need is "adovbs.inc". I could find mine at following place:

C:\Program Files\Common Files\System\ado

0
 
LVL 9

Expert Comment

by:Nitin Sontakke
ID: 6293503

Here is more accurate info:

The file you need is "adovbs.inc". I could find mine at following place:

C:\Program Files\Common Files\System\ado

0
 

Author Comment

by:sarahZ
ID: 6309622
yes! that was it, thanks
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question