sk_vel's Q&A profile
Windows Forms row change event for datagrid?
Hi, I'm trying to figure out how to respond to an event for a row change in a datagrid. Cant seem to find one. I am using the click event right now...but anytime you click the datagrid (other than a cell) it fires...does anyone have another method...or knows the event that simply fires for an on row change Thanks, john ...Show All
Windows Forms Tooltip do not reshow after they expire
Hi I have a problem in VS 2005. Tooltip do not reshow after they expire. I do not have this problem in VS 2003. Please help. Add a tooltip control and a button control to a form and then add tooltip text on the button. Run and place mouse cursor over button. Tooltip will appare. Wait until tooltip disapares by itself. Place mouse cursor over button again. In 2003 the tooltip will apare again. In 2005 it will not. ...Show All
Windows Forms Add button control inside DataGridView
1) I would like to show my table in the DataGridView and allow the user to edit some of the fields which are integer type. I need to put two buttons next to the value. One of them is to add 1 to the value while the other one will minus 1. It's idea to put the add button on top of the minus one. However, I can't find any good reference on how to do this. Please advise. 2) Moreover, how can I control the button behaviour I've tried adding the DataGridViewButtonColumn into my DataGridView. However, I've no way to program like the other button control. Yes. The solution is already available in MSDN. However, I've already abandoned this ...Show All
.NET Development accessing the parent object in my heirarchy - I don't want to?
Here's my XML code: <fragenkatalog> <ca_id >4</ ca_id> <ca_titel>head ap</ca_titel> <ca_bildurl1>kopf_ap.jpg</ca_bildurl1> <ca_disabled>0</ca_disabled> <ca_alter>999</ca_alter> <ca_sex>n</ca_sex> </fragenkatalog> And the cs code public ADONETDataBinding() { InitializeComponent(); fragenkatalogDS = new DataSet(); fragenkatalogDS.Locale = CultureInfo.CurrentCulture;string xmlFileName; xmlFileName = "\\Program Files\\SmartDeviceApplication1\\fragenkatalog.xml"; xsdFileName = "\\Program Files\\SmartDeviceApplication1\\fragenkatalog.xsd"; FileStream FsXML = new ...Show All
Software Development for Windows Vista December CTP poss build 5276
Anyone know when the actual date of release will be for the December CTP - would be nice to install and look at it before the Christmas (other holiday's are also available :-) ) break. You should see it before the holiday's. Paul's post from yesterday is saying Monday and he also published a corrected build number, now saying 5270. http://www.windowsitpro.com/windowspaulthurrott/Article/ArticleID/48774/windowspaulthurrott_48774.html Josh WindowsConnected ...Show All
Visual Studio Express Editions Oracle Provider in Beta 2
How can I connect to an Oracle database with the C# express edition, beta 2. In beta 1 I did notice that there was the Microsoft provider for Oracle databases but I did not get around to testing it. In beta 2 this is not an option. Any suggestions Thanks in advance, Richard I think the express version are cut down, so you won't be able to that although you could in Beta 1. Visual Studio allows connections to Oracle. ...Show All
.NET Development ObjectManager.DoFixups() - exception
I'm receiving the exception "Object with ID # was referenced in a fixup but does not exist" from ObjectManager.DoFixups() (actually the function that throws the exception is ObjectManager.GetCompletionInfo()). This is occuring in Beta 2 and did not occur in Beta 1. I can see that the object has been registered with the object manager. The object that I'm registering is a place holder type that has a surrogate and is not of the type expected by the fixup. However, the surrogate's SetObjectData returns the appropriate object and the holder also implements IConvertible which converts to the appropriate delegate/eventhandler. Can someone ...Show All
Visual Studio Unable to debug: The binding handle is invalid
When i try to debug a C# application I get this error: Error while trying to run project: unable to start debugging the binding handle is invalid What can i do Thanks for your answers i tried with "Attach to process" but i get the following error: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named <my pc name>. The binding handle is invlaid But i am debugging a local application, not a remote one ...Show All
SQL Server How check if table exists
I have some code in a .sql file that creates a temp table (##temp01) I also have code that will drop this table. The problem is, the table sometimes exists when this line is run and sometimes it doesn't. How to I check to see if ##Temp already exists before trying to drop it If Object_ID('tempdb..##temp01') Is Not Null --Meaning it exists ... ...Show All
Visual Studio Beta 2 Crash after VSS use
Hi together, I have installed Visual Studio 2005 beta 2. I am using the VSS control embedded into the Visual Studio. Since today when I try to make a VSS operation e.g. "check out" or "undo checkout" a file from VSS the Studio crashes. Even if I create a new project and make those VSS operations the studio crashes. When I use the standalone client from VSS everything is fine. I have reinstalled the beta 2 but the error remains. I am lost!! Please Help! Cheers Franz So I have sent some more minidump files - hope you can work with that now. Please inform me, if you find out what caused this error. Best r ...Show All
Visual C++ interface/struct strangeness
Hi, I just noticed a very weird bug when compiling a c program: Every time a variable with the name "interface" appeared, the compiler gave a lot of errors. I managed to trace the bug but it seams that the compiler substitutes variables with this name with the word "struct". This happens after i included <winsock.h>. Here is the shortest program where you can see the behaviour: interface interface; #include <winsock.h> interface interface; Now compile with cl /nologo /c program.c /P /C to get the file after the preprocessor. If you now take a look at the program.i file, you will see t ...Show All
Visual Studio Team System TF single-server installation failed on a virtual pc
My installation steps are: 1. Install a Windows Server 2003 with SP1 virtual pc. OK! 2. Config the virtual pc as an application server, enable asp.net. OK! 3. Install the SQL server 2005 April CTP, config the application pools. OK! 4. Install the SharePoint Service, exclude the Reporting Services. OK! 5. Logon as tfssetup and install the Team Foundation. Hang!!! The ADAM installation seems good but the installation stops at the last step. I follow every instruction in the "visual Studio Team Foundation Installation Guide" but the installation just fails. I've tried twice but got the same results. Why Bruce Sorry, the VPC has been drop ...Show All
Visual Studio Team System Showing the merge window by using the API
Hello, I'm using the VSTS API in order to do checkouts, checkins and query items properties. I want to use the API in order to open the confilcts window, if there is a conflict after I do get. can someone help thanks. If by "conflicts window" you mean the resolve dialog, that is not public in v1. In fact, most all of the version control dialogs are not public. If you are writing a VS add-in, you can get to a few of the dialogs, as described at http://blogs.msdn.com/edhintz/archive/2006/02/03/524312.aspx . However, the resolve dialog is not one of them. Buck ...Show All
Visual C# suo file, what is this ?
Visual studio seems to generate this file, is it just a binary version of the sln file I was just wondering if we need to add this file to our CM (version control ) system .. Hi, NO, do not add it to your CM system. The .suo files contain user dependant information, like the state of the solution explorer (collaps all nodes, close the solution, delete the file and you'll notice that the nodes in the solution explorer are expanded again). Rudi ...Show All
Visual Basic Undoing record changes
I have a list box and a set of text boxes bound to a dataSource (or something like that:-) The list box is used to navigate. Everything works just find - add, delete, edit, etc. HOWEVER, I haven't quite figured out how to make the undo button work:-( It will have two modes. 1. If not editing then undo all changes since last Accept. (You can delete or edit multiple records and undo all the changes. I still have to put in code to allow moving record to accept changes as an option to hitting the accept button.) 2. If editing then undo just the changes to the currently being editted thingie. (I'm being vague here because perhaps if i knew ...Show All
