Web Forms :: Show Thumbnail Of Uploaded Media Files?
Aug 30, 2010
Showing thumbnail of uploaded media files (pictures, videos etc..) I tried to extract thumbnails from thumbnails.db using Microsoft Shell Controls And Automation (Interop.Shell32.dll). I followed [URL] PROBLEM: I tried it in WPF application and it worked. Then i used the same code in ASP.NET WebForms website and it works for pictures but doest not work for videos. I also tried the same in clean console application but it doesn't work as well. But in wpf it works! the same assembly. Assembly is from Window 7, but neither WinXp's Interop.Shell32.dll works for videos in websites. It throws an exception NotImplementedException whenn I call IExtractImage.Extract(ref IntPtr phBmpThumbnail); Can you explain this behaviour? [URL]
View 1 Replies
Similar Messages:
Nov 27, 2012
I am using a fileupload tool and an asp button. I want to upload image using fileupload, save it in a folder named images in my website and create its thumbnail view on the same page using VB.
View 1 Replies
Aug 5, 2012
Now I am able to upload files in folder and showing in gridview. but suppose i am going to upload new files so that time in page previous files is showing in gridview. i want that when i am uploading new files so after that uploaded new files only should show in gridview old files should not show in gridview.
View 1 Replies
May 28, 2010
is there any method on showing the image for the uploaded video files which are in flv format? i saw all the video in youtube got show the image of the video. how to do it?
View 4 Replies
Oct 10, 2010
I have been trying to add media files such as audios and vedios to my web pages in visual studio (asp.net) but i seem to be lost about the whole thing.
View 2 Replies
Jun 15, 2010
I'm trying to write an application that combines 2 media files (MP3, MP4 or FLV) of the same types in to one
View 2 Replies
May 4, 2013
How can I create Thumbnail Image For Pdf files uploaded by user .. The Thumbnail contains first Page of Pdf only.. Is it Possible through ItextSharp ?
View 1 Replies
Jun 23, 2010
i want to use asp media control to show videos stored in database
<asp:MediaPlayer ID="MediaPlayer1" runat="server"
Height="240px" Width="320px" MediaSkinSource="~/skins/Basic.xaml">
</asp:MediaPlayer>
here i am retereving videos as per videoid using linq
ELearnDataContext eld = new ELearnDataContext();
var x = (from a in eld.Videos
where a.VideoID== 1
select a).First();
but i don't know how i can use asp.net mediacontrol to show reterieved videos
View 3 Replies
Jul 9, 2010
i have an example of a windows app media player. which opens up a file selection and plays that mp3. i want to play from a web location.
the method is below whch i am using, i have commented the old code, how would i get a track to play which is located on the web?
[Code]....
View 1 Replies
Dec 7, 2010
I want to upload video files may be more than 500mb, simultanously in which if 500mb files are uploaded and stopped in middle of it and i want to continue the progress where it stops
How can i upload such a large video files?
View 1 Replies
Feb 24, 2011
I create a new class FileUpload for my web page. In onload method of page, i create a new object of that class and after file uploaded, i fill some information of file to that object(name, size, extention,type). I create a method in class to delete that file. But When i use it, the error "The process cannot access the file 'D: emp25.jpg' because it is being used by another process." is appear. I thinks the object is using the file uploaded and i can't delete file.What's the problem and how can i solve it? I need to delete file.
View 5 Replies
Nov 20, 2010
I would like to build a component to play all the audio/media files(especially .flv files) using asp.net.so could you please provide me the necessary code/idea to create the component
View 1 Replies
Jun 4, 2010
In my website I have upload control that I use to upload files and all the links of uploaded files saved to sql database on the server of hosting company.then I have a grid view filled from database with the links of the uploaded files, how to delete some files that I uploaded to the server by code from the gridview
View 2 Replies
May 2, 2010
i want to develop web page in asp(2.0) c#. in this page i want to create and show multiple thiumbnail. for example c:/image and this folder have 5 .jpeg file. when run my web page then show all thumbnail of 5 images without saving thumnails.
View 1 Replies
Dec 20, 2012
I'd like give unique name for uploaded files in a folder.
I know we can a uniqueidentifier to file name but I think it isn't a good way.
View 1 Replies
Aug 30, 2012
I have a page that loads a two different files that the user uploaded during page_load. The code is an example I used from the aspsnippets site. The files are stored in a server folder while the location is saved in the database. The code below gets all files in the folder and binds them to a gridview.
Dim filePaths() As String = Directory.GetFiles(Server.MapPath("~/Uploads/2012/emp/"))
Dim files As List(Of ListItem) = New List(Of ListItem)
For Each filePath2 As String In filePaths
files.Add(New ListItem(Path.GetFileName(filePath), filePath))
Next
gvEmp.DataSource = files
gvEmp.DataBind()
What I want to do is to get only one file per user as the fileID along with the location is saved in for every user. I ran a query to get the fileLocation and pass that location stored in the database instead of the current server path but I can't figure out how I would do it.
View 1 Replies
Nov 29, 2010
I am trying to put together a page where files uploaded by a specific users would be listed in a bulletedlist and I am stuck. Here's the rundown:
Users login, they upload files which are saved to disk in the user's own directory. All the file's information, including the path, is stored in a SQL database.
The user has also its own page, where there is a bulletedlist (set as a hyperlink) that gets the filename from the SQL. However, the path to the file is incomplete.
The file is saved to the site's directory structure: C:WebsitesSiteUploadsUserFile.pdf. However, the hyperlink shows[URL]
Can anyone point me to the right direction? Below is a snippet of the upload method and the retrieval to build the bulletedlist.
[Code]....
[Code]....
View 3 Replies
Aug 12, 2012
How can i upload a image in specific folder of server using jquery .... i have many folder under image directory and i want to choose the folder at the time of uploading.
View 1 Replies
Mar 10, 2011
I have to create a webpage that shows gallery of images in a folder. The folder contains different images and also versions of them (like a basic image of xxx1_v1 and then a modification of it as xxx1_v2 and so on...Also, there are xxx2, xxx3 ....). While displaying these images on the gallery, each thumbnail should show the higher version of the image. For example, if there are xxx1_v1, xxx1_v2 then xxx1_v2 must be on the gallery page. Further, when we click on the higher/later version of an image, it must be redirected to another page which shows the other versions of that image. Should i use AJAX / Jquery .
View 3 Replies
May 21, 2010
I have a ModalPopupExtender control inside accordin control, users can add images, that I sotre the path in database(sql server) and the actual image in physical address inside web server,I automatically resize the image to thumbnail size in C#, when users first connect to the site,the see the thubmnail version of the image,which is much faster to download,and by clicking the thubnail, the hidden asp:pnael is shown with imzge in full size, I use javascript to unhide the panel and also change the image source to actual image,everything works fine in IE, but in Firefox and Chrome, the first time user clicks on thumbnail can not see the full size image,only after couple of time, they see the full size image? what could be the problem?
I am using asp.net ,C# what is the best way to achieve this?
View 3 Replies
Jun 29, 2010
We are going to start accepting resumes online but I need to know if the uploaded files will be virus scanned before I park them into the database. I thought this would be a server thing but the server admin and the security guy both said they didn't know. We already have a firewall and antivirus software, I just want to know how things work with native ASP.Net controls and not a product to try.
View 2 Replies
Jan 12, 2011
I have an ASP .NET 2.0 (4.0 is an option) page that I've embedded the Windows Media Player to using OBJECT tags.
The player is connecting to a Windows Media Services publishing point on the Web server. This is on a 2008 server.
Everything works great, see it here: [URL]
If I understand correctly, the information the player is showing in its status bar comes from the ID3 tags of the current track. Continuing on this line of thought, the ID3 information must be coming to the player from the media server. Correct?
What I want to do is collect and use the information about the track that's current being played. I'd like to be able to create a custom display for the current track information. I'd also like to put a custom value in the track information to look up additional information about the artist/track from a database.
View 2 Replies
May 10, 2010
Users can upload files to the server, which are stored effectively forever.
A few of my ideas involve logging every upload, but then the files are usually referenced in html which isn't easy to track.
Files can sit unused but still be referenced. I could do a fuill text search on these, but that's pretty brute force.
View 1 Replies
Aug 31, 2010
My system Uploads files to an IIS server and then i manipualate them and after finished doing every thing, i need to delete the original file, the problem is that the IIS "grabs" the file and i can't delete it, when i close the procces i can delete it manualy from the server, but until i close the procces i can't even do that...
I'm using:File.Delete(Server.MapPath(OriginalFileVirtualPath)); to delete the file.
p.s. for now i'm using the .net server, not a full active IIS, but i don't think that the problem is over there...It even make some sence that when i upload a file to the sever, it won't let to delete it strate away, but i'm sure there is a work around...
View 2 Replies
Nov 27, 2010
my question is related to this topic :
http://forums.asp.net/p/1626458/4186694.aspx#4186694
I added another fileUpload in the Sending E-mail Method as following:
if (FileUpload1.HasFile && FileUpload2.HasFile)
{
FileUpload2.SaveAs(Server.MapPath("NewFolder1") +
"/" + User.Identity.Name.Substring(7) +
"FB.gif");
FileUpload2.SaveAs(Server.MapPath("NewFolder1") +
"/" + User.Identity.Name.Substring(7) +
"SP.gif");
"How can I use these two files that uploaded (Server.MapPath("NewFolder1")
) as attachments in the Attachment Method??"
I tried with this code:
message.Attachments.Add(new System.Net.Mail.Attachment(Server.MapPath("NewFolder1")));
View 8 Replies