.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

playing avi files on C# form

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :Windows Application
 
Hi, i need help on how to play an .avi file on my C# form. I have a panel on it that should be the owner (panel1) and a button that should play the movie. Please help me with the code and if it requires any References, please copy their name here. I am a C# newbie and i need some help. Thanks.


View Complete Post


More Related Resource Links

Playing video files in sharepoint

  
I uploaded Media file in sharepoint site. When click on video file, Windows media player open in my machine and got an error saying "Windows media player encountered a problem while playing a file". I have the same file in my local machine. It is playing fine. Only I have from sharepoint site.   Can some explain and solve the problem please? ItsMeSri

How to create a SSIS package to import records form SQl Server 2008 tables to text files

  
I am a newbie to SSIS and would like to create a package to accomplish the task referenced in the above title. Will appreciate any links and pointers in the right direction.   Thanksakoranteng

List Properties Supporting Files Display item form won't stay set

  

In Sharepoint designer I am trying to set a custom display form for a list, following the instructions in the Sharepoint designer help.

 

I've got a functional display form, called DispForm3.aspx. I know it works since I tested it by replacing the form name in the normal URL where a display form is opened.

 

However I can not get the list to accept this new form as the display item form.

 

In Sharepoint Designer, in the List Properties Supporting Files tab I set the Display item form to be DispForm3.aspx and press OK. When I look again I see that the Display item for is DispForm.aspx.

 

This happens on any list that I try to customise the display form for, even new ones.

 

Sharepoint designer is allowing me to set the display item form to DispForm3.aspx but is not saving it, or is failing silently when it tries to save it.

 

Any assistance appreciated.

 


Uploading Files with Info Path Form

  

Hi,

 

we'd like to provide an Info Path Forms Services based form to give users an easy web based ability to upload new documents with some metada and doeing some plausability tests to check if the metadata do make sense. The form will be presented to external users to provide documents in a structured and qualified way.

 

So we created the InfoPath form and added a repeating "File-Attachment" control to the form. But with this control the files are attached to the InfoPath form itself and not uploaded to a document library. And so the internal users can not easyly work with the documents.

 

So what would options do we have to customize InfoPath to provide an possiblility to upload documents to a document library?

 

Frank

 


Open .txt and tiff Files on A single Form

  
hai all of u
" code for windows forms Application using C#dotnet....."
i have one folder in sytem
in that folder  no of tiff images with no of .Text files
i.e means each tiff image contain .text file
like
1.tiffimage, 1.txt
2.tiffimage,2.txt
3.tiffimage,3.text...........................n of tiff and textfiles
now i wnat ..
1)open these through open filedailogbox
2) first part of  form show "1. tiff "file and second part of form show "1.text"
like 2tiff and 2.text.....
this loop continue untill the end of tiff andtextfilee
note when i press key board "shift+enter" key i want show one by one tiff and textfile on form of two parts  

plz help me 
Shravandotnet@gmail.com

Open .txt and tiff Files on A single Form

  
hai all of u
" code for windows forms Application using C#dotnet....."
i have one folder in sytem
in that folder  no of tiff images with no of .Text files
i.e means each tiff image contain .text file
like
1.tiffimage, 1.txt
2.tiffimage,2.txt
3.tiffimage,3.text...........................n of tiff and textfiles
now i wnat ..
1)open these through open filedailogbox
2) first part of  form show "1. tiff "file and second part of form show "1.text"
like 2tiff and 2.text.....
this loop continue untill the end of tiff andtextfilee
note when i press key board "shift+enter" key i want show one by one tiff and textfile on form of two parts  

plz help me 
Shravandotnet@gmail.com

Reloading and refreshing flash files inside a windows form in wpf application

  

I have a app which shows load a flash movie in form, using this code

axShockwaveFlash1 = new AxShockwaveFlashObjects.AxShockwaveFlash()

axShockwaveFlash1.LoadMovie(0,flashfile.swf);

The problem is that whenever I make a changes in the flash hosted in our application and try to refresh the to see the changes, the new changes is 'messed' up. to be more specific , it seems that the background and some controls of the previous flash still remain, 'spoiling' the new flash that is loaded. why?

Using the following methods before loading the second flash video makes no difference

axShockwaveFlash1.Refresh(); axShockwaveFlash1.Stop();

Even I tried  loading "empty" flash video before loading your new video?

axShockwaveFlash1.LoadMovie(0,""); but nothing worked

Its urgent.Could somebody h

upload multiple files from a single upload button i infopath form

  

Hi all

        My Infopath form contains an image upload button . Is it possible to upload multiple files at a time from the same upload button.

 

thnxs

shabadh 


How to link or hyperlink files form a File Share from SharePoint

  

Hi all

We want to put a hyperlink to a directory in a shared drive where there is plenty of space for archive and the overflow of documents.

When someone goes to a document folder and wants to upload their document on SharePoint, when they click, instead of going to the upload page, is there a way that they are hyperlinked to a share drive folder where there is plenty of room.

Is there a way to link or hyperlink  directly from a SharePoint document library to a file or file share?

Please advice

 


How to redirect to EditForm.aspx form after uploaded multiple files in SharePoint 2007

  

Hi all,

In the document library of SP2007, when we uploaded a single file then it will redirect us to EditForm.aspx to allow us to add some metadata for properties. However, when we used to upload multiple files, it doesn't allow us to do that. I would like to redirect to EditForm.aspx after I uploaded multiple files to manipulate something such as changing Title of per file item before back to AllItems.aspx page view. Anyone know a solution to solve it please give me an advise.

Thank you very very much!


How to redirect to EditForm.aspx form after uploaded multiple files in SharePoint 2007

  

Hi all,

In the document library of SP2007, when we uploaded a single file then it will redirect us to EditForm.aspx to allow us to add some metadata for properties. However, when we used to upload multiple files, it doesn't allow us to do that. I would like to redirect to EditForm.aspx after I uploaded multiple files to manipulate something such as changing Title of per file item before back to AllItems.aspx page view. Anyone know a solution to solve it please give me an advise.

Thank you very very much!


Nguyen

Clean Web.Config Files (VS 2010 and .NET 4.0 Series)

  
.NET 4 includes a new version of the CLR, and a new .NET 4 specific machine.config file (which is installed side-by-side with the one used by .NET 2, .NET 3 and .NET 3.5).

The new .NET 4 machine.config file now automatically registers all of the ASP.NET tag sections, handlers and modules that we've added over the years, including the functionality for:

.ASP.NET AJAX
.ASP.NET Dynamic Data
.ASP.NET Routing (which can now be used for both ASP.NET WebForms and ASP.NET MVC)
.ASP.NET Chart Control (which now ships built-into ASP.NET V4)
What this means is that when you create a new "Empty ASP.NET application" project in VS 2010, you'll find that the new default application-level web.config file is now clean and simple:

TreeSelector : playing with generics and type inference

  
create a generic way to define a selection starting from a tree of objects, the most simpler way as possible.

Let's start with the beginning...
Here is a very simple little interface defining a node of the tree, basically, a value and the references to the child nodes.

Playing with Linq grouping: GroupByMany?

  
One of its features is grouping. Many people understand grouping like it is defined in Sql. Linq is implementing grouping quite the same way. Let's discover this syntax and how to make consecutive groups easier.

JQuery Validate plugin to validate a ASP.NET Form

  
The first time I used the JQuery Validate plugin, it did not work at all, see JQuery Validate odd behaviour with the ASP.NET Script Manager for reason, but perseverance and stubbornness prevailed and I finally created my first JQuery validated ASP.NET Forms contact form.

SharePoint document migration challenges when migrating files and folders

  
There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend