473,473 Members | 1,782 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Serverside javascript and vbscript on same page?

Hi All!

I have some server side vbscript that I very much want to use in my
serverside javascript. Can I do this?

Specifically, I am attempting to integrate this into my javascript asp
pages:
http://www.freeaspupload.net/freeasp...viewsource.asp

I am trying to translate it atm, but it would be nice if I could use it
natively... within my javascript.

Any advice appreciated!

Rob
:)
Jul 19 '05 #1
4 1600
If you really feel that using free ASP-based upload code is going to save
you time and money, and is going to perform as well as a component, then
sure you can. However take care when deciding which order and which tags to
use:

http://www.aspfaq.com/2045

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Robert Mark Bram" <none> wrote in message
news:41***********************@news.optusnet.com.a u...
Hi All!

I have some server side vbscript that I very much want to use in my
serverside javascript. Can I do this?

Specifically, I am attempting to integrate this into my javascript asp
pages:
http://www.freeaspupload.net/freeasp...viewsource.asp

I am trying to translate it atm, but it would be nice if I could use it
natively... within my javascript.

Any advice appreciated!

Rob
:)

Jul 19 '05 #2
Hi Aaron,

Thank you for responding!
http://www.aspfaq.com/2045 Thank you very much for the link!
If you really feel that using free ASP-based upload code is going to save
you time and money, and is going to perform as well as a component, then
sure you can.


I must admit to being somewhat of an ingenue in the area of server side
scripting: what do you mean by components?
Does this mean having special DLL's that I can use instead?
Would the use to install something?
Or worse, would the component break if the user turns off ActiveX
capabilities in their browser?

If you still have enough patience to answer another question.. why would
ASP-based upload code be faster and/or cheaper than a component?

Rob
:)
Jul 19 '05 #3
> I must admit to being somewhat of an ingenue in the area of server side
scripting: what do you mean by components?
Does this mean having special DLL's that I can use instead?
Would the use to install something?
Yes.
Or worse, would the component break if the user turns off ActiveX
capabilities in their browser?
No, it has nothing to do with client-side ActiveX.
If you still have enough patience to answer another question.. why would
ASP-based upload code be faster and/or cheaper than a component?


I believe others have performed extensive testing and for the large majority
of file sizes, the component always outperformed the pure ASP version.

By cheaper, I mean that most components are $100 or less (and often provided
for free by your web host). People are stuck on this idea that cash is
money but time and effort or not. So, if you spend two hours writing your
own upload code, and five hours debugging it, unless you consider your time
relatively worthless, you've spent more than $100. And haven't gained
anything (see note on performance above) except maybe a few more gray hairs.

A
Jul 19 '05 #4
Aaron [SQL Server MVP] wrote on 15 aug 2004 in
microsoft.public.inetserver.asp.general:
By cheaper, I mean that most components are $100 or less (and often
provided for free by your web host). People are stuck on this idea
that cash is money but time and effort or not. So, if you spend two
hours writing your own upload code, and five hours debugging it,
unless you consider your time relatively worthless, you've spent more
than $100. And haven't gained anything (see note on performance
above) except maybe a few more gray hairs.


I do disagree on the word 'anything', Aaron:

1
You will have gained important experience by implementing something
yourself. That is even worth far more than paying euro 100 for a tutorial.
[Yes I know Euro>$ nowadays]

2
Procesing performance is only important if you expect heavy use of the
code. Many pages I build are only for my own use, like db look up tables
for my work, even if they are on internet [because I work fom different
places on different networks], or for family use, like a family tree. Euro
100 is a lot of money for such applications.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rationalman | last post by:
I'm new to ASP, and need to do something that should be straightforward. I want to access the database in my vbscript function on the serverside, when someone clicks a button on the cient side....
3
by: Peter | last post by:
Hello! Please, could anyone say, can one combine javascript and vbscript in same asp page? I am in situation where I must run some code in javascript and some of it in vbscript. Can I change...
3
by: William F. Robertson, Jr. | last post by:
My problem is I routinely use both vbscript and javascript (yes, that is a problem in itself) on the same webpage. I feel placing the "javscript:" or "vbscript:" on all my client side events is...
7
by: unacoder | last post by:
Is it possible to request the user's permission to be able to control IE or FireFox windows that are pointed to domains other than the base domain the script is running from? For example, if my...
11
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in...
10
by: Shadow Lynx | last post by:
That subject packs a whallop, so let me explain in better detail what's happening and how it relates to ASPX pages... In a nutshell, if the first <script /on a page is of type "text/vbscript",...
9
by: Erwin Moller | last post by:
Hi, Can anybody comment on this? In comp.lang.php I advised somebody to skip using: <script language="javascript"> and use: <script type="text/javascript"> And mr. Dunlop gave this response:
18
by: Andrew Wan | last post by:
I have been developing web applications with ASP & Javascript for a long time. I have been using Visual Studio 2003.NET. While VS2003 is okay for intellisense of ASP & Javascript, it's still not...
5
by: Tomislav | last post by:
Hello, I tried to use "javascript:return confirm();" function in following manner ( triggered by form onSubmit event ): ** <form method="post" action="mail.php" onSubmit="javascript:return...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.