Answer Questions
anemvr Media Compression support
By supporting the next wave of high performance media, won't there be a need for a new way to compress video/audio streams Our current system is flawed, rendering entire videos into raw streams would require vast amounts of hard drive capacity. I propose a solution to the media storage problem. Given that Media currently is stored in a playable format, meaning you can click it and instantly start playing it in media player, or whatever player ...Show All
CBColin tEMPLATE CALSS LIBRARIES IN c#
Sir, I am facing an certain problem , i am trying to convert a piece of code in VisaualC# .hope some body will helpme out about this how can it be done. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// class grip: public wait<grip> { public: int make[5]; int rate; grip(int x, int y, int s, int d, int t, ...Show All
smartpi open VS.net IDE inside c# form
I have a c# win form.on clicking a button i need to open a .cs file or solution in visual studio.net ide inside the form. It should not be open as a seperate window. it should be inside the windows form. pls help me, Thanks Vidhyaprakash(MCP) Actually speaking i want the user to create his own webservice at the run time so. vs.net ide would be better. cant we embed the VS.net ide inside C# form ...Show All
Joe2007 Allow Null In Combo Box
I have a combo box, that has its datasouce, valuemember, and display members set. I need to allow the user to leave the null. I need the combo box to be null when the form loads, and allow nulls if the user does not wish to select anything. It is for a search criteria form. Does anyone have any suggestions Thanks You can add a null value to a combobox, you have to insert a empty string instead. why not add a listitem with value ...Show All
jazpal Questions about Objects in C#
1. Do we need to pass objects by ref, if we want to have the changes made in a calling function 2. And the same question for the objects passed by Remoting 3. Do we really gain performance in calling Dispose method of DataSet while leaving from a function(the dataset is no longer required) If yes, then what does the Dispose do there Is it freeing the memory occupied by the objects If yes, then basic definition of GC itself gone righ ...Show All
Yael Create a snap-in using VisualStudio 2003 C#
Hi I have to create a snap-in(for a MMC). I'm trying to do that using VS2003, C#. The .NET framework version is 1.1 I searched for information and I found a basic sample at the following link:http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/ en-us/managedmmc/html/56f458d3-5c65-4664-8107-2ba04efd7d65.asp I tried to compile the code, but I got an error message "The type or namespace name 'ManagementConsole' does n ...Show All
Pimpom Memory usage
It seems that every little application I build with C# .net uses at least 10Mb of memory. Is there any way to reduce that Hi, I have already answered this question here: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=56808 Regards, Vikram ...Show All
jeanlucve How to increment the date?
May i know how to increment the date in an easy way For example, date a = 11/26/2005, after 4 months, the date will be 3/26/2006(mm/dd/yyyy) boc = but of course Thanks for the correction AddMonths() will return a Modified DateTime Object DateTime a = new DateTime (2005, 11, 26); a=a.AddMonths(4); Thanks all for the solution.. ...Show All
Guino Form changes from Designer view to code view - can't get back to designer view
C# Express. Twice errors were reported in the IDE window and locked the IDE window up (from viewing anything but the error mesaages) and I had to close, then reopen, then recompile the .cs files to get the errors to go away. Errors were that certian objects, which had been created through the IDE, had not been declared when they had in fact been working just fine moments before. Both times the Designer.cs forms switched to code view.&nbs ...Show All
lorenzo polintanjr Authentication Method
First, let me start off by confessing that I am a former VB programmer (Pre .NET days) that has not written a line of code in many years. Now I am trying to dust off the coding cobwebs, learn the .NET framework, learn C#, and adapt to a "true" Object-Orientated method of programming... All at the same time! Now that the laughter in the room has subsided, here is my question: I need to add a login/authentication routine to the da ...Show All
stuntpope cross platform
is there a way to run C# applications on mac or lunix os http://www.mono-project.com/Mono:About Mono is the Linux port of .NET. ...Show All
Jon Gonzales Generics & Type Casting
I'm trying to write a generic method to sort 2-dimensional arrays. I'm converting each row in the array to a delimited string, which I then add to an ArrayList and then use the ArrayList.Sort() method. The problem I'm having is in then casting the objects in the sorted ArrayList back to the original type. This is the code: Type type = typeof(T); sortedArray[rowIndex, columnIndex] = (type) delimitedFields[columnIndex]; I'm getting ...Show All
Tarquin Only one checkboxcolumn in gridview returning as checked.
I have seen a couple other people having the same problem on this forum, but I couldn't find a resolution. I have a basic form with a bunch of textboxes and a gridview that updates several tables in SQL 2k. I want to iterate through the rows when the user clicks the submit button and find if my checkbox colums is checked or not and set a local boolean variable that I use elsewhere in my loop. Everything seems to be working fine except that only ...Show All
satishdayal How create event handler for Dataset?
How do I create column changed event handler for Dataset I am new to C# and coming from VB.net. If I want to create an event handler for a button in C#, I know how to do this. I can switch to Design view of my Winform, select the button, then in the properties window select the Events button. This lists all the events for the button. Selecting the one that I want and giving it a name creates the event handler. But I see no Equivalent f ...Show All
thegoonie creating event handlers at runtime
I have a webbrowser control that is created at run time. How do I make an event handler for it at run time When you want to add an event handler not long after creating your object, Intellisense will help you out when adding an event handler provided you’ve already got your handling function setup it’s as simple as this to setup a handler for the DocumentCompleted event for instance: webBrowser1.DocumentCom ...Show All
