I am now creating a website which have 3 languages (English, Simplified Chinese and Traditional Chinese). The server has installed English version Window 2000 (Server Version, Default Codepage is Traditional Chinese) and MSSQL 2000 (English). I have created a database which use the codepage "chinese_PRC".
However, when I created an testing asp pages ( 1 textbox and it will insert the content into the table), it cannot store the chars in correct coding. I would like to know whether asp or MSSQL has something wrong in my setting?
I was reading up on ASP for a report and it talked about scripting languages. It also talked about using VBScript or Javascript as a scripting language? What exaclty is a scripting language and why do you have to use it?
We have a few English websites running on a single server and are in the process of adding a Spanish website to the same server. I am trying to determine how one would set the language for a particular website. For example, instead of ASP generating a date like "Monday, July 19, 2004" .
Can any one tell me how many programming languages are there in the world? I tried to google it but could not really get an exact or complete list of them all.cheers.
My ASP/Access app'n uses UTF-8 data in mixed languages/scripts successfully. That is, it takes input, stores and retrieves stuff OK browser-wise. The app also writes an RTF file and downloads that to the client (for display by Word) fine, but ONLY English; Cyrillic and the CJK group gets the trash display - and it's not a font pblm, cuz the browser display is good.
I've tried a number of charset directives in the RTF-writer, including CP-1251, UTF-8, Unicode, etc. None works. I don't know whether I need an explicit code-set translator or not, and am working with ChilKat's Charset product without any improvement so far.
Just started learning ASP, seems like lots of people use VBScript to program with. Though, I have spent the last year learning Java. Just wondering if I can use this to program with? along with its API's ?
Also, is it worth while to learn VBScript ? Is it industry standard or needed? Im guessing it is from the way its the language used in most ASP books. Any insight would be great.
This is a first for me...so all help much appreciated.
I am trying to create a survey form which retrieves all its questions form an ACCESS database.. (I know ACCESS isn't the best option, it just not my call).
This database is to be multi lingual and my current survey is to be in THAI...
So in creating the survey, I copy the thai text into the ACCESS table from a WORD document and all looks good. ACCESS seems to understand the THAI.
When I retrieve these Questions from the Database, loading them into a recordset however, I get '????'s' in the output instead of the thai text .
I have set the charset of the HTML document as charset=TIS-620..
Can anyone tell me what i am missing? What needs to be done to display thai text in my ASP App?
I have an ASP page that I want to support multiple languages. If I set the <%@ Language=VBScript CodePage=65001%>
and adds a <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
meta tag it seems to work OK. Now instead of setting the codepage in every page I tried adding a global.asa (Session_onStart) file and add session.codepage=65001 and also tried to add response.charset="utf-8" (I was not allowed to set <%@ Language=VBScript CodePage=65001%> inside global.asa). This does not seems to work though. Is it possible to set a codepage in some event in a global.asa to make it global for the entire application? Is it possible to add a directive in global.asa that works like setting a <meta http-equiv="Content-Type" content="text/html; charset=utf-8">. If this is possible I don't have to recomplie my business logic that creates the html.
how ASP (not ASP.Net) to do the following things: 1) Get real-time information from other web site such as tracking via Fed-Ex; 2) Real-time credit card charging via a payment gateway such as WorldPay; 3) How to support multiple languages.
Ive done quite a few sites now that involve different languages using different strategies and I would like to hear some different opinions on which is the most efficient.
The previous sites with languages that I have done have not been majorly big or would involve vast amounts of traffic so using included language file have been ok. I am about to do a site in 4 - 6 different languages that will have quite a lot of traffic. I have also used application variables in some cases but not sure if that is the best way.
So if anyone has any ideas on a better way and also one that is easy on server resources I'd love to hear them (and maybe a link to some code would be koool)..
I want to create some pages using .net, and have others using regular asp with vb. Just wondering? I know you can have Java within the same pages, but didn't know if using asp, and then wanted to do some .net things if the site would have problems.
I've read people using UltraDev and such - so tell me what benefits have you found ? I've noticed ASP.NET is very difficult to do with text-editors but I haven't found any reasons to code "normal ASP" with GUIs. How can you do a code like this:
dim foo = "I've heard Zenith is a fancy lad" IF (foo) THEN Response.Write("<a href=""foobar.asp?param=" & zoo & """>Woohoo</a>") END IF
...faster with GUI ?
I'm waiting
-Z-
P.S I've just found this forum and it looks like the best ASP-related BBS I've seen
Is this a good email coding practice? i havent yet found any simple code but this one works on me.
I just want to send one email to the customer's email add and another to the admin(having a default email add =mysite_for_admin@my-site.com) while sending at the same time.
I have problem with my sql coding. The problem that i encountered is that i cant detect the in between time in my field. I have two fields namely PeriodFrom and PeriodTo which I set to text data type. However, let say the previous user has made a booking from 0750-1620, the subsequent user should not be able to book the in between time. I tried to use the sql operator but it seems like doesn't work at all. Is there anything wrong it?...
Below are my coding.. ........ blnInvalidLab = False blnInvalidPeriod = False blnInvalidDate = False
w3c talks about scripting and gives examples. But I could not find a coding standard for ASP/VBScript.I am trying to find any standards and tools to apply those standards to my companies ASP/VBScript codebase.I am thinking that HTML Tidy can at least go through and cleanup the HTML codebase
This table just keeps track of the number of volunteers an organization had at a particular event, and the number of hours the organization as a whole, put in.
Now, I can get it to where I display every single organizationName once, in a table (an html table on a web page), with columns OrgName, Tot People Involved, and Tot # of hours worked, by using this asp code and getting each orgName from a basic select statement earlier in the code:
I have a form page that people fill out and push submit. When they push submit, the information is stored in a database in two different tables. You are then directed to a page that lists everything you have submitted so you can print it. I am having problems with this second page. Information from one of the tables is listed, but the information from the other table isn't listed. They are related by the "casenumber" that is given when submitted.
I have looked at the tables, and the information is there, and they have the same casenumber, but the information doesn't get put on the 2nd page. We just moved our site to IIS 6. Everything was working perfectly in IIS 5, but is now "broken" in IIS 6. I always get the following error when it hits the coding that should put in the information from the second table:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. Code:
I've got in my code a date in the format of dd/mm/yyyy (eg 10/06/2008). What I want to do is find out the number of days since last Thursday. Simple enough to explain, but I have no idea about how to go about coding it.
i need a script to go from field to another in an asp page with the enter button instead of the tab button, and the submit button is the space instead of the enter button.
coding standard in c# what is the best way of coding i mean some developers develop applications through direct query's INSERT,UPDATE,SELECT,DELETE or some developer develop applications through using classes create classes and call INSERT,UPDATE,SELECT,DELETE querys some developer develop application's through stored procedure create classes and call stored procedures i mean i am little confused what is the best way to written code .
I need direction on this. I don't know what its called, almost like a message box or something. First off, I have frames. Right now, the menu has a list of warehouses, and if you click on the warehouse on my site it then opens (in the 'main' part of the frame) all the hotline activity for the past 30 days. I would like it to instead of going straight to that page kind of popup a little box with an input box for someone to type in the amount of days they would like to go back, instead of the default 30. The thing is, I dont know how to code that in. It would look something like this (in my head anyway).
<%If (link)<>"" Then%> <html><head><title></title></head> <body> <form action="" name="""" method="post"> Please enter the amount of days you would like to search by. <input type="text" name=""days"> <input" type="submit" name=""submit"" value="Submit"> </form> </body> </html> <%End if%>
I'm don't like having anything rely on another location to make things work. Do I need to add this code in or is there a simplier way to change current CDONTS code. Code:
I have a simple helpdesk page on our internal intranet where the users input their information and it emails them the ticket and info, etc. Well, we host our mydomain.com IMAP email offsite right now, so we have IMAP.MYDOMAIN.COM in DNS forwarded externally.
Problem is, most if not all users internally know their email address as myemail@mydomain.com, and NOT myemail@imap.mydomain.com. Since the email that gets sent to the engineers on the backend is hard-coded, the emails for our notifications work... (someone@imap.mydomain.com and will always work.
Set fsoFolder = CreateObject("Scripting.FileSystemObject") Set FolderRoot = fsoFolder.GetFolder(Server.MapPath(ImagesRoot)) Set FolderSubs = FolderRoot.subfolders RndFolderNum = Int(FolderSubs.count * Rnd)
this is the code i have, all variables defined correctly and what not. however im still getting a error. its probably something stupid based on the error im getting but lets see if anyone can help
Error Type: Microsoft VBScript runtime (0x800A004C) Path not found /ebus211g6/Graeme/rndimage.asp, line 19
I'm using an Oracle database and basically all my information is in there ready to use, what I'm having trouble with precisley is that:
I have a search field, when a somebody types in what they are looking for basically what I want the asp page to do is retreive that specific information from the database. Basically I don't know where to start. I'd be very grateful for any help you could provide me with.