Error Code 800a01a8 Object Required
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site vbscript runtime error 800a01a8 object required About Us Learn more about Stack Overflow the company Business Learn more about 800a01a8 object required asp hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
Microsoft Vbscript Runtime Error '800a01a8' Object Required ' Undefined '
the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Code Error 800A01A8 - Object
Microsoft Vbscript Runtime Error Object Required ' String
Required up vote 0 down vote favorite I have a HTA file that open a text box alows user to enter path to a folder then save it to a text file. But when I trying to use second button to run a batch, it gives me an error code Code Error 800A01A8 - Object Required : Wscript
Copy And Paste The Folder Path To Here
I can't find out why....did some research but no luck at all Any suggestion? vbscript hta share|improve this question edited Feb 26 '14 at 21:03 asked Feb 26 '14 at 14:01 Root Loop 47011029 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote accepted The WScript object your line Set WshShell = WScript.CreateObject("WScript.Shell") tries to use does not exist in a HTA (it is provided by the w|cscript.exe hosts). As VBScript (the language itself) provides its own CreateObject function, just use Set WshShell = CreateObject("WScript.Shell") share|improve this answer answered Feb 26 '14 at 21:11 Ekkehard.Horner 30k11934 ohhhh! th
here for a quick overview of the site Help Center Detailed answers to any questions you might
Vbscript Object Required String
have Meta Discuss the workings and policies of this site About object required error vbscript Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting object required wscript error in vbscript ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 http://stackoverflow.com/questions/22043691/code-error-800a01a8-object-required million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Function Error Object Required 800a01a8 up vote 1 down vote favorite I'm relatively new to functions and classes so not too sure if this is a beginners mistake. I'm getting: Microsoft VBScript runtime error '800a01a8' Object required: 'EngineerNote(...)' http://stackoverflow.com/questions/17468979/function-error-object-required-800a01a8 /backup-check/backup_frontendlist_import_NEW.asp, line 76 Line 76 is: Set NoteArray=EngineerNote(company, servername, backupsolution) The three variables I'm passing are all strings. All the function and class is set in: Class EngineerNoteClass public note public notesubmitdate End Class Function EngineerNote(Company, ServerName, Solution) Set RecordSet = Server.CreateObject("ADODB.Recordset") RecordSetSQLString = "SELECT note, submitdate FROM tbl_BackupChecks_AuditInformation WHERE Company='" & company & "' AND ServerName='" & servername & "' AND Solution='" & solution & "' ORDER BY submitdate desc;" RecordSet.Open RecordSetSQLString, DatabaseConnection If Recordset.EOF Then 'Do Nothing Else Dim NoteResults Set NoteResults = new EngineerNoteClass noteresults.note = RecordSet("note") noteresults.notesubmitdate = RecordSet("submitdate") Set Engineernote = NoteResults End If Recordset.Close End Function asp-classic vbscript share|improve this question asked Jul 4 '13 at 11:20 Trinitrotoluene 55821126 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted Most likely your database query didn't return any results. You only set the return value of your function when the recordset isn't at EOF: If Recordset.EOF Then 'Do Nothing Else ... Set Enginee
Unanswered Topics Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access ASP Microsoft VBScript runtime error '800a01a8' object User http://p2p.wrox.com/access-asp/13772-microsoft-vbscript-runtime-error-800a01a8-object.html Name Remember Me? Password Reminder Password Register Register | FAQ | Members List | Calendar | Today's Posts | Search Access ASP Using ASP with Microsoft Access databases. For Access questions not specific to ASP, please use the Access forum. For more ASP forums, please see the ASP forum category. Search Forums Show Threads Show Posts Advanced object required Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the Access ASP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By vbscript runtime error joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Thread Tools Display Modes #1 (permalink) June 4th, 2004, 10:31 AM stevesole Registered User Join Date: Jun 2004 Location: , , . Posts: 6 Thanks: 0 Thanked 0 Times in 0 Posts Microsoft VBScript runtime error '800a01a8' object Hi i am trying to build an updatable profile area for members but am getting Microsoft VBScript runtime error '800a01a8' Object required: '[string: "utown"]' /myspace/edit_userloc.asp, line 31 when i run this bit of code : username = Request.cookies("isLoggedInAs")("username") town = cstr(Request.form("utown")) postcode = cstr(Request.form("upostcode")) alerts = cstr(Request.form("alerts")) set racDB = Server.CreateObject("ADODB.Connection") racDB.Open "rac" set insertset = Server.CreateObject("ADODB.RecordSet") insertset.Open "memb_loc", racdb, _ adOpenstatic, adCmdTable if p_existing = "" then insertset.AddNew else updateset.Find "username =" &p_existing end if set town = "utown" set postcode = upostcode set("alerts") = alerts updateset.Update updateset.Close set insertset = Nothing racDB.Close set racDB = Nothing R