Tony Qu's Q&A profile
Visual Studio Deployment Scenario Best Practices
Does anyone know of a document or white paper somewhere that describes [in detail] what the best practices are for deploying a .Net 2003 windows forms application in a corporate environment We are looking for guidance on how to structure our environment, taking into account the following points: Integrate with Visual Source Safe Automated daily builds using NAnt Automated moving from Development to Testing to Staging to Production Questions ...Show All
Microsoft ISV Community Center Forums Excel edit mode
How can i detect "edit mode" in excel macros Thank's for idea(s) Yes but Application.Ready is not an event !!! and tranfsorming a state reading in an event by a timer is ugly and buggen!!!! ...Show All
Windows Forms VS.NET Toolbar
I've created a VS.NET Add-in, pretty easy, but is there an easy way to create a VS.NET Toolbar Is it even possible Thanx awesome! thanx so much! I'm actually on my way out of town, but when I get back, I&n ...Show All
SQL Server Install fails on x64 cluster nodes.
I can't seem to install SQL Server 2005 (x64 version) on an x64 Win2k3 two node cluster. I get all the way through the configuration and setup fails because it cannot start a task on the remote node. The error message indicates to check the task scheduler log file, which I have and I cannot find any 'errors' in the file. Google/MSDN/Technet turn up nothing on multiple searches. Has anyone else run into this problem My installation accou ...Show All
.NET Development Web Method with a Result parameter
I have a webservice that has a couple methods with a parameter named Result. This was fine in VS.NET 2003 when I added a reference to it, however VS.NET 2005 generates different code when the reference is added, and it will not compile. I did some digging and discovered that it created a <MethodName>Completed event with a matching <MethodName>EventArgs class for all of the exposed methods. The problem that I run into is that the auto ...Show All
Visual Basic Can I disable the Print buton in PrintPreviewDialog ?
I'd like to disable or even remove the Print button from the PrintPreviewDialog. Is it possible Or is it possible to capture the click event of the print button ...Show All
Visual Basic Migrating usage of VB6 control arrays to 2005. How do I do this?
Hi again. Need some advice and I'm new to VB2005. In VB6 I used control arrays a lot, and there are no control arrays in 2005. I found out how I can do the same thing by referencing the handles in a sub, but I have another scenario not covered in MS's migration page. To make it simple, let's say I have 10 labels and I want to pick one randomly and display text in it. In VB6 I could have all these labels in an array and do this (quazi code) I = ( ...Show All
SQL Server Restore Database from file
Hello, I had backed up a database from SQL 2000, just before I format my computer. Now I have installed SQL 2005 and trying to restore that database to it, it doesn't work and I get the following error when doing that =================================== Restore failed for Server 'localhost\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Micros ...Show All
SQL Server Internet explorer script error
When trying to configure task scheduler on my mcafee virus scan i get the error notice: keyset does not exist The specific error is 0x80090016 It also says General page initialisation failed. An error has occurred attempting to retrieve task account onfo. You may continue editing task object but will be unable to change task account info. Does anyone have a solution so I can schedule automatic updates for my virus scanner ...Show All
Visual Studio Addins/VSIP?
Hi, Here is what I have to achieve. I want my custom menu item in Visual Studio to show up when a particular project type is opened. e.g. The menu item should show up only when I am working with a C# project. It should hide when I am working with a ASP.net project for example. I ran the addin wizard to create the menu item, but how do I handle the project creation events to display/hide the menu item dynamically. Thanks, -K ...Show All
Windows Forms How can I programmatically autosize columns in Datagrid?
I am using VS2003. In a datagrid, when I display a dataset, it comes with few columns. When I double-clicking section separator (= autosize column) it automatically extends the column to show max width of the column. How can I programmatically double-click autosize event so that all columns are displayed autosized level.C#, C++ or VB examples or link or examples are appreciated. Thanks in advance, You can do this by using the Data ...Show All
Visual Studio Reports in Windows 98
I finish an VB.NET application made with Visual Studio.Net 2003 that comes with Crystal Reports 10. Please: what I need, when create the Deployment and install the App, to read the Reports in a Windows 98 OS machine Thanks That would be Merge Modules for Crystal Reports for Visual Studio .NET 2003. You can get them at: http://support.businessobjects.com/fix/merge_modules.asp#04 Keith - Business Objects ...Show All
Smart Device Development WM5 Smart phone projects with Visual .NET 2003 C#?
I have the standard edition of Visual Studio .NET 2003 C# edition. Can I write smartphone apps or use the SDK with that Or must I upgrade to VS2005 Thanks. I'm afraid you can't create WM5.0 projects using VS 2003. The system requirements for downloading WM 5.0 SDK specifically mentions that VS 2005 should be present. http://www.microsoft.com/downloads/details.aspx FamilyID=83a52af2-f524-4ec5-9155-717cbe5d25ed ...Show All
Windows Forms help with drawstring over a rectangle
Hi all I have a loop that draws rectangles and I want to draw text only on the first box in the loop. How can I do this, here is my code. It draws the text in each box but I only want it to be in the fi ...Show All
Visual Studio Can you change the VS05 Help (MS Doc Explorer) code samples font?
Its a horrible font and very hard to read. Can you change the typeface on it Wowser, that's the first time we've heard that. I will forward this recommendation to the documentation design team for consideration. ...Show All
