Combine Two Videos into One using c# .net
I have a website where users upload videos. I would like a library or control set to splice two videos into one. Does anyone have such a thing, or a different strategy? ...
I have a website where users upload videos. I would like a library or control set to splice two videos into one. Does anyone have such a thing, or a different strategy? ...
I am using WindowsFormsIntegration in a WPF project to add a DataGridView and I am having some problems with it simply being drawn in the window (it takes a while). I am aware of the solution with the doublebuffered datagridview but how can you use this in XAML for WPF or in C# for WPF? An example of the doublebuffered datagridview in ...
I have a strange problem with a .NET application. I run the application (a Windows Forms app) on a 64 bit Windows 2008 Server. I run it remotely using Remote Desktop. My application does its own drawing ( i.e. g.DrawString("hello world"...) ) on the app. If I build the app with the Platform Target (in the Build tab of the application pr...
Example code taken from another SO Question var test = context.Tests .Include("Question.QuestionLocale") .FirstOrDefault(); If your DB schema needed to change for some reason, how could a developer possibly deal with hard-coded values used in a method that takes a string parameter (Include method us...
I have series of functions with different argument signatures: public void function1 (string s1, string s1, string s3, string s4) {...} public void function2 (int i1, int i2, string s3, string s4) {...} public void function3 (int i1, string s2, int i3, string s4) {...} . . etc //some 30 odd functions calling each function may thro...
I learned that class fields are stored in the heap, but where are methods stored? In the heap or somewhere else? are they inline? ...
Hi there, Not sure if this is possible with a regular expression replace command, but I have an existing regex replace which will convert the last two digits of a number to the same last two digits prefixed with a full stop. This is for interfacing to a system which sends through currency values as "2500" where this represents "25.00" ...
Micropather requires users implement their abstract class "Graph" in order to use the library. What's a good way to do this from C++/CLI so I can use Micropather in .NET? There are only two methods to implement: virtual float LeastCostEstimate( void* stateStart, void* stateEnd ) = 0; virtual void AdjacentCost( void* state, std::vector<...
When I bind a BindingList<ProcessDataItem> to a ComboBox an InvalidOperationException is thrown saying, that the collection that is enumerated changed. Instances of ProcessDataItem permanently receive updates when their corresponding measurement value has changed. The class implements INotifyPropertyChanged to notify its container of tho...
Given a WinForms TextBox control with MultiLine = true and AcceptsTab == true, how can I set the width of the tab character displayed? I want to use this as a quick and dirty script input box for a plugin. It really doesn't need to be fancy at all, but it would be nice if tabs were not displayed as 8 characters wide... From the accepte...
I need to create a new user in Active Directory. I have found several examples like the following: using System; using System.DirectoryServices; namespace test { class Program { static void Main(string[] args) { try { string path = "LDAP://OU=x,DC=y,DC=com"; string username = "johndoe"; ...
I need some help to organize my data model well. I am writing an app which will be a simple notebook. I use a three-tier architecture = business-logic, data-logic, database access. I`d like to use system of tags so it will be easier to search info in the app. Here are few questions - due to separation of concerns, classes of entities ...
hi I wants to get video file duration in C#. I have the to get video file duration but code works only local computer. If i deploy my code on server and upload a video file then this code gives error. I m using the following code to get video time. using QuartzTypeLib; string file1 = "c://ds.mpeg" IMediaPosition m_objMedi...
Hi All, i'm using this control for date picker. i want that when user click on button the calender will pop up next to the button and when the user pick date the date will save in hidden field or somthing like that. the probelm is that the control need target control and he can't get hidden field i don't want to show the date ...
I get a serialization error on a page containing a custom control. the control has a member (dataContext) of a type (EntityContext) that is non-serializable, and marked as such. this is the error: Type 'Entities.EntityContext' in Assembly '...' is not marked as serializable. [SerializationException: Type '...Entities.Enti...
I have two List<T> objects: For example: List 1: ID, Value where Id is populated and value is blank and it contains say IDs from 1 to 10. 1,"" 2,"" ... 10,"" List 2: ID, Value and other attributes all filled with values but this list is a subset of List 1 in terms of IDs. (e.g only 3 items) 2,67 4,90 5,98 What I want is a merged li...
I'm trying to load and host a WPF control in a .net 2.0 windows forms application. The WPF control should only be loaded if .net 3.5 is installed. I found a link to Hosting WPF Content in an MFC Application and that is about what I'm trying to do but my C++ knowledge isnt sufficient to be able to 'translate' it to .net. Anyway, here is...
I am parsing some enum values from a text file. In order to simplify things I am using functions like the following: (The sample code here uses C++/CLI but answers in C# are also welcome.) bool TryParseFontStyle(String ^string, FontStyle% style){ try { FontStyle ^refStyle = dynamic_cast<FontStyle^>( Enum::Parse(FontStyle...
Hello *, Is there any way to extend the information in the Windows File Version dialog. All standard attributes are already in use, in a way that I am not allowed to append additional information to them. What I need is a sort of new attribute class, which can be used as additional value shown as one of the items of File Properties/Vers...
I wanted know what are the API used to get the contact numbers from phone book using C# for Windows Mobile. If anybody has source code example please give code snippets. ...