Changing Session.LCID In A Hyperlink
Is it possible to change the Session.LCID in a hyperlink? My problem is I'm calling a Date from a database to use as a querystring in the hyperlink but I also need to display the date as output from the hyperlink.
I need to have to querystring in Session.LCID = 1033 and the display date in
Session.LCID = 2057. Code:
View Replies
ADVERTISEMENT
Trying to locate the list of valid lcid's on MS's site and googled.
Ive toiled long and hard, but alas I cannot locate the information.
(previous links moved)
Could anyone point me in the direction of a list of countries and their
associated lcid
View Replies
View Related
We are translating our web shop to Slovak but when I use Session.LCID=1051
for slovak do I get the error "Invalid LCID". The same shope use Swedish =
1053, Norwegian(Bokmal) = 1044, English = 1033 and no problems.
What do I have to do in order to get Slovak to work on the same server?
View Replies
View Related
I recently downloaded a calendar that i am trying out for a client. It works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the following error.
Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code: .....
View Replies
View Related
I've recently installed a calendar that I downloaded but I'm having a bit of a problem with the date settings. I thought setting the LCID value would help which it does but brings another problem.
The site is being hosted on a server in Germany, and when I enter the LCID value for Germany it works but also changes the days and months to German. Any way to change that to English? I tried using the LCID values for US or UK but it just does not work....probably something to do with the German format of dd.mm.yyyy .
View Replies
View Related
The problem is, even when i set the LCID property at the
beginning of my code, it always returns the date in
brazilian date format. Example:
<% @Language=VBSCript %>
<% Session.LCID=1033 %>
<% Response.write (now & "<BR>" & Session.LCID) %>
This code should return:
MM/DD/YYYY HH:MM AM or PM
1033
But itīs returning:
DD/MM/YYYY HH:MM
1033
Do you see? The LCID is correct but it keeps showing the
date in brazilian format? What the hell is happenning?
View Replies
View Related
I've recently installed a calendar that I downloaded but I'm having a bit of
a problem with the date settings. I thought setting the LCID value would
help which it does but brings another problem. The site is being hosted on a
server in Germany, and when I enter the LCID value for Germany it works but
also changes the days and months to German. Any way to change that to
English? I tried using the LCID values for US or UK but it just does not
work....probably something to do with the German format of dd.mm.yyyy
View Replies
View Related
Does anybody knows how to change it?
Instead of ASPSESSIONIDQARCQQSC I want to change to "ASPSERVER1" for example...
View Replies
View Related
I have an ASP app running on a shared hosted server (CoreComm). The app is a basic shopping system (i.e. view products, place in cart, checkout). I am using the sessionid in part of a temporary table to track their cart and purchase.
So, when a product is added to their cart a temp table called tmpShoppingCartxxxxxxx is created. I have installed this same system on four different servers and currently only one is displaying my problem. Code:
View Replies
View Related
Is there anyway of using the Session.LCID to format a date for the user?For example, users in the UK get date format dd/mm/yyyy and US users get mm/dd/yyyy from the LCID object.
View Replies
View Related
When using Session.LCID to set different locales for different users using a webapp, is it possible to change those locale specific settings somehow? Let's say some picky user doesn't like a date format with leading zero's, and this happens to be the default for his locale.
is there a way to change this setting for this locale (using Regional settings in the control panel?) or is this simply impossible.
View Replies
View Related
Does anybody know how to determine a user's country or LCID in an asp page?
I've found some articles on using:
Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")
but somehow this doesn't seem like a foolproof method to me.
View Replies
View Related
What's the LCID value for Euro ?
View Replies
View Related
I've currently got all documents with an Session.LCID setting right on top of the page and it's got the value &H0413. On rare occasions (as today) it gives me the guilder currency instead of the euro currency (we used to have guilder before euro).
The regional settings at the server are set to use the Euro sign and the ASP documents got the &H0413. What's causing the hick-up that I all of a sudden now get the "fl." guilder-sign instead of the "" euro sign?
Is there a difference between these notations:
&H0413 and 1043
I found both for Dutch language. It's not good since our company cannot print documents now coz the sign is wrong.
View Replies
View Related
I've never understood how this works so hopefully someone can shed some light on this. If I wanted to create a hyperlink that would initiate a pop up "Save As" box, would I use JS? And secondly, doesnt anyone have any idea how this would be done. I didnt have any luck finding the answer to this when I googled it. I found one example of how someone was trying a similar technique but wasn't quite the same. The reason for this is Im making a simple webpage so some elderly people that arent computer savy can download some WMA and WAV files from my server. I dont want to explain they have to right click on the link.
View Replies
View Related
I have an Access 2003 database with 1 table that has 2 fields - Date and Description. Both are plain text. This is the basis for a basic calendar displayed as a table using ASP. So far as plain text it works perfectly.
Now I want to generate bolding and hyperlinks on the text in the Description field. Not all fields contain text in the same format, and not all need bold or hyperlinks.
Example: One record will be "Meeting at the Boarding Barn at 1:00" where I want "Boarding Barn" to be a hyperlink. Next record will be "Competition in Milwaukee" where "Competiton" should be bolded, and "Milwaukee" will be the hyperlink. Third record will be "Annual Picnic" and will not have any bold or hyperlink.
I put the HTML tags in the text in the database, but they are ignored. What is the right way to do this?
View Replies
View Related
Rather than doing this:
<A HREF="editpatient.asp?ID=1>View</A>
Can i do something like this instead? - and make it work
<A href="EDITPATIENT.asp?ID=" & LISTBOXPATIENT & ">View</A>
where LISTBOXPATIENT refers to a database populated listbox
The idea being that when the user is completing a form they can look up additional data on a patient by clicking the hyperlink next to the listbox.
View Replies
View Related
How do I write a hyperlink on an asp page to a word doc
not in the web root?If I have a page in my test directory of the web root and
my files are sitting on my e drive?
View Replies
View Related
I built an ASP Form and I'm using CDONTS to e-mail the results to me.
After the user clicks on the "Submit Form" I use ASP to send a ConfirmMsg
back to the user.
At the same time I would like to send back a Hyperlink .
The Hyperlink will take the user back to some other part of the site, For
Exampe I want to send a hyperlin to
http://www.mydomain.com/index.html
I want the link to appear after the Server processes the ASP Form.
Can anyone help me with the ASP code fot a hyperlink.
View Replies
View Related
I make a recordset as hyperlink with the new page, it work fine but my question is. is any way to make that hyperlink inactive when is no data or NULL in the field? Code:
View Replies
View Related
I am writing an intranet and want to be able to hyperlink to all files
within a specific folder AND it's subfolders. Whilst I can hyperlink to the
files in the specified folder AND I can also iterate through the subfolders
and list them, for some reason I cannot hyperlink to the sub folders. I am
writing this software at home using a computer that has IIS and Windows 98
and am accessing this as my server from another computer on my network.
My Home Page on the Server is http://maxitek (the name of my Windows98
Computer) and when I look at the value of the variable "PathSpec" - it
becomes C:Inetpubwwwroot which when I try to create links to the sub
folder it is probably here where the problem is. The files themselves link,
but not with their full subfolder names, i.e., for a file called
"C:Inetpubwwwrootmytestmytest2mytest.txt" I am getting a link that just
looks like this Code:
View Replies
View Related
I have some code that is placing a hyperlink on an ASP page. When I run the asp I get:
<A HREF=" instead of the hyperlink name i want. In addition it does not finish the code below. Can amyone see an issue with my syntax or the code itself.
When I click the hyperlink the corrosponding URL is not right? Code:
View Replies
View Related
I am displaying records from an Access database. One of which is a hyperlink.I was wondering how i get it to open in a new window when the user clicks on it.
code:
Dim strLink
strLink = rs.Fields("Website")
'Website is the field name in database
Response.Write("<a href=" & strLink & ">" )
View Replies
View Related
I have an asp calendar. Nothing complicated really. People enter the data through a form... it writes to a database... and when you click a day it retrieves from the database. The problem is one of the fields is a hyperlink to more information about the event on another website. The text of the link shows but it doesn't actually link.
I have the field in the database set up as hyperlink and not text and I'm pretty sure that the asp code I should be using starts out Response.Write.... I just don't know what to do next... I've tried everything imaginable... below is what I thought it should be but this didn't work.
Response.Write "<a href="Rs("Web_Link")">"
I'm sure I'm missing something painfully obvious.
View Replies
View Related
I have a postscript that prints any given text to a text file.how to make; for example a word like "Test" to a hyperlink.so that it prints a hyperlink in the textfile to be precise.I know i need to make a script that fetches the word and prints the html for the link.but i dont really know where to start.
View Replies
View Related
i got this error:
Error Type:
Microsoft VBScript compilation (0x800A03EE)
Expected ')'
/update.asp, line 46, column 28
Response.write("<P><A HREF="default.asp">Return to Main Menu</A>")
View Replies
View Related
I just want to write a hyperlink in ASP. getting many errors . can anyone please help me with this.
Response.Write("<font size=2 face=arial><A Class=TableLink href = "
link://cs-dev.verizon.com/cs/aa.asp?K=123&srcserver=Cs" & "onMouseOver=" & """" & "window.status='Case';return true" & """" & "onMouseOut=" & """" & "window.status='';return true" & """" & ">Case:</A></font></td>")
View Replies
View Related
I am trying to create a page that contains a recordset and one of the fields to be a hyperlink to a download.I am using an Access database and don't seem to be able to make the hyperlinks 'active'.
View Replies
View Related
What is wrong with this code i want to make a hyperlink from the value that comes from Newsletter_Subject: Code:
<%Do While Not ObjRS.EOF %>
datumophaal=<%=FormatDateTime(objRS.Fields("Newsletter_date"),2)%>
<tr valign="top">
<td width="100"><%=datumophaal%></TD>
<td width="100"><%="<A HREF='admin.asp'>ObjRS.Fields("Newsletter_Subject")</A>"%></td>
</tr>
<% ObjRS.MoveNext
Loop
View Replies
View Related
Iv'e been trying to build a ticker that scrolls dynamic text containing hyperlinks. The ticker and the dynamic text are no problem but i'm having trouble trying to hide the hyperlink code from being displayed. Any ideas?
View Replies
View Related
i have a link as seen below in test1.asp page:
<% Response.Write("<a href=http://IP_Address/page1.php?action=send&name=Jimmy&message=hello">Send</a>") %>
When i open the page at local server it's work. however when i open it from client site, it show this error.. Incorrect IP
for your info, the remote server that located page1.php page is only recognised the local server that containing test1.asp page. Is there any solutions for me to solve this problem?
View Replies
View Related
i'm attempting to create a hyperlink of each entry of a certain field which i have in my database (very much similar to the ones created with HTML, where u can click on some highlighted-text that links to another page), but i want the links to appear on the page when it's loaded and each entry has it's own link. Code:
View Replies
View Related
I've been using both Frontpage and Access for a couple of years. Now I'm trying to integrate the two of them.
So, I have a webpage with a map of several locations. I want to be able to click on a location and have it run a query in my Access database to spit out
information about that one site.
My Access database is loaded on the server. I've created an .asp already and I can use the Frontpage interface to select various sites, but I want the query to be driven by what site I click on.
and of course I've already created the hotspots. What SQL coding would I use to tell the Frontpage Database Results wizard to look up information based on which hotspot I clicked on?
View Replies
View Related