dsaniket's Q&A profile
Visual C++ VC++ User Control Troubles
I had a user control project up and running. It compiled just fine. All of a sudden it kept compiling even if there were blatent errors with the code such as a missing semicolon or random text splattered somewhere it shouldn't be. Now my *.dll file is built and I can't even use it in my main project. Does anyone have any insight into this problem Hah! I religiously cleaned it... Then I created a new project and copied/pasted my code from t ...Show All
Windows Forms the value of datagridviewcomboboxcell is invalid error
I get the above error whenever I use a comboboxcolumn in a datagridview. I set up the datasource, displaymember and valuemember properties properly. But, when I run the app, I get this error... what is the reason of it anyone who knows the fix of&n ...Show All
Windows Forms Name all the methods of deploying a .NET assembly
Could anyone name all the methods of deploying a .NET assembly Thanks. This is a technical question that came up at a job interview. Any help is appreciated. ...Show All
Visual Basic Arraylist in Arraylist
As a newbie I'm struggling how to set up an arraylist in an arraylist. dim TickerName as new arraylist dim Data as new arraylist Each tickerName contains an item with 1 Name, 1 MaxValue, 1 MinValue etc. (Class1) Additionally, each tickername must have an arraylist called Data, containing Prices, Volumes and Times (Class2 ) I've Googled for this but without result, at least one I could understand.. All help is appreciated ...Show All
.NET Development Error on register assembly
Hi, I have an Assmbly from C# that My unmanaged C++ application checks the version of assebmly and register using RegAsm.exe if a version is different with registered one. When I save this assembly into Visual SourceSafe and install at different machine, my application has failed to call Assembly. Also I found sometimes work and sometimes doesn't work when I run my application with several different version of Assembly. I am not sur ...Show All
Visual Studio Team System Visual Source Safe Installation Problem
I am trying to install VSS 2005 Beta on WS 2003, but its installation has entered a loop. Each time that I try to install, it gives the error message "Failed installation has been detected." After uninstall, it starts to go through the steps, and it comes with the same error message, "Failed installation has been detected", and it tries to uninstall it again. Thank you, Ray Hi Ray, Which setup program are you using the one ...Show All
Windows Forms DataGridView Multi-Sort Option
Hello to All. I'm trying to implement a multi sort option in dataGridView. I can do it by creating a new SelectCommand and rebind it to the control, by this approach have 2 disadvantages: 1. On big database, rebind data is a heavy command, and ...Show All
Visual Studio 2008 (Pre-release) C# 3.0 Feature Suggestion - symbols
I was playing around with ruby the other day and was reminded of the ":" symbol as in "abc".send(:length), although ruby doesn't care if the :length symbol actually exists on the target, it gave me the idea that we could really use a language feature that would have compile time checking for class members to be used as an alternative to passing around field/property names as strings that are later used in reflection apis, O/R ...Show All
Architecture Windows Service event log full?
I have a Windows Service which has been running happily for months, writing the occasional message to a private Windows event log using System.Diagnostics.EventLog.WriteEntry. Just today, however, my service has stopped running, and the Application event log contains the error: Service cannot be started. System.ComponentModel.Win32Exception: The event log file is full. It didn't look that full to me; a few hundred events, certainly fewe ...Show All
.NET Development Two different Commands in same function
I have two SQL commands in a button click function...Can i use two totally different commands in one button click method ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Bug
Hey! In all samples I install using DirectX 9.0 as API, may it be from DirectX SDK or NVidia SDK, the following bug is present: The ui controls, such as drop down box, slider bars, check boxes etc all appears normal at first. But whenever I try to interact with them they disapear for good never to come back. The samples are still running as they should. My machine is uses a dual core amd athlon x64 cpu, it has about 2 gigs of ram, nvidia GeForce ...Show All
Visual C# please microsoft or anyone tell me why !!!????
when i debug this code Process p=process.getAllprocessbyName(processName, Remote MachineName); p.Kill(); i have this exeption this feature is not supported in remote machine what i want to say is why microsoft make this function and told us that we can use it for remote machinr in msdn help i found: C# public static Process [] GetProcessesByName ( string processName , string machineName ) Param ...Show All
SQL Server Establish connection to the server
Hi, I have a problem editing my SQL databases in Visual Studio 2005, i have searched the web for answers, but those were not clear enough to me, somthing about changing my settings for SQL server, but i didn't follow it all to well, the current error mesage I get when i click in the Server Explorer on my data connections is: An error has occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure ...Show All
Visual Studio Adding project to solution
I have Solution with loaded project. How can I add new project (for example C# or VB class library) to this solution programmicaly Is there any way to do that If you want to learn more about this, see the Help topic "Controlling the Solution and Its Projects." (Online, the link to this is: http://msdn2.microsoft.com/library/t51cz75w.aspx .) In addition to this, most all of the solution member langu ...Show All
.NET Development Cutting an Image with VB.NET
Hi everybody I need, for a sub, to cut a large image into smallers, that I know the bounds I didn't find any function that allow me to do that, so I had to do a copy pixel by pixel... so execution runtime is very long! Can someone help me Thanks to everyone Use graphics.DrawImage, one of the overrides will draw a rectangle from the source image into a rectangle in the destination image. ...Show All
