Muthu Arunachalam's Q&A profile
.NET Development How to pre-JIT dynamically generated MSIL?
For pre-built assemblies, sitting on disk, one runs NGEN.EXE to pre-compile MSIL to native code. But how do you do it for dynamically generated code built through System.Reflection.Emit The application is near-realtime generation of audio. Proofs of concept seem to work fine, but the only show-stopper right now is the time it takes to JIT the MSIL on first use of a dynamically-generated method. There must be another way to force JIT-ing of th ...Show All
Windows Forms Color in DataGridView
hi all, I having the DataGridView on the form, My requirement is to display the rows of the grid in some predefined colors, which satisfies the condition. I wrote the following code for it, bit this code does not give the rows in specified colors , can some one tells me where exactky the problem is, or some other way to solve this. foreach ( DataGridViewRow dgvrGroupDet ...Show All
Visual Studio Team System Web tests resulting in Internal Server error due to Invalid ViewState
I am seeing an odd problem when testing our web site. I have no problems navigating through our website manually from a web browser and experience no problems when creating a web test that navigates through our web site. But, when I run the web test I created, then I keep getting an "Internal Server Error" on the first server page transfer. When I look at our server logs it indicates that the problem is caused by an invalid ViewStat ...Show All
Windows Forms Disabling the .NET IDE option
If I add a new form to the existing project, all the designer generated code are placed under the "form_name.Designer.cs" file. But I don't want this option. How can I disable this option Hi, There is no checkbox in any Options dialog that you can set to do this. Why would you like to disable this Martin ...Show All
Software Development for Windows Vista problems communicating with the host
Hi, I am trying to get host communication working because I need to communicate back to the host if for example, a process will be long running. I've set up a very simple example which raises an event on the host and every time I run it, I get an error: Done Exception has been thrown by the target of an invocation. Press any key to contine The code for my test harness is as follows: #region Using directives using System; using System.Colle ...Show All
Visual Studio Team System Error Executing reports
I have been evaluating the Team Foundation Server Beta Refresh 3 without any problems, but have recently installed on a new server the RTM Trial Version, but the reports don't work. For report Bug Rates: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'PriorityParam'. (rsErrorExecutingCommand) Query (19, 3) The ALLMEMBERS function expects a hierarchy expression for the argument. ...Show All
Smart Device Development error deploying .NET CF 2.0
Hi I have previous been able to successfully deploy the .NET 2.0 CF to my Imate SP5m WM5 mobile device (Smartphone) Unfortunatly I had to hard reset the device. having done so today, I then had to reload my programs, contacts etc.... Now, I have de certified the device (Application unlocked it) as i needed to. In VS.NET 2005 - I am unable to deploy .NET CF 2.0 It keeps saying that (on the device and in Windows) the latest version ...Show All
SQL Server "Replication" between two servers which do not have connection at all
Hello, Heros of The Programming World! How it is possible to perform "replication" between two databases using technological means of MS SQL Server 2005 if two servers do not have a connection at all. The only thing is possible - is transfer of data for the replication on a CD. What is the best way to do it if central database has a hundreds of such "subscribers" I'm not quite sure I understood why I need to m ...Show All
Windows Forms .NET Framework and Windows Profiles
Problem: We developed a VB.NET application using Visual Studios 2005 and are using table adapters (via the wizard) to bind the data to the forms. The program is using a hidden textbox field on the form as the key (a SQL identity field) to run stored procedures on an SQL 2000 server. With the issue we are having, the application opens the main form and can access data from the SQL server just fine. However, when trying to run the stored proced ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Device Lost Problem
I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when yo ...Show All
Software Development for Windows Vista DirectShow with Visual C++ Express
Hi, I've been having a few problems with getting Visual C++ 2005 Express to work with DirectShow. I'm getting an "unresolved external" linker error for CBaseVideoRenderer. I've built strmbase.lib and put it into the lib folder, but the error still pops up. To get the example and strmbase.lib to compile, I had to edit some syntax errors and comment out: #pragma comment(lib, "atlthunk.lib") in atlbase.h. Could this ...Show All
Windows Forms Create controls from Component Class
Hi All, I found an Article in NET which makes the datagrid work like a listview, ie if i click on a cell entire rows gets selected..The sample article works fine. it uses a Component class called MYdataGrid which inherits the datagrid and in that they overiide the edit and other functions And in the Form, they create a datagrid of Type component class(MyApplication.MyDataGrid). Can anyone let me know how to create a datagrid of Type MyData ...Show All
.NET Development Why does Dataset NOT serialize its BinaryFormat property? (ADO.net 2.0)
Hi All I have tested the dataset new "binary serialize" feature in ADO.Net 2.0. Many articals said if we set the dataset's property "RemotingFormat" as "SerializationFormat.Binary", it can serialize itself in binary format. OK, this propety works well, the output file is much smaller than xml style. But i got something stronge: If i first set a dataset "RemotingFormat" as "binary" before serialize it into a file, then Deserialize it to a n ...Show All
Windows Forms calendar
hello has all I will want to know if it possible of is unselecte some days (for exemple week end ) of the calendar object ,and thank you in advance. ...Show All
Windows Forms Non-administrator user and Misc
hello few questions from a newbie trying to use MSI3.1 on Windows 2003 SP1 - can users without administrator privilege install MSI package where can I set this up - can users without adminstrator privileges install in C:\Program Files - can I install two copies of same application (same productversion) on a given system eg. install the same project.msi twice into C:\project1 and C:\project2 appreciate responses and/or p ...Show All
