Luiz Bicalho's Q&A profile
Visual Studio How to extend "New Project" dialogbox from visual studio?
Hi All, I want to create an addin for Visual studio 2003, in which after showing my own created dialogboxes, i want to open "New project" dialogbox. I am able to show "New project" dialogbox by using ExecuteCommand("File.NewProject","") function of DTE interface. But i want to disable browse button on "new project" dialog and set project name and location through my code. In VC6, we can extend c ...Show All
Visual C++ Linker error when calling legacy DLL methods with CString arguments
I am developing a C++ application in Visual Studio 2005 that needs to call methods in a legacy MFC DLL that exports a class with CString arguments in its public methods. The legacy DLL is compiled in Visual Studio 6 and I don't have the source files for it so I have to use it as it is. My problem is that I cannot link with the DLL. When I call one of the methods having a CString argument I get this linker error: error LNK2019: unresolved e ...Show All
SQL Server SQL Server 2000 and SQL Server 2005 have the different behavior
SQL Server 2000 and SQL Server 2005 have the different behavior when they close record set earlier opened from the same client application (used ODBC or DB-Library). SQL Server 2005 sends to client a large amount of data while SQL Server 2000 does not do this. Probably these data are the rest of the result set on the SQL Server 2005, which application did not read completely. The difference in query processing can be observed if the SELECT comma ...Show All
SQL Server Query Regarding Condition 'Between '
Hi I have a table(CNT) with record in Cnt_Number (Varchar) as 'CNT01/2006','CNT02/2006','CNT03/2006','CNT04/2006','CNT05/2006'. When i use the following query it is returning only three instead of only four it should. How to resolve this select Cnt_Number from CNT where Cnt_Number between 'CNT01' and 'CNT04' It returns only Cnt_Number CNT01/2006 CNT02/2006 CNT03/2006 My Expected result was CNT01/2006 CNT02/2006 ...Show All
Windows Forms Removing ListViewItems doesn't work
Hi! I want to remove the checked Items of a CheckedListBox. I do the following: foreach (int indexBA in listBA.CheckedIndices) { string baID = (string)((ListViewItem)listBA.Items[indexBA]).Tag; ((ListViewItem)listBA.Items[indexBA]).Remove(); } listBA.Refresh(); But it doesn't work. hi, why you cast listBA to ListViewItem Remove() works fine for me in ListView. -L ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Questions about release date and VCS
Q1 : As far as I have understand, current version of XNA Build isn't the final one. When it will be released, approximately at least Q2 : I haven't found any mentions about version control systems (even SourceSafe) exploring MC2 XNA-sample, maybe I was inattentive. In what manner it will be possible to incorporate a VCS into XNA Thank you. I just tried adding the build project to source control and noticed tha ...Show All
Smart Device Development Splitter click event
the compact framework does not support the click event for slitters. I need to know when this is clicked because I am doing my own dynamic resizing of a custom control that I made. I am not trying to change the behavior of the splitter, I just need to temporarily suspent my dynamic resizing while the splitter is in use because it is causing the splitter to behave strangely. Is there a way to know when the splitter is being clicked/touched ...Show All
Windows Forms Requesting Help
Hi I have one application which is windows installer package (.msi ) i have unpacked that using "wise for windows installer " and i can see inside that dlls ocx and exe files .. and this application is devolped in VB.Net what ...Show All
Windows Forms Need to build a listbox containing a checkbox and image
I need to build a control that looks like a checked listbox but with an image between the checkbox and the label. I don't need any databinding support. I tried to 'OwnerDraw' the CheckedListbox but it will not support owner drawing. I&nb ...Show All
Windows Forms Resizing problem
Hello, I have two grids one above the other and want them to take equal space on the form when it is resized. I put a splitter and set their dock properties, but it still didn't work that way, i.e. the distance between them stays the& ...Show All
Visual Studio Team System enable the rules only for the derived classes
Is there way to enable the rules only for the derived classes and not for the base class. I tried public override TargetVisibilities TargetVisibility { get { return TargetVisibilities .ExternallyVisible; } } is there any other approch thanks in advance RamV Hi RamV, Are you looking for classes that derive a specific base class or are you looking for all the 'leaf' cl ...Show All
SQL Server Another SUM limitation problem
I am trying to simply do a rather simply you'd think.... SUM in my textbox on 3 COUNT fields in 3 tables...it's not possible, I get errors whatever way I try this. Look at the Grand Total, that's what I want....a sum of the 3 black fields that have COUNT in them. If this is not possible in SSRS 2005, then Microsoft missed something huge that totally degrades their entire platform, this sucks! I'm so sick and tired in the past 2 months, v ...Show All
Visual Basic databinding
Hi anybody, I'm new to visual studio express 2005. I have learned the data binding metho with a simple table. Everything works as told but when I want to change a record, it will change it in memory but not in the database SQL. I want to creat an application that will let user change any record. Can someone help Thanks. Well, I found some answers already. The VS Express 2005 is limited and will not let The user change the database in ...Show All
Windows Forms Clickonce deployed database overwrites existing data when upgrading
Hi, Im using Visual Basic 2005 beta with a database 'books.mdb'. When I publish using clickonce, then run the setup file, it install/upgrades over the previous version I have installed. However, the empty books.mdb deployed with setup overwrites the existing books.mdb and all the book data I have entered using my program disappears. Is there a setting to control what happens to deployed files/ database files in the upgrade situation, as opp ...Show All
Windows Forms Printing Multiple Pages in C#
Hi Gang! I am working with the code posted below to print the text from a textBox. The amount of text in the textBox varies, and can be multiple pages. When I click OK in the printDialog, the page count window begins climbing up&nbs ...Show All
