I see that ASP allows you to specify the scripting language of your
choice - including (if you get the COM object) PERL, REXX and more. That
seems pretty good, I think.
Out of the box, it supports VBScript and JScript.
The question is (and I know that personal preference will come into
this) what would you choose to use out of JScript and VBScript? Does one
actually have more capability than the other?
I have a page which reads the contents from a certain table. The displayed text is followed by a link which is also stored in that table. They can just click the link belonging to a certain newsitem and the page with that news will display. But, for every new item I make a new page. What I want is that the link every time opens the same newspage but with only the selected newsitem. Something like "SELECT description FROM tblNews Where ID= [the ID belonging to the link I pressed on the previous page]"
On a webpage I have three comboboxes. The second and the third are dynamically filled dependent from the choice in the first combobox. Each choice in all three boxes consist of a numeric value and a string.
This is done through a javascript and it uses the numeric values of the first box. When submitting the page to an asp script I don't want to post these numeric values but the selected strings. Can this be done?
I have a field in my add page, "Method of Payment". It is a dropdown box with the choices:
Cash (value =1) Check (value =2) etc.
Depending on which choice is made, I need a date to fill in the "Date Paid" field in the same table. Here is the code below. I'm getting a syntax error. Any ideas? Code:
I have a problem with displaying data from a database where text is written in slovenian and in czech. The accents aren't displayed. What can I do to display all the accents in Slovenian and Czech?
A word in the database: prijímání (f) Displayed on my ASP page: prijímání (f) (the accent at r is missing)
My database is a Access-2000-database. All the accents are displayed in the database.
I really want to build mine using classic ASP as this is the language my trusted friend has a talent for.This seems to make sense in the short term. However I worry about the lack of social networking sites built with ASP.
There must be reasons for this. So plan to recode using PHP and transport existing database across once I have earnt enough from the website to pay for the services of a qualified person.Is this plan sensible, should I stick with my friend and ASP OR should I code with PHP from the start?
I have built a couple using a little ASP code for example the 'include' comand. The server I am using obviously supports ASP but I want to move to another host but they dont support ASP.
What other language would be similar to ASP. The new hosting site supports cgi, php and ruby. I know nothing about any of these. I may want to be able to access a database in the future or add a message board to a site so the language needs to be a bit interactive.
I'm looking for the best solution, for example, I don't know if it's better to have all the text in the page in all languages and then select it with a querystring:
page.asp?lang=1
And in the code:
lang = CInt(Request.QueryString("lang")) If lang = 1 Then ' xhtml for language 1 else ....
I don't consider this a good solution, it's a nightmare to update.Maybe storing text in a database? XML? I would like to hear your suggestions and opinions about best methods.
how to have multiple language asp pages? For example, you have a database driven website that you want customers around the world to use. How do you setup the asp pages so that it is easy to change the text based on where the user is connecting from?
Since ASP server scripts use VBScript by default, does it mean it is redundant to put the following in ASP page? Then when do we need to use this? In client-side VBScript?
I have learnt how to use some aspects of php. But have got a little stuck on databases. Are there some easy examples to follow from the internet on how to modify databases in asp?
Is asp very similar to php? In the sense that you can achieve the same things with it?
is there an online dictionary that I can use to learn asp? especially one that can be kept and stored offline(I am not on the internet at home)
I have no idea what would cause this because my system setting is set to English and all of my other programs that use the date and time are doing it in English but my ASP seems to be giving me the date in Italian For example..
WeekDayName(WeekDay(Now())) = venerdě instead of Friday.
I have some dynamic pages like asp files and the data comes from database. What I need is to display the page content to diffrent languages. Suppose user selects Germany and the page content changes to german language.
What's the best way to toggle two different language on the web site using asp. Some web sites seem to store html links in database and call it on demand. Please advise and show the best way to program it.
I want to make a website both in English and in French, I dont know how to design the database (same for both ) or different.
Can anyone of you suggest me how can i make a website for more then one language. The two versions of the website will have both the graphics and contents different and there is a search option too.
How can i search an english database with a french keyword?
My set of .NET 2003 CDs has 2 .net cds; 1 prerequisite cd; plus msdn. I get to a certain point in the installation and it prompts me for the English Lanaguage CD and I don't know what this is. I bought the set from someone who didn't want them any more - did I not get one of the CDs?
seems like alot of things in ASP VBSCRIPT dont have equals in ASP JAVASCRIPT. tryign to do a lowercase on a string "101:121:212 ABCA" so it becomes "101:121:212 abca"
LCASE doesnt work , get error so i assume its not in the JScript version of ASP.
I want to watermark images already on the server, on the fly as they're being called. I've found some PHP scripts that do it but I need them in an ASP environment using either VBScript(preferred) or Javascript. Anyone have any ideas or suggestions?
I'm sort of trying to force my way through some manuals and w3schools trying to pick up asp. i'm farmiliar with PHP so i figure it will be a breeze there's just one general theory idea i don't understand. if ASP can be written with either javascript or vbscript. then is ASP just adding the <% %> tags around the code?
something like "Session.Timeout" or "response.write" this doesn't look like VBScript to me. are these elements of ASP, VBScript, or something else?
I hope you can understand my question.I'm sort of confused with the languages / where to look to find information because i dont know what to look for.
text into the text box with shift+alt key. A normal user is unaware of it. ifI upload pages into my remote domain. There how a person who has not installed arabic in his pc is able to enter arabic. now i think my concern will be more clear to u if u need some further assistance then don't hesitate to ask.
Iam working on a search that needs to fetch words from other languages for any given word entered in english. I use an access database to store the english words and its equalent words in other languages. For example:
When i search for chinese equalent of Invoice (or any other word), the retrieved result is?.
I am currently creating a multi-language site using ASP .NET and was wondering what people think the best way to do this. Keeping a session variable of the users's choice? Cookies?
How do you obtain the nationality of the person surfing to your site in regular ASP not ASP.NET? Windows CE's webserver supports HTTP 1.0. I intend to use Windows CE's webserver.
I am learning them and using them in a project simultaneously. I felt VBscript is a little primitive when it comes to error handling. I mean I can't put "On Error Resume Next" command before every code line of the program. That's one of the problem I came across so far - and for me it is a major draw back to develop a application with no or little error-handling.
which is better to use along with ASP - VBScript or JScript or JavaScript. As I don't have experience using them, I can't judge which is better to use in a real time project.
I want to build a website who handle 3 different countries (english, german, french). The changes between the countries is the text on the website. I know that i can put the text in a database to change it dynamic. But i wonder if i can do it on another way?
I am using Microsoft remote scripting for a site that I am making. Everything is going pretty good except one thing. My values which I want to store in the database(this procedure takes place in the calling page) are being stored with wrong and wuth no sence characters.
So far I understood that using remote scripting for languages more than English is impossible. Am I right or is there a tip for using it for every language eg Hindi etc etc? I need an answer to this because I am trying to solve this problem for more than a month.
I'm creating a bilingual site for an Intranet. The site is created with a modified version of NukeEdit. The way it works is I have 2 completely seperate sites that are identical for both languages (other than the content of course).
To make things simpler all the files and folders are named in English so the directory and file stucture for the site is the same for both languages.
On each page there is a button to switch languages. The thing is I have the button linking to the homepage. I would like it to be a bit smarter and take you to the actual page you're in. Code: