Web Forms :: Write An Application That Combines 2 Media Files (MP3, MP4 Or FLV) Of The Same Types In To One?
Jun 15, 2010I'm trying to write an application that combines 2 media files (MP3, MP4 or FLV) of the same types in to one
View 2 RepliesI'm trying to write an application that combines 2 media files (MP3, MP4 or FLV) of the same types in to one
View 2 RepliesSo I am trying to create and application that combines a website to a chat program.
Essentially what I want is this
Users to be able to go to the website and look at data
if they want to add data they can do that on the website
based on this data, a message pops up on the appropriate agents PC
the agent can then forward the request or accept the request and type in a message/data in that same pop up window and send it to the website which would update the website.
I have too many options to choose from and I am very confused.I believe for the agent side(chat) WCF would be good, but not sure about the website side.Should i use dynamic data webpage orwcf data services?
I have an application that allows admins to add types such as document types and training types that are in seperate tables with a foreign key in a transaction table.
When structuring my class I decided to go with an abstract-like pattern (without the factory methods though). So I have a Type abstract class that defines my Save, Delete, and GetList methods. I have a training type class that inherits this class. The thing is all types have 3 main properties - defined in the abstract base - but have different source tables and thus different store procedures in my DbCommand object. So basically I repeat setting up the same parameters on all the derived classes. I would like to implement the common stuff in the base but I am getting thrown off by the difference in data sources.
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 RepliesShowing 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 RepliesI am trying to open different types of files that I have uploaded on my sql server database. I would like to display all the list of files in Gridview. When user click the link it should open download dialog box and should be able to open its particular applications such as word, excel, browsers etc.
View 3 Repliesi 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]....
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?
First of all, I have done a few C# applications, but are new to C# asp.net web applications.
What I am trying to receive is a simple Media player control on an aspx page. And furthermore a button (not the button on the media player control), that starts the media player with a videostream url. Thats all!
I can easily achieve this in an ordinary c# application form, by importing:
AxInterop.WMPLib.dll, Interop.WMPLib.dll and wmp.dll references in the project. Now i am able to choose a "Windows media player" control in the toolbox, which i can drag into my form. Nice and easy.
But when i import these dll´s in my ASP.NET Web application, I cannot see the media player control in the toolbox. Ive tried to right-click the toolbox, and click "Choose items", and see that 'Windows media player' is checked under the COM components tab. But i still cannot see the control in the toolbox. Only in an ordinary c# application form.
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 RepliesI have a .txt file and i open this file, read it and encrypt and decrypt it, it works fine. Now i want to read all types of files like .png, .pdf, .doc etc and do encryption /decryption. file.readtoend() does not work here. How can i do tht?
View 1 RepliesI 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.
I have the following code that is trying to "spit out" an mp3 file so WMP can play it. However it keeps saying that it cannot play the file. However if I change the "inline" parameter for "attachment", the browser invistes me to open it and then, WMP can play it. I have seen some related articles around but I cannot make it work. The file is in the website's root folder and only authenticated users can reach it, but in my tests I am logged in as a valid user.
private static void Test2(HttpResponse Response, string filepath, params string[] additionalHeaders)
{
Response.ClearContent();
Response.ClearHeaders();[code].....
how to write two files using Response.WriteFile?
I tried the following
Response.AddHeader("Content-Disposition", "attachment; filename=" + textFile);
Response.Flush();
Response.WriteFile(FilePath);
Response.End();
streamWriter2.WriteLine(CodeFileText);
streamWriter2.Close();
Response.AddHeader("Content-Disposition", "attachment; filename=" + textFile2);
Response.Flush();
Response.WriteFile(FilePath2);
Response.End();
But it downloads the first and stops.
It doesnot go for second one.
i have the following bit of code... is there a way to embed a media player into a webpage (such as windows media player) and play a file on it without actually having to have windows media player installed?
so to clarify, can i play a windows media player in a webpage without having it installed? because at the moment the follwing bit of code only plays my files asfter i installed windows media player on my PC.
private static string MediaPlayer(string file)
{ return "<OBJECT ID="mediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft Windows media Player components..." type="application/x-oleobject">" +
"<PARAM NAME="AutoStart" VALUE="true" />" +
string.Format("<PARAM NAME="FileName" VALUE="{0}" />", file) +
"<PARAM NAME="ShowControls" VALUE="true" />" +
"<PARAM NAME="ShowStatusBar" VALUE="true" />" +
string.Format("<EMBED type="application/x-mplayer2" SRC="{0}" name="mediaPlayer" width="176" height="144" autostart="1"showcontrols="1"></EMBED>", file) +
"</OBJECT>";
}
I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0 + ASP.Net to develop a Silverlight application (a video media player) in browser and the function is simple, just use MediaElement to play a remote video file.The remote server is Windows Server 2008 + IIS 7.0 + IIS Media Bit Rate Throttling Control.Since the request media URL can be discovered (e.g. from traffic sniffer), and I want to know how to prevent from download directly from the Url? i.e. I want end user to use my Silverlight media player application in browser to play the file, prevent them from download to local directly. Any easy and quick solution or reference code/documents?
View 5 RepliesI am working on a search engine application and was hoping there was a way to take multiple fields from the database and combine the values (separated by spaces) into a single virtual field, without having to actually add it to the database
Let's say I have 2 fields, FirstName and LastName - can I take these 2 fields and combine them into a Name field where Name = FirstName + " " + LastName
What I'm going to be attempting has a lot more to it than that, but if I can get an example on how to achieve that, I can apply that same principle on a larger scale
ways of doing this with AND/OR, I want to combine multiple fields into a single field
We have an ASP.NET 3.5 Web application in which we have faced the below issue:
The application is working fine but suddently at one point application URL prompts for the authentication. When we (the support team) checked the server, we were able to identify that the access was denied for some of the main files (like web.config, default page). When we enabled the access the application started working fine.
I have created an ASP.Net application using .Net framework 4.0. I need to save an xml file on any location on same server (if file not already exists) and want to access then after always. But I dont want to set write permission to any folder. Is it possible to write a file to any location for Network service account without specifying write permission? Does Network service account have default write permission to any location?
View 2 Replieshow can we write a code for displaying a files and folders of server directory using Grid View in asp.net?
View 3 RepliesIn Visual Studio 2008 I have a Class Library project (called Media) to which I added a Web Reference (not a Service Reference) to a third-party web service (wsdl). In the Class Library project a proxy class is created for using the service along with several classes for the types used in that service.
I also have a second Class Library (called Sync) that references the first one. And then I have a Web Site project that references the second class library. All of this is .NET 3.5
So Web Site > Class Library (Sync) > Class Library with web service reference (Media)
I want to step into the generated code, so I fire up the web site in IIS 7.5 and trigger the call to a method in the second class library (Sync) that in turn should call the web service proxy. I was fully expecting to hit the breakpoint, but instead got an exception:
Unable to generate a temporary class(result=1). error CS0029: Cannotimplicitly convert type Media.WebService.multiValuedAttribute to Media.WebService.multiValuedAttribute[]
Why is ASP.NET trying to generate a temporary class? Don't I already have the generated class from the first Class Library (Media)?
which component in MVC pattern is responsible for writing files to disk? Is this a controller or model?
View 2 Repliesi"m using write.xml to write xml files from ms sql server table. the problem is that the information is not trimed... so i get lines like-
<data>1 </data>
are there is a way to trim the data even if i use write.xml mathod?
i Dont know how many types of asp.net websites.
ie. asp.net webiste types of categories.
Give me the deatiled Information.
I'm trying to add functionality to a simple web service that will allow me to log information to an XML file on the hard drive where the application is located. When I employ the functionality in a Console version of the application, the data gets logged to:binx86Debug MySolution.MyProjectMessageLogTestMessagess.xml. However, when I try to write read from or write to the XML file in the ASP.NET application, I get a System.UnauthorizedAccessException with the message: Accees to the path 'MessageLog' is denied.I would like the log file to appear in the in folder of the application directory, so what settings in IIS or on the server itself would I need to change to allow my application to read from and write to that folder?
View 3 Replies