Results 1 to 5 of 5

Thread: Is this possible? [Resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Posts
    229

    Is this possible? [Resolved]

    VB Code:
    1. Select Case Extention
    2.       Case "com"
    3.       Case "exe"
    4.       Case "gif" Or "jpg" 'Or "jpeg" Or "jpe" Or "psd" Or "pdd" Or "bmp" Or "pict" Or "pcx" Or "tif" Or "tiff" Or "png"
    5.         ImageNum = 10
    6.       Case "mp3" 'Or "wav" Or "ram" Or "ra" Or "rm" Or "au"
    7.         ImageNum = 6
    8.       Case "txt"
    9.       Case "zip"
    10.       Case Else
    11.         ImageNum = 5
    12.     End Select

    Well I know that the code I posted won't work, but is there a similar way to do it? Or must I type every single last CASE statement?
    Last edited by INF3RN0666; May 18th, 2003 at 03:11 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width