how to upload songs??

Last post 07-05-2009 3:51 AM by srinivaskotra. 7 replies.

Sort Posts:

  • how to upload songs??

    07-04-2009, 12:21 AM
    • Member
      22 point Member
    • chandu123
    • Member since 05-15-2009, 3:43 PM
    • Posts 103

    hi i want to upload songs into my database i mean i want to store the song name in my db and i want to store the song in my file system,i know how to upload images but i dnt know how to upload songs??any help?thanks.

    ***He who angers you conquers you***
  • Re: how to upload songs??

    07-04-2009, 3:44 AM
    • Member
      52 point Member
    • NiravVyas
    • Member since 08-01-2008, 11:17 AM
    • Ahmedabad
    • Posts 27

    Hi,

    ASP FileUpload control is not only meant for images it behaves same when you upload songs(or any other type of file)  as it behaves at the time you upload images.

    If you want to save file ,you can use

    If Not hifUpload Is Nothing Then
               If Not hifUpload.PostedFile Is Nothing Then                                                               ''Here sPAth is the path where you want to store your file              

                       hifUpload.SaveAs(sPath)
               End if
         End IF



    Also you can assign file name of your choice and store thte path for song in another column of db.


  • Re: how to upload songs??

    07-04-2009, 4:02 AM
    Answer

     As far as I know there is no change in code to upaload a file from local system to a web server. There is no disticntion as to whether its an image file of a media file. You can use the same logic that you used for upaloding images to upload other types of files as well.

    You can refer to the following MSDN link for meore details

    http://msdn.microsoft.com/en-us/library/aa479405.aspx

     

    Regards

    Nilesh
    http://nileshgule.blogspot.com


    Please mark this as "ANSWER" if it helps you
  • Re: how to upload songs??

    07-04-2009, 8:03 AM
    • Member
      22 point Member
    • chandu123
    • Member since 05-15-2009, 3:43 PM
    • Posts 103

    thanks for your replies,but when we upload an image we use  image keyword for uploading mp3 files what we have to use??

    ***He who angers you conquers you***
  • Re: how to upload songs??

    07-04-2009, 8:17 AM
    • Member
      52 point Member
    • NiravVyas
    • Member since 08-01-2008, 11:17 AM
    • Ahmedabad
    • Posts 27

    Can You explain your problem with more details?


  • Re: how to upload songs??

    07-05-2009, 3:21 AM
    • Member
      22 point Member
    • chandu123
    • Member since 05-15-2009, 3:43 PM
    • Posts 103

    i just want to upload mp3 media files into my database how to do it??

    ***He who angers you conquers you***
  • Re: how to upload songs??

    07-05-2009, 3:22 AM
    • Member
      22 point Member
    • chandu123
    • Member since 05-15-2009, 3:43 PM
    • Posts 103

    i just want to upload mp3 media files into my database how to do it??

    ***He who angers you conquers you***
  • Re: how to upload songs??

    07-05-2009, 3:51 AM
    Answer

     Hi,

    please refer these links

    Video File Saving in Windows Media Video Format for the DirectX.Capture Class Library
    http://www.codeproject.com/cs/media/videosav.asp

    Capture Activities on Screen in a Movie

    http://www.codeproject.com/vb/net/CaptureScreenAsVideo.asp

    Preview and Record with MPEG2 Capture device
    http://www.codeproject.com/directx/MPEG2_Capture_Device.asp

    DirectShow - TV Finetuning Using the IKsPropertySet in C#
    http://www.codeproject.com/cs/media/tvfinetune.asp

    CAviCap and CFrameGrabber - wrappers for AVICap Window
    http://www.codeproject.com/audio/avicapwrp.asp

    Capture Live Video from various Video Devices in C++
    http://www.codeproject.com/directx/LiveVideo.asp

    video image processing / frame grabber using a minimalistic approach in C++
    http://www.codeproject.com/useritems/VideoImageGrabber.asp

    Simultaneous Previewing & Video Capture using DirectShow in C++
    http://www.codeproject.com/audio/DXCapture.asp

    Capture Sample with DirectX and .NET
    http://www.codeproject.com/directx/CapSample1.asp

    Change Video Signal Format with DirectX library
    http://www.codeproject.com/cs/media/ChangeVideoSigFormat.asp

    http://www.codeproject.com/cs/media/Image_Processing_Lab.asp

    MPEG Audio Frame Header. some more info regarding MPEg file format
    http://www.codeproject.com/audio/mpegaudioinfo.asp

    Converting Wav file to MP3 or other format using DirectShow
    http://www.codeproject.com/audio/dshowencoder.asp

    Webcamera, Multithreading and VFW An article on webcamera frame-grabbing in a multi-thread environment
    http://www.codeproject.com/cs/media/VFWWebcam.asp

    Intelligent Video Analytics
    http://www.codeproject.com/vista/activity.asp

    Examples to create your Conferencing System in .NET, C# VOIP & Video Conferencing Systems using H.323 and TAPI 3
    http://www.codeproject.com/cs/internet/Video_Voice_Conferencing.asp

    motion detection
    http://www.codeproject.com/cs/media/motion_detection_wc.asp

    other links

    http://www.programurl.com/software/never-send7.htm

    Teach Your Old Web Cam New Tricks: Use Video Captures in Your .NET Applications
    http://www.devx.com/dotnet/Article/30375?type=kbArticle&trk=MSCP

    Capture video from a video device such as a Webcam with VB .NET
    http://vb-helper.com/howto_net_video_capture.html

    http://vbforums.com/showthread.php?t=342543
    http://www.dotnet4all.com/dotnet-code/2004/12/video-capture.html

    capture and save in avi format
    http://www.shrinkwrapvb.com/vbvidcap.htm

    capture image and store into word document
    http://www.vbdotnetheaven.com/UploadFile/gaurav.pilay/GS100012192006054123AM/GS1000.aspx

    Thanks :)

     

    Remember to click “Mark as Answer” on the post, if it helps you. Because It helps others to find the solution.

    Srinivas Kotra.


Page 1 of 1 (8 items)