Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Quick One: Command Object

Posted on 2001-07-17
10
Medium Priority
?
350 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 200 total points
ID: 6292254
I think you would want adDBTimeStamp for that.
0
 
LVL 10

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 10

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 10

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

597 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