Ask a questionAsk a question
 

AnswerIdentifying a File

  • Monday, September 28, 2009 4:16 PMnapsterpat Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm building a program that requires it to know what kind of file the user has uploaded with an openfiledialog. I'm trying to make an if statement that asks whether the file is an mp3, txt, wpd, and such...

    I've built is so that the file shows in a text box, for example, C:\Docs and Settings\Accounts\Superman\files\kingkong.mp3
    What I've tried to do is locate the ".mp3" part of the file, but the closest I've gotten to that was the Array function.

    Can someone please help, as I've looked in the library and found nothing. Thank you in advance.


    ~Pat

Answers

  • Monday, September 28, 2009 7:19 PMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    It does not look like you are creating a class diagram. 
    If you are using asp.net, post to forums.asp.net.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP

All Replies

  • Monday, September 28, 2009 7:19 PMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    It does not look like you are creating a class diagram. 
    If you are using asp.net, post to forums.asp.net.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP