Solved

Quick One: Command Object

Posted on 2001-07-17
10
306 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
  • 4
  • 3
  • 3
10 Comments
 
LVL 8

Expert Comment

by:drittich
ID: 6292080
Try adChar
0
 
LVL 8

Expert Comment

by:drittich
ID: 6292082
0
 

Author Comment

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


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

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 8

Accepted Solution

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

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 6

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 6

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now