I have been happily reading through the sticky best practices and changing my bad habits ( no more SELECT * from me now!) to better ones.
I found the bit about functions and then the article on The Real Basics of Functions In ASP and following that I got the drop down box function to work.
I have lots of forms with lots of dropdown boxes - some are dependant (and working beautifully because of the help here) and some are not dependant on anything, so I thought is would be best to use the drop down box function.
At the moment I have a few other functions that I have gotten from elsewhere, and they are in include files like pcaseFunction.asp etc. I only include these files on the pages where I use the functions.
Is this good practice, or should I put them all into one file? Calling the function multiple times on one page, will this be a problem?
I am looking to implement i18n with our current software which is based on the web that has an international client base. So for this we need to support other language (mainly chinese, japanese, indonesia) My company have told me that the i18n would do this for us and to research into it (http://www.debian.org/doc/manuals/intro-i18n/ch-intro.en.html#s-intro-concepts). I myself think that this will not do the translations for us and think that we need to re-write it for the site with the help of translators. I have researched into this over the past few days and found articles on the web and case studies but it still hasnt cleared up what I am trying to achieve. So I was wondering if anybody has any previous experience in using this in ASP or even VB.
I need to write an ASP page that will allow a user to paste in data from an Excel spreadsheet. The data will only be in one column. I'm not a web programmer and would like some advice on the best way to do this.
I have a page working using a text area and some JavaScript to parse the data entries using the split function. This seems to work ok but I wondered if anyone could suggest a better way?
I have an intranet site that controls equipments flow for three companies. Recently one of the key users of one company asked me if the manual input they use to track the equipments and use the functions of the system could be replaced for a bar code scan...
So the basic idea is to add an icon beside the manual input that locate the equipment, as an option to use bar code scan pistol instead of typing.
There is some example of this kind of implementation, if its even possible? Could you show me the way, like choosing the right bar code standard, how to control scan`s API from asp, etc?
I am getting the error "No value given for one or more required parameters" with this basic script.
I have checked the fields are spelt correctly and have capitals in the right place. I have also checked with response.write to see the results it produces and it all looks correct. Code:
when trying to connect remote desktop web connection...the "non-web" connection works perfectly (i.e. just launching mstsc and connection directly to an IP).I believe that the problem might exist in my connect.asp file
We have a desgined a web application with ASP, VB, Oracle, Javascript. Ours is a three tier applicaton with the component proxy exported to IIS on the web server.
We have the error 'object required' throwed inconsistently by ASP. After awhile, if we refresh the page the page is working fine. We have been having performance problems like Failureenlisting Resource Manger and MSDTC errros also.
I have been working on requiredvalidation controls..I'd like to know how could I create a validation on a group of controls? for example to validate phone, on the form it may looks like below (brackets are the textbox fields) ([ ]) [ ]-[ ]
how could I validate all three fields with one message error to display in the validation summary?or is there another way to do? btw, am I able to create a textbox or some sort of control that is actually the combination of the three boxes?
"Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters." error message in the first line.
Rs.Open "SELECT * From Unvanlar WHERE Unvan = " & kayit8, Con, 3,3 If rs.EOF Then Con.Execute ("INSERT INTO Unvanlar (Unvan) VALUES ('"&kayit8&"')"),,129 End If Rs.Close
The variable is string and the field in access table is text. I'm sure that field names in the code and table are correct as well. What can I do to solve that?
I just uploaded a script I downloaded and everything works fine except when I load any page in that directory it asks me to login. I usually use PHP on a different server so I'm used to using .htaccess files to elicit the same effect. How would I go about turning this off in ASP? If i were on a linux server I'd just alter this file and remove the following lines, but I'm not sure how to do this with ASP. Example .htaccess
Well after sorting my DB Counter problem (see previous thread) (I stumbled accross another. Well, the counter was just on the underconstruction page but I have put it into my common.asp file (for when the acctual site opens, the asp file included at the top of every page) and I get this error:
Microsoft VBScript runtime error '800a01a8' Object required: ' ' /dannyscorner/includes/common.asp, line 60
I have seen this many many times before HeHe ^_^ But this time, it says line 60 but line 60 is used on the underconstruction page and the counter works fine
I am writing an asp script that includes some WMI calls to get PC information and display it on the page. I can query other machines in the domain just fine, but when I try to query the machine that is running the website (Windows 2003 IIS) I get the error Object Required Error 424.
I have tried to this on a Windows XP Pro machine running IIS and I get the same error. Why woud I not be able to query the local machine running IIS?
I have been asked to include a fee calculator in a site, which would enable a browser to calcualte fees on the sale/purchase of a property. I have searched Google for ages and cannot find such code. something similar that could be adapted(not too technical) or a basic script to do it that I could buy.
I am currently operating a hosted ASP site with SQL Server installed. I need a very basic forum (ideally for free) and any suggestions would be much welcomed. I note that Snitz offer an extremely comprehensive ASP forum which is free but from experience I know that learning to use this properly is quite a steep learning curve and right now I do not have the time. What I am looking for is a forum which bears the same relationship to Snitz as Notepad does to Microsoft Word.
The line points to where the query takes place. I've read that it could be b'cos a variable that's not defined, but this is not the case, not that i know. Here's the line:
strsqlttype is the variable wish contains the select, and it is initialized as empty. After running the query on the database i found some empty/null records, b'cos of that i validate the fields i need... prior that it stoped right after the loop writes the first line, after validation was placed it stoped on the second record.
This crazy query works on three other sites, which are all exactly the same and even use the exact same code and data format, but it won't work on a new one. The craziest part is that when I copy the query to Access and execute it in SQL view, I don't get an error; it works perfectly. Code:
Does anyone know of a good free forum for ASP? For PHP there is www.phpbb.com which is very professional. Is there a similarly professional looking ASP forum anywhere? (Preferably freeware).
I'm trying to write a Generic Form to Database Parser, basically this script should take the values of Form fields and write them into a Database Table with correspondingly named fields.
EG: The value contained in <input type="text" name="Email" > would be written to the database field "Email"
I ran into difficulty when I tried to differntiate between Numeric and Non-Numeric Data as non-numeric data values must appear in quotes in a SQL Statment whereas Numeric Data should not be placed in Quotes. So I'm testing my form values to see if they are numeric, so I can build my SQL Statement Accordingly. Code: