Florim's Q&A profile
Windows Forms Help with DataGridView ComboBox NullValue
I have a DataGridView ComboBox column. The value is bound to a database table and the list is filled from a table or by explicit add commands -- doesn't matter. I need to set a Null value into the database when nothing is selected (or a specified item is selected), but things aren't working well for me... For a NON-DataGridView combo box, I create a list where one of the items displays as empty and it has a value of DBNull.value. User selects that, database gets the null value. Works great. That's the functionality I need inside of DataGridView. When I try that in the DataGridView ComboBox column, I get a Da ...Show All
Windows Forms deploy updates to 100s of clients
Hi all, I am considering whether to build an upcoming application as a windows project or a web project. Part I will be a highly customized CRM application that I will need to deploy updates to frequently. I am leaning towards a windows application (because that is what we currently have in place) and the powers that be will also want this t ...Show All
Windows Forms Not Serializable: System.Windows.Forms.BindToObject
It would appear that when DataBinding.Add() is called, a System.Windows.Forms.BindToObject object is created and used to hook the properties "Changed" event for the binding. This is yet another type not marked serializable. How do I go about serializing an event which contains a BindToObject Is this another special case for the the serialization formatter - Ray See http://forums.microsoft.com/msdn/ShowPost.aspx PostID=24138 . Joe Stegman The Windows Forms Team Microsoft Corp. This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server Install Developer Edition & Express?
Hi: I have installed SQL 2005 Developer Edition and VS 2005. Do I need to also install SQL 2005 Express edition too My version of VS2005 is proffesional. I cannot seem to find SQL 2005 Developer Edition in the Server Explorer of VS2005. So I am wondering if I need to install SQL 2005 Express. Before I had SQL 2000 and MSDE installed with VS2003 and there was no problem. Thanks So I do not need to install express edition. Okay. So why can I not see it using Visual Studio 2005 Server Explorer Thanks for your speedy reply. ...Show All
Visual Studio Tools for Office vsto2005
i have vbasic express, sql server express and office 2003 proffessional, what else do i need to starting developing vsto2005 applications i have seen the products comparision page on microsoft site, but i dint understand. can u help me Hi, VSTO functionality is not included in Express products. You will need VSTO 2005 which is a full edition of Visual Studio - it means you have to buy the VSTO 2005 product or the VS Team System. Also, VSTO is included in some MSDN subscriptions. You can get more info here: http://msdn.microsoft.com/vstudio/products/vsto/default.aspx ...Show All
Visual Studio Team System Timeout during unit test
Greetings. I've recently been introduced to VSTSs integrated unit testing abilities, and quickly decided to adopt them and write an extensive suite of tests for some software component or another. Much to my regret, however, I soon stumbled upon a rather annoying problem as some of my tests take a relatively long time to perform. I'd tell you how long, but unfortunately I can't quite tell since the testing framework decides to terminate the tests on its own account with the following message: "Test on Agent, X, exceeded execution timeout period" where X is the agent on which the test had run. I would expect that nasty little timeout to ...Show All
Visual C++ Problems compiling C++ Visual Studio 2005
Hi! I have a large C++ unmanaged application which I compile and run perfectly using Visual Studio 2003. Now, I wanto to compile and run it using Visual Studio 2005. When I compile it in release mode everything works fine, but I get about a thousand comiler errors when trying to compile it in debug mode. All of these compiler errors appear in files that belong to Visual Studio 2005 such as stdlib.h, cstdlib.h,etc. I would appreciate very much some help with this. Thank you :-) These are some of the compiler errors I get: error C2039: 'malloc': is not a member of '`global namespace'' cstdlib error ...Show All
Visual Studio Cannot install VSTS Trial edition on xp64
Hello all, I'm trying to install VSTS Trial edition on a xp-64 machine. I have the following error: [11/05/05,15:35:33] MSXML 6.0 Parser x64: [2] Error code 1620 for this component means "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package. " [11/05/05,15:35:34] MSXML 6.0 Parser x64: [2] Setup Failed on component MSXML 6.0 Parser x64 [11/05/05,15:35:34] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [11/05/05,15:35:34] setup.exe: [2] Component error string not specified in ...Show All
Visual C++ Makefiles in Visual C++
Hi, I am no professional programmer, nor am I a developer, nor do I have 40 years programming experience, so please don't laugh at my stupid question. My question is this: Is there any way to add Makefiles to Visual C++ The reason I ask is this: Suppose I have multiple C files in my project, and I have 2 different driver files with 2 different mains ...how does visual C++ know which main to begin executiion in Thanks, Sean Hi Boris, Is there a not so easy way to do this within a single project I am evaluating the migration of a very large softw ...Show All
Visual C# Help me to understand better the interfaces
Hi i read a bunch of articles on articles.. i know exactly how to amke them.. But i dont understand why should i use them .. or for what are they important.. Why should someone wanna make a interface for something... Please help!!! Hi! Interface used to implement behavior in any class without specific superclass. Few examples: IList. Any class that implement this interface can be treated like list. This can be .NET Framework class or your own. And there is no need to make them all from the same base class. IFormattable. Any object that implement this interface can be used with formatting services. IDisposable interf ...Show All
Visual Studio VS 2003: Add-Ins Not Showing in Tools Menu, But Showing in Add-In Manager
I've had this problem with a couple VS 2003 add-ins. The add-ins install successfully. What happens is the add-ins show in the Add-In Manager, but they don't show as available under the Tools menu. The Add-In Manager shows the add-in as set for "Startup," and the registry keys are in the right places. I've even run regasm on the assembly dll. It just won't show up. Any ideas Thanks! -Auri Where did you put your .addin file Try putting it in My Documents\Visual Studio 2005\Addins , along with all its associated files (.dlls and so forth) and see if that works for you. Best, -Auri ...Show All
SQL Server Assembly MyAssembly was not found in the SQL catalog of database MyDB
I’m trying to register my CLR UDF in SQL 2005 using this code CREATE FUNCTION GetSomething() RETURNS INT AS EXTERNAL NAME MyAssembly.MyFunction.MyMethod When I run it against my DB I get this error: Assembly MyAssembly was not found in the SQL catalog of database MyDB I’ve successfully registered my custom assembly in the DB (I see it under Assemblies folder), and I’ve set CRL Enabled to 1 in my DB. What am I doing wrong Thanks in advance A couple of things: 1. make sure that the CREATE FUNCTION call is actually executed in the database where MyAs ...Show All
Visual Studio Express Editions Finding Buttons In a Toolstrip
Hello All, Need a little help here. I have a Toolstrip on my main form. The Toolstrip contains buttons and seperators. I need to be able to loop through the Items Collection at run-time, find a given button or buttons and enable or disable them based on conditions I set within my code. I know that I can use the Type Operator to determine if the given item is a button, but I am having a bit of trouble with the syntax. Could someone please lend me a hand here, it's driving me nuts. Thanks In Advance For The Help V. Shane Curtis Private Sub TestToolSTrip () For Each btn As ToolStripButton In Me . ToolS ...Show All
Windows Forms Navigating relationship
Hello, I have a DataSet ds with two DataTables, dtAccounts and dtBalances. I have created a relationship with dtAccounts the parent and dtBalances the child. Navigation is through a DataView dvAccounts on dtAccounts: BindingContext[dvAccounts].Position += 1; I want to display parent-child data on a form with some of dtAccounts fields in TextBoxes at the top and ...Show All
Windows Forms Does the new terrarium work for anyone?
Just thought I'd ask Is anyone ELSE feeling a little stupid for installing the new version before ANYONE reported it worked ...Show All
