Blog

Home / About DMXReady / Blog

Formatting Numbers and Currency with VBScript

Posted on: 4/2/2010 4:30:20 PM under ASP » Scripts and Tips 
 

Spreadsheet programs like Microsoft Excel allow you to format cells so that you can display formatted numbers.

For example, you can format the numbers to always show two decimal places. If you enter “20” into that cell and hit enter, it will automatically change it to “20.00”. This is especially helpful when returning numbers from a formula, i.e. =10.25+9.75 or when you want to format numbers in a specific way for currency, etc.

But can you do this on an ASP page? Yes!

This tutorial (http://www.w3schools.com/vbscript/func_formatnumber.asp) shows you exactly how to do it.

Note that this method won’t automatically display a currency symbol like the dollar sign, but you can add this manually before the function, or use the FormatCurrency function, shown here: http://www.w3schools.com/vbscript/func_formatcurrency.asp

Happy formatting!

The DMXReady Team

 
 

Have a Question? Try the Classic ASP Forum

Posted on: 3/25/2010 11:12:32 AM under ASP » Resources 
 

Classic ASP ForumForums might be one of the greatest things the Internet ever gave us. Yes, the web is about being the “Information Highway” – but bits of information moving about in cyberspace is, in itself, useless. That information has to have meaning to someone else. It has to connect with someone who needs that information and who can act on it in order for it to have any purpose.

Forums are about connecting people and giving purpose to its information in the purest form. You can put your question out there and let people you would never meet otherwise give you the right answers. It’s like that computer on Star Trek we’ve all dreamed about that spits out the answer you want – except that the answer isn’t coming from one computer but potentially millions of people around the world.

If you have a Classic ASP question, the place you want to go is the Classic ASP forum hosted at iis.net. This group of Microsoft Internet Information Services (IIS) server software engineers seems to be really passionate about their work, and provide support on any number of topics. It’s a great place to start if you have a problem you can’t finish.

Check it out for yourself:

http://forums.iis.net/1032.aspx

The DMXReady Team

 
 

FTP From One Server to Another (and Other Neat Tricks)

Posted on: 3/19/2010 3:30:34 PM under Web Design » Cool Tools 
 

Net2FTPNet2FTP is not your father’s FTP application. Besides doing the usual upload/download to and from your server, you can actually move files directly from one server to another without first downloading to your own desktop. This is especially handy for doing things like transferring your website from one server to another.

There are many other great features too, like automatically unzipping files on your server after uploading, automatically installing software, a built-in code editor, and much more.

 

One of the features we really like is that you can use it directly from the Net2FTP website. That means if you’re on the road and need to upload something to your server using someone else’s computer, you don’t need to install the software – you can do it all through the Net2FTP website.

 

Check it out! 

http://www.net2ftp.com/

 

The DMXReady Team

 
 

A Bajillion Photoshop Tutorials

Posted on: 3/12/2010 2:20:19 PM under Web Design » Resources 
 

Great resource for Photoshop Tips

 

Sometimes it isn’t just web design help we need, it’s putting together the graphics and the look we want to drape around that design. A couple of weeks back we talked about creating your own website template using Photoshop – well, we’ve found a veritable treasure trove of tips, tricks, and tutorials to help you get your PSD groove on, all conveniently located in one place.

Check it out:

http://www.noupe.com/photoshop/60-most-wanted-photoshop-tutorials-brushes-psds-and-resources.html

 
 

Image Management - Do You Get the Picture?

Posted on: 3/5/2010 12:09:49 PM under ASP » Scripts and Tips 
 

The anti-lightbox -- removing unused images from your website.Websites tend to accumulate lots of images, especially after one or two website “renovations”. We’re so happy to get the new images up that often we don’t even take the old ones down. Eventually, we accumulate a whole history of images that the Library of Congress would be proud of.

To make matters worse, it isn’t always easy to tell which images are which. Sure, you may give them meaningful names, but over the months (years!) those names lose their meaning, so that mouse.jpg could be your computer mouse, your resident cheese-stealer, or Mickey himself.

We’ve come across a quick little script that will help you view and erase old images directly from your server. It’s kind of like a lightbox, but in reverse: choose the images you don’t want any more, and delete them forever. (And we do mean forever – be sure you have the right image before you delete, as this has no “Undo” button!)

Take a quick trip over to ASP101 to find out more:
http://www.asp101.com/articles/john/imageviewer/default.asp

Happy lightboxing!

The DMXReady Team

 
 
<< First  < Previous     1   2   3   4   5   6   7   8   9   10   11  12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27     Next >  Last >>
Showing 56 to 60 of 133 Post