Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




ASP Scripting Languages?


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?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
ASP, Dates & Languages
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" .

Programming Languages
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.

VS2005 Languages Available
Can C++/CLR be used for web development? Among C++/VB/C# does any language have an advantage over another for Web/ASP.NET development?

I use C++ for native devlopment and I am considering using VB for all .NET develpment whether it be Windows or Web. I like VB's syntax.

ASP-to-RTF - Mixed Languages
I've been fighting this for a couple of weeks:

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.

Languages For Programming ASP In
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.

Support Multiple Languages
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.


Advice For Adding 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)..

Multiple Languages In A Site
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.

Scripting
The script below does what it i supposed to on a remote server, but when run on my local host, it hangs endlessly. Do I need to do something on my computer to accommodate this ability to create folders?

Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
folder = Server.mapPath("images/rentals") & "/" & Request("l_name")
objFSO.CreateFolder(folder)
Set objFSO = Nothing

Scripting
I am trying to get a database working on my site but I am very New to ASP. what I want to do is if ther is a match in a database to automatically sent a msg to the user to say there is a match.

Using Scripting
I've got a freebie hosting mirror of my production personal website
(sounds kinda grandiose, doesn't it?) at http://journeys.webhostme.com/.
At the production website I was using Scripting.FileSystemObject to get
the date that the file was last modified and to read/write a counter
text file for the number of hits that the whole site had. The freebie
has a kind of half-ass*d FileSystemObject, but it has no GetFile method.
Is there any way I can accomplish the same things without using the
FileSystemObject, or by using the crippled one?


Scripting
This ASP script below is sitting on a Windows 2000 IIS Server Box and the
fldr was pointing to Bradford2 emp which was a Windows 2000 server and
worked great, now I changed the fldr to point to Bradford7 emp which is a
Windows 2003 R2 server. After pointing to Windows 2003 R2 box the
FolderExists(fldr) no longer works. The directory is there and all the
permissions are the same from Bradford2 to Bradford7.
Dim fldr, fso
fldr = "radford7 emp"
Set fso = CreateObject("Scripting.FileSystemObject")
If NOT fso.FolderExists(fldr) Then
' Folder Found
Else
' Folder Not Found
End If

FTP Scripting
I have been "hitting the wall with my head" for couple of weeks now, what I need is a way to automatically generate ftp script that will be run when I click the download link on the site that is made using asp technology (not asp.net). How can I do that,can anyone give me some helpfull information ? I am using windows2003 server, with IIS and FTP server set up.

Scripting.FileSystemObject
I would use the Scripting.FileSystemObject to find a file in a server, which
I connect with a VPN connection.

I'm not sure that the Scripting.FileSystemObject works with a folder, which
is in another server, using an ASP page which is on my server.

Client Scripting
The following HTML exists on a page in Internet Explorer v6:

<BODY>
<FORM action="x" method="post" name="Form1">
<INPUT type="hidden" name="key" />
<INPUT type="submit" value="Go" />
</FORM>
</BODY>

What would be the correct VBScript or JavaScript syntax to:
A. Set the value of the key field to "ABC"
B. Submit the form to the server

Remote Scripting
I am upgrading an ASP app that implements javascript remote scripting. The probem is that the application works fine except when any remote scripting is called. Does remote scripting work under IIS6.0?

MS Access Scripting
I want to script real-time data FROM financial Web sites TO an MS Access db.
on a PC (no server issues).
Is this possible?If so what should I use ASP VBScript, ASP.NET VB or something else

Remote Scripting
I would like to use the Remote Scripting method. Where can I find the latest
scripts ie (RS>htm, RS.asp & RSProxy.class) for this operation?

ASP Scripting Technology
Does anyone know if the ASP scripting technology has a support lifecycle at
Microsoft? Is there any information on if/when ASP as an application platform
will no longer be supported by Microsoft? I have a customer that wants to
know if they stay w/ a mission critical ASP based application, will Microsoft
will still provide support (updates, security patches...) for the ASP
technology it is built on.

Remote Scripting ASP
I use the RemoteScripting with the rsproxy.class within my asp pages.
I don't have problems except, when the Java console is not active in IE.
Is there a way to detect from asp, if the java console is active or not ?

or, how to do remote scripting without the rsproxy ?

ActiveX Scripting
Does anyone know where I can find any good documentation using ActiveX scripting with asp and vbscript? How is ActiveX scripting different than using ADO (ActiveX Data Objects)?

Remote Scripting
I have a Web application that uses Remote Scripting to provide dynamic data to a web page.I am testing the application in Internet Explorer 6 SP1 running on Windows XP Professional.

When I use the Microsoft JVM,the application works without any problems.However, as a result of future withdrawal of support of the Microsoft JVM as a result of the settlement with Sun, I need to ensure that the application works okay with the Sun Java plug-in for Internet Explorer.

this component is no longer available,and clicking on the OK button only reiterates this message. When I click on the Cancel button instead, the Remote Scripting functionality fails to work.Is it possible for Remote Scripting to be configured to work with an alternative JVM, such as the Sun Java Plug-In, or is it entirely dependent on the Microsoft version?

SCripting.FileSystemObject
I havw written this code in ASP

Dim oFSO
Dim oTempFolder

Set oFSO = Server.CreateObject("Scripting.FileSystemObject")
Set oTempFolder = oFSO.GetSpecialFolder(TemporaryFolder)

Response.Write "<br>Temporary Folder Name is " & oTempFolder.Name
Response.Write "<br>Temporary Folder Path is " & oTempFolder.Path

It hangs forever on the line
Set oTempFolder = oFSO.GetSpecialFolder(TemporaryFolder)

However it works perfectly if I write the same code in VB Application. Can anybody tells me what's wrong in it.

Action Scripting
Anyone can help me to create a Text Formating. AS I want that there is a object. I want to write some text in a textbox on Run time. and it displays on the object and if i want to change his font,size or color.

so tell me how its possible. can i get tha code from anybody or from anysite or anyone plz me to do this in Flash with Action Scripting.

Scripting.FileSystemObject
I've some problems with "Scripting.FileSystemObject" object. If I try to create a new text file with the function myfile.CreateTextFile I have two differents result:

If I execute the script client-side there are no problems, but if I execute the script server-side the process stops when I call this function (I think that the process is in loop because I must close iexplore to stop the application).

Scripting.FileSystemObject Question
im trying to make a delete function to delete usernames from my database, for my website but how I do rewrite the line (username) with a blank? Code:

Scripting.FileSystemObject Problem
I want to maintain a high score file on an iis server, and I try to use a txt file to contain the scores.

The server can't run the ASP file but writes HTTP internal server error (in danish). Is it possible, that the server does not support

Server.CreateObject("Scripting.FileSystemObject") ?

In other cases the server gives me an ASP error report (line xx in file yy and so on). Here it only says HTTP 500 (not 404). Even if I call the ASP directly. Code:

Remote Scripting Vs XMLHttp
I have a form where I want to be able to validate a field against a DB
*before* the form has been submitted.
After doing a bit of homework, it seems there are two general approaches:
1) Remote Scripting [using RSExecute/RSGetASPObject]
2) Using XMLHTTP/XMLDOM objects
I have no experience with either, so I though I'd see what my peers are
using.

Order A Scripting.Dictionary
I have a problem with the Scripting.Dictionary in ASP.
All my data is entered into my Dictionary with no order and I would like to order them alphabeticaly and I don't know how to do.

FileSystemObject Scripting Don't Work
I am having ASP with the following code to access the file with windows
scripting host. The page run on local server IIS 5.1 on Win XP Pro SP2. The
IE never show me any error with this, but will keep access the page for very
long. This code is running fine on other system. Code:

Cross-Site Scripting
I need to know if there is a standard aproach in ASP ( or any other ) to filter HTML tags. I mean, filter any cross-site scripting code.

Sending Newdlstter Thru ASP Scripting
Iam planning to send newsletter to my customers thru ASP Script. I have abt 6000 customers. The reason i cant use any email software is my newletter is dynamic means i am using some customer data in that. Now when i tested my newsletter with my host( Shared Server), its talking abt 2 minutes to send 20 email, which is too slow for me to send abt 6000 emails. Now my hosting guys are suggesting me Dedicated server solution so i can use that for newletter. so does anyone know any solution i.e any asp host, email object for bulk emails, any fast scripting or any other solution, please reply me as soon as possible

Remote Scripting Error
I'm using remote scripting and get an error :

"Object doesn't support this property or method"

The problem is that I dont get this error message when I'm accessing the page from another computer over the network,I only get the error when I'm accessing the page on the local machine. Any ideas on how to fix this?

Alternate For Scripting.FileSystemObject
In my application I need to read the lines from the text file. I use the following script to do that.It doesn't seem to work because of the Norton Anti virus script blocking. I cannot do anything to Norton so I want to find the alternative way to read the lines from the text file. Quote:

Dim objFSO, objTextFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile(Server.MapPath("ProgrammeDetails"),1,false)
Do While Not objTextFile.AtEndOfStream
Response.Write objTextFile.ReadLine & "<BR>" & vbCrLf
Loop
objTextFile.Close
Set objTextFile = Nothing
Set objFSO = Nothing

Choosing Scripting Language
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.

Cross-Site Scripting
I hv a web application mainly written in ASP. How can I prevent my pages like login.asp and other important pages from Cross-site scripting malicious attacks. What precautions should I take ?

Remote Scripting Language
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.

Client Side Scripting
I ened to get the user's windowsNT logon name. When the ASP is on my computer I can easily get it because I am logged in to what is the server. When the page is on another machine I cannot retrieve the login because the script is running on the server and not the client. What code do I use to make a script run client side instead of server side?
The code I need to run client side is:

sFullUser = trim(Request.ServerVariables ("LOGON_USER"))

If there is another way to get the user's login from windows that will work just fine too.

Custom Scripting Components
I'm trying to alter a asp web site that I've taken over from another programmer. The previous programmer left under bad circustances and I am unable to find where she did her custom scripting components. Anyone have any suggestion on what to do?

Windows Scripting Components
I don't see the Windows Scripting Component used widely, maybe I am looking in all the wrong places. My guess is they are not easily used on "paid for" remote Web services so largely ignored.

Anyway, I can easily create/use them in my situation and am comparing them to the VBScript Class model. There seems to be no WSC provision for the class_initiate/class_terminate features in the VBScript Class model. If there is for WSC can someone please enlighten me?

Repost From Scripting About Sig Fig Functions
I need a function that can format a number with the appropriate number of sig
figs. Ideallty a function that takes two values the value to be converted
and the number of sig figs I want it formatted to. Has anyone done this?
Any leads on how to? I have been searching the net and haven't found
anything yet.

ASP Scripting Language Query
Are the 3 script tags below all client-side javascript? If not, what are they? If they are client-side javascript, why the different syntax ie. Code:

Scripting Dictionary Vbscript
i'm trying to page through the items in the Dictionary, i've got a great example on it, but the way my class and dictionary is set up won't allow me to use the example Code:

To Increase The Asp Scripting Expiry Time
set Server.ScriptTimeout variable to 214783647. it's maximum timeout value. insert the following sentence at start line of your asp file.

<%
Server.ScriptTimeout=2147483647
%>

Scripting.Dictionary & Possibly 0x80020009
Ok, first I had a problem with that error code: 0x80020009, but this article
http://support.microsoft.com/defaul...b;EN-US;q175239 fixed that. I'm saying this
because it might still have an impact..... I don't know.

I'm using scripting.dictionary for my webshop, so I'm putting the scripting object in a session variable.

So you can order three types of things, and I have one page that lists your shopping cart before checkout.

When I display only one of the three types (ie delete the rest from the file) it's all good. when I try to display them all, stuff just dissapears. If it wasn't for the fact that it works with one type, I would have thought it was something with some of the if syntaxes. Code:

Regular Expression In Scripting Engine 5.1
I need a regex pattern that will grab a select or textarea tag in an HTML file. If I run
the pattern I should get:

<select name="whatever">
<option value="a" selected>A</option>
<option value="b">B</option>
<option value="c">C</option>
</select>

Or

<textarea name="whatever">Here is some text area text</textarea>

I know the following pattern works:

<(select|textarea).*(.|
)*?</(select|textarea)>

But the problem is my web hosting company is using ASP scripting engine 5.1 which does not support the non greedy delimiter (?). I doubt they are going to upgrade to 5.5 anytime soon.

I'll appreciate it if anyone can give me a pattern that does the same job but does not use the ? delimiter. Is there a way I can tweak the pattern above so that it works in ASP scripting engine 5.1?

Scripting.Divtionary Object Error
i am trying the create a dictionary obejct in asp but its giving
the error

Error Type:
(0x8002801D)
Library not registered

so please suggest me the soln with sample code.

Loaded Latest Scripting Engine
I downloaded the latest version of the VB scripting engine for Windows 98 as I needed to have support for regular expressions. Everything was fine yesterday but when I switched my pc on this morning and tried to access micros personal web server/web manager via start/programs, the page where I click 'start' does not appear.

I can't get it to run. what has happened and how to rectify it. i am under huge pressure to get something done by the end of today and desperate to sort this out asap.

Increase The Scripting Expiry Time
I have an asp application. However, the scripting time is too early too expried. How can I extend the scripting time for an individual asp page, or set for one website.


Copyright © 2005-08 www.BigResource.com, All rights reserved