473,394 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

about uploading very Urgent

Is there any functions like chrB in vbscript that returns the byte associated with the ASCII code in jscript. If not how we return a byte. The code in vbscript is
ChrB(Asc(Mid(a charcter))). Please tell me how we convert this code to vbscript

Any suggestion would be greatly appreciated.

Jul 19 '05 #1
1 1470
=?Utf-8?B?c2hpbmU=?= wrote on 10 jul 2004 in
microsoft.public.inetserver.asp.general:
Is there any functions like chrB in vbscript that returns the byte
associated with the ASCII code in jscript. If not how we return a
byte. The code in vbscript is
ChrB(Asc(Mid(a charcter))).
mid() needs 2 or 3 arguments
Please tell me how we convert this code
to vbscript


[supposing you mean ".. to jscript"]

b="aOneLetterUnicodeString"

b=b.charCodeAt(0)
bHigh = Math.floor(b / 256)
bLow = b % 256
alert(bHigh)
alert(bLow)

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

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

Similar topics

4
by: ayanwen | last post by:
I have problem in uploading files using ASP, can you give me some sample code about uploading using ASP? -- ayanwen ------------------------------------------------------------------------...
2
by: Abhay | last post by:
Hi All, I want to create a webservice which will be used for uploading the file to the server hosting the Web service. I want to use WSE DIME Attachments.. I have seen some sample on that , but...
3
by: Carlos | last post by:
Hello Forum, I would appreciate it if you could recommend settings to use auto-vacuum in my version 7.4 database. I am uploading several thousands records in the database at a rate of ~1 second...
8
by: ThunderMusic | last post by:
Hi, I'm currently building a little web site for me and my friends where we would like to be able to post big files (10Mb to 250Mb approx.) Right now the ASP.Net UploadFile control can't do it as...
3
by: mra | last post by:
Hi I Need Help For Uploading And Down Loading Files Using Internet Tansfer Control. When Assign The Name Of File In A Variable, It Does Not Execute The State Change Event. When I Give The File Name...
4
by: | last post by:
Can someone offer or point me to some sample code or advice on how to upload a document from a web page and store it into a SQL Server image field? And then reverse the process and serve up the file...
4
by: Mukesh | last post by:
Hi all I am trying to upload and save as a picture to "root/Photos" folder in my web application. I am using this code to perform this task DirectoryInfo strFolder = new...
3
by: detrox | last post by:
Hi, all I have two questions about uploading files using php & html: 1. How can i add a `file type' in the pop window when i click `browse' button of the `<input type=file>'. 2. How can i get...
1
by: santhubaba | last post by:
Hi All, I am facing a problem with ajax in dotnet(c#) page My problem is as follows: There is a grid with many buttons , one of the buttons is "Upload" ,if i click on that upload then...
3
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have a file type input on my page in a VB.Net version 2 web application: <input id="AddReport" type="file" name="AddReport" runat="server" /> Is there anyway to set the default directory in...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.