123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

Engineering Colleges

BE Students

Training  Reports (updated)

Seminar Reports (updated

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
--------------------------------------------------------------------------------

Text to Images

--------------------------------------------------------------------------------

Description : Got your own nifty asp hit counter(maybe my unique hit counter)? still in text though?? Here is the solution!! Just add the function below, and pass the number of hits to it, and boom, it displays the images. The only catch is you have to make your own images, darn...

Function DisplayImg(intNum)
Dim itmCur, tmpCur
Response.Write "<Img src='images/cnt_start.gif'>"
For itmCur = 1 To Len(intNum)
tmpCur = Mid(CStr(intNum), itmCur, 1)
Response.Write "<Img src='images/cnt_" & tmpCur & ".gif'>"
Next
Response.Write "<Img src='images/cnt_end.gif'>"
End Function


 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG