473,322 Members | 1,408 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,322 software developers and data experts.

Help Coverting Access Function to ASP Function

Hi guys

I am trying to use an Access function that I found on the web from within an
asp page, but I can't seem to correct all the subtle differances between the
two languages. When I run a number through my version, i (seemingly) get no
output. I would greatfully appreciate any pointers or help on this issue.

My version:
http://www.graphics-line.co.uk/mycode.txt

Original:
http://www.graphics-line.co.uk/origcode.txt

Source Website:
http://grandzebu.net/informatique/codbar-en/ean13.htm

Many Thanks
James
tgl
Jul 22 '05 #1
1 1415
James Leech wrote:
Hi guys

I am trying to use an Access function that I found on the web from
within an asp page, but I can't seem to correct all the subtle
differances between the two languages. When I run a number through my
version, i (seemingly) get no output. I would greatfully appreciate
any pointers or help on this issue.
My version:
http://www.graphics-line.co.uk/mycode.txt

Original:
http://www.graphics-line.co.uk/origcode.txt

Source Website:
http://grandzebu.net/informatique/codbar-en/ean13.htm


First of all, ASP is not a language. It's a "platform" that supports several
scripting languages such as vbscript, jscript, etc. And I also suspect you
are talking about VBA code in an Access module. So I presume you want to
convert VBA code to vbscript. Here is the WSH (Windows Scripting Host)
documentation:
http://tinyurl.com/7rk6

After you install it, look in the vbscript section and find the topics about
the differences between vbscript and VB. That should get you goin.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2

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

Similar topics

7
by: Ted | last post by:
I've written a little function to remove everything after the 2nd decimal place for prices which is as follows: - ReturnConvertedCurrency = (fix(iSterling * session("ExchangeRate") * 100) / 100)...
4
by: Jim Hubbard | last post by:
I have some C# code that is supposed to wrap the defrag APIs and I am trying to convert it to VB.Net (2003). But, I keep having problems. The C# code is relatively short, so I'll post it...
0
by: Casey | last post by:
Hi! I found several resources describing how to convert the UNIX timestamp to a readable date, however I need to convert a date into a UNIX timestamp. For instance, I'm writing a program that will...
4
by: Ken | last post by:
Hello I am trying to change the color of a font in a text box. I have been reading about and trying various examples found it this group, but still can't get it right. Here is where I am...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
5
by: Ron | last post by:
Who knows how to convert a field with picture decimal (8) to a db2 date? -- Met vriendelijke groet Ron van der Poel
1
by: hadu | last post by:
Is it a advantage to convert a database from Access 2000 to Access 2003?
2
lee123
by: lee123 | last post by:
hi there i have a database i would like to convert into an access 97 format how do i do this because i tried to convert it in the tools but it takes me to a converting form and askes convert to what?...
8
by: Tony B | last post by:
I have a string in a existing php script which is in the form "dd/mm/yyyy" and I need to convert it into a suitable format for mysql which is "yyyy-mm-dd" Is there a neat way of doing this in php ?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.