•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 423,511 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,687 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 5053 | Replies: 3
![]() |
•
•
Join Date: Jul 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hello,
I'm a newbi to both scripting and asp. I aneed to understand this error message being received from an existing web page. This is displayed on most page refreshes.
“Microsoft VBScript runtime error 800a0005
invalid procedure call or argument ‘mid’
/notify_shipped asp, line 24
The website uses MySQL for a database and that it tied to an Access database on the local server here.
The function appears to be referring to stripping the middle initial of a name to insert into a response email to be sent to the user. But this appears on most pages. I am told some users see it and some don't.
I can post the code of the notify_shipped asp if needed for clarity. Advise and suggestions are welcome.
I'm a newbi to both scripting and asp. I aneed to understand this error message being received from an existing web page. This is displayed on most page refreshes.
“Microsoft VBScript runtime error 800a0005
invalid procedure call or argument ‘mid’
/notify_shipped asp, line 24
The website uses MySQL for a database and that it tied to an Access database on the local server here.
The function appears to be referring to stripping the middle initial of a name to insert into a response email to be sent to the user. But this appears on most pages. I am told some users see it and some don't.
I can post the code of the notify_shipped asp if needed for clarity. Advise and suggestions are welcome.
•
•
Join Date: Oct 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
PLEASE SEND ME ALL CODE THATS WHY I AM CHECK ..
•
•
•
•
Hello,
I'm a newbi to both scripting and asp. I aneed to understand this error message being received from an existing web page. This is displayed on most page refreshes.
“Microsoft VBScript runtime error 800a0005
invalid procedure call or argument ‘mid’
/notify_shipped asp, line 24
The website uses MySQL for a database and that it tied to an Access database on the local server here.
The function appears to be referring to stripping the middle initial of a name to insert into a response email to be sent to the user. But this appears on most pages. I am told some users see it and some don't.
I can post the code of the notify_shipped asp if needed for clarity. Advise and suggestions are welcome.
No need to post the code here yet. From the looks of the error, there is a Mid function call on line 24 of page notify_shipped asp.
Go to that page and that line and make sure that you're calling the function properly. Remember, this is a function not a SUB routine, so it is supposed to RETURN a value, and that value is going to be of STRING type.
The syntax of the call is: S = Mid(string,start[,length]) where [,length] refers to an optional value.
Your call should look something like any of these:
strNewString = Mid(strMyString, 6) <-- returns all characters after character 6
strNewString = Mid(strMyString, 7, 10) <-- returns characters between 7 and 10
strNewString = Mid(strMyString, 1, len(strMyString-4)) <-- returns all characters in the string minus the last 4 characters of the original string. For dynamic string lengths.
Good Luck!
Go to that page and that line and make sure that you're calling the function properly. Remember, this is a function not a SUB routine, so it is supposed to RETURN a value, and that value is going to be of STRING type.
The syntax of the call is: S = Mid(string,start[,length]) where [,length] refers to an optional value.
Your call should look something like any of these:
strNewString = Mid(strMyString, 6) <-- returns all characters after character 6
strNewString = Mid(strMyString, 7, 10) <-- returns characters between 7 and 10
strNewString = Mid(strMyString, 1, len(strMyString-4)) <-- returns all characters in the string minus the last 4 characters of the original string. For dynamic string lengths.
Good Luck!
--
Robert Williams
CEO, Founder
CertGuard
Robert Williams
CEO, Founder
CertGuard
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
activation advertising ajax apple asp browser c# code computer console development drm exploit firefox game google internet ip ipod key linux malware microsoft mobile mozilla mp3 news office open operating os pc photo product security serial software source spyware survey system upgrade virus vista web windows xbox 360 xml xp zune
- How to Parse XML in ASP? (ASP)
- Help with a date loop & error '80020009' (ASP)
- Microsoft 2002 Runtime error (Windows Software)
- Error Type: Microsoft VBScript runtime (0x800A01C9) (ASP)
- "The Sims" visual C++ runtime error, what shall i do? (Windows Software)
- Microsoft VBScript runtime (0x800A0035) (ASP)
- Microsoft Visual C++ Runtime Library Error (C++)
Other Threads in the ASP Forum
- Previous Thread: suggest me online mini project topic
- Next Thread: ASP redirect


Linear Mode