Michael A Miller's Q&A profile
Visual Studio Where does VS2005 store source control provider info?
In VS 2003 and previous versions, the list of source control providers and the default SCC provider were stored in HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider. It looks like Whidbey does not use these values. I'm trying to make sure that our SCC tool will appear in the Whidbey list, and also have the capability for the user to set the default VS SCC provider from our app. How do I do that in VS 2005 ...Show All
Visual Studio Team System Recommendation of promotion methods that can be SOX compliant
An essential tenet of SOX requirements is accountability and separation of responsibility. Thus, when changes are propogated from development to UAT/Prod, we have a need for the promotion to be controlled by the SysOps group. They must be secure and unchangable by anyone other than authorized personal. Does anyone know of any documentation or walkthrough's on the best way to accomplish this I'm not sure an i ...Show All
SQL Server Schedule Stored Procedures
Hello all, I created a stored proceduce to delete specific records from a table. I want it to run every week. How can I schedule a stored procedure I tried with SQL Server Agent -> Jobs, but it isn't a transact SQL-script. Any ideas Thanks in advance. Hello Konstantin, Thanks for the quick reply. It's working! That simple... Best regards. ...Show All
Windows Forms hosted DesignSurface - editing Controls (e.g. ComboBox) => Crash
I am playing with hosting a designer and I am already quite satisfied with my current test of a hosted designer - except that some controls crash it. I am just hosting a DesignSurface, add a ComboBox from my Toolbox, then click on the glyph for the smart tags, then click the check box "usw data bound items" once to activate. After doing that and leaving the smart editing again, so that this popup box is closing, I cannot enter it ag ...Show All
Visual Basic Exception handling doesn't catch errors
I seem to be missing a fundamental point regarding exception handling. My understanding is that when an error occurs, it can be caught by Catch without abnormally terminating the program. Mine will always abnormally terminate when an error occurs. An example is below. When the connection fails to open, the application breaks instead of executing the Catch block. Why Try cnSQL.Open() xMainMenu.ShowDialog() Me .Close() cnSQL.Clos ...Show All
Windows Forms serial com port programming
does .net framework provide api's to program the serial com port how do i communicate to the com port with c# or vb.net on a windows form thanks! You'll need to have a look at this <a href="http://msdn.microsoft.com/msdnmag/issues/02/10/NETS ...Show All
Visual C++ problem with an activeX dll from VB
Hello, I work with Visual C++ 6 I have to use an activeX dll which is developped with Visual Basic 6. this is my code : _StatisticJobPtr MyStatsFcts; /* The class from my DLL */ try { MyStatsFcts.CreateInstance(__uuidof(StatisticJob)); MyStatsFcts->CreateStatisticJob(...); &nb ...Show All
Visual Studio Tools for Office SpecialCells
Dears, I found a "No cells were found" exception when I try to retrieve a SpecialCells range. Excel.Worksheet ws = (Excel.Worksheet)Globals.ThisWorkbook.ActiveSheet; Excel.Range r = ws.Cells.SpecialCells(Microsoft.Office.Interop.Excel.XlCellType.xlCellTypeFormulas, Type.Missing); if (r != null) ... This question look like in a Excel progrmaming NG, but the point is the code is fine in VBA but failed in VSTO 2.0 Reg ...Show All
Visual C++ Can I replace or modify the default menu of an edit box?
Hi guys, Can I replace or modify the default menu of an edit box. What I want to do is that I want to provide my own owner drawn menu for the edit box. Is it possible Thanks Nibu thomas Yeah thanks martin. I have wierd ideas. I don't know where they come from. ...Show All
Visual Studio 2008 (Pre-release) Factoring Interfaces
I am embarking on my first WCF based service. This service will be evolved from an existing .asmx based set of web services that expose over 200 webmethods. My question is, what is the best way to (re)factor the .asmx interfaces in WCF I was considering a single IMyInterface containing the 200+ methods, and then perhaps partial classes for the implementation to maintain some modularity. Is this a bad idea Are there any best practices for factori ...Show All
Visual Studio Swapping Group Order
Hello All, I am using SSRS 2005 and have created a client side report. After I had completed (or at least I thought it was complete) the report, I realized I was missing a group. I went and added the group, but now I can not move the group above the other groups. I have tried setting the parent groups on all the groups, but it dows not change the group order. Is there any way to swap or change the group order if so how thank you, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. non-FVF VertexBuffer
How to create Mesh with non-FVF VertexBuffer (Managed DirectX) I tried to specify declaration but Mesh has FVF VertexBuffer after creation: Microsoft.DirectX.Direct3D.VertexElement[] elements = new Microsoft.DirectX.Direct3D.VertexElement[] { new Microsoft.DirectX.Direct3D.VertexElement(0, 0, Microsoft.DirectX.Direct3D.DeclarationType.Float3, Microsoft.DirectX.Direct3D.DeclarationMethod.Default, Microsoft.DirectX.Direct3D.DeclarationUsage.Pos ...Show All
SQL Server How can i generate a cube of XML Data
I have a table with two columns - int(primary ky) and XML. I want to use Analysis Services to build a cube of the data stored in the xml column of the table in SQL Server. How can i do that Hi Abhi, I don't think I have a general answer - again, it would depend on whether the XML data is related to facts or dimensions of the cube UDM, and whether an XML instance represents a single or multiple (fact o ...Show All
Smart Device Development Suddenly get "sql server does not exist or access denied" after connected for ages.
Hi all, I'm developing a PDA app using the compact framework. It connects to a SQL server 2000 database calling stored procedures to read data and update it etc.. It all works absolutely fine for 10 minutes or so - reading and writing lots of data. Then all at once I get the error "sql server does not exist or access denied". In my error handler I try to reconnect - but it seems once this error has happened it's not possible to reconnect. I don ...Show All
Windows Forms I've beaten my head against the wall for 7 hours on this Icon problem..HELP?
Alright, here's the deal..I have 32bit alpha blended XP icons that i'm using in a control... I'm using a manifest for comctl v6, which I read was the solution..but I cannot make Images that come from an ImageList to work with transparency..i know&nb ...Show All
