Taylor Meek's Q&A profile
Windows Forms Changing Color Scheme Programmatically
Greetings! My new customer wants to do something that seems like it ought to be simple: they want to have their app appear in High Contrast Black or High Contrast White if the user is outdoors and having problems seeing the display. They want it to work very much like the High Contrast color schemes in the Accessibility option in Control Panel; but they want to change this via options in their app, without forcing the user to navigate Control Panel. The Control.SystemColorsChanged Event says: This event is raised if the SystemColors is changed by either a programmatic modification or user interaction. But I can't find any WinForms mechanism for changing SystemColors programmatically. Target platforms are XP and Vista. Any ideas In a rel ...Show All
Visual Studio Team System Problem with Sharepoint using HTTPS in with Remote TFS
HI, I have a dual server installation for TFS, I exposed to Internet and I configured the web server with HTTPS and SSL access. I have access to the projects, source control and work items, but I can Add new Team Projects, and the project portal is disable. the Documents and .... are not accesibles. I can have access to sharepoint either ( I suppose that it is because the same problem ) Can somebody help me. Thanks an advance, Roy If you take a look at IIS you will see 3 web sites. Are you sure that you opened all 3 ports on the firewall Did you make all three web sites run over HTTPS I just did this recently, but I'm not allowing internet access to it. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. AccessViolationExcpetion
I have a really weird and annoying error appearing. Basically, I'm following the Hazy Mind engine tutorials for XNA, and I can't get post processing working correctly. I get this error occouring An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.Xna.Framework.dll Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. This does not always happen in the same place though, if I turn off code optimisation, it happens in the line above. I have run Windows Memory Diagnostic and my memory seems fine. Here is the code public void ResolveAndRender(GraphicsDevice myDevice) { myDevice.ResolveRenderTarget(0); myDevice.SetRenderTa ...Show All
Software Development for Windows Vista Vista Logo compatible version for Microsoft Merge Modules
We're designing our application's installer (using InstallShield 12) to be compatible with Window Vista. Our application requires some Microsoft merge modules to be installed on the target PC and one of these is the 'oleaut32.msm'. We're getting errors with this file when we validate it against Vista requirements, so I'm just wondering whether Microsoft has any plan to release a Vista Logo compatible version of their merge modules, particularly for 'oleaut32.msm' Thanks! I am exactly in the same situation getting the same error while including the merge module for vista. Could you please explain in detail how did you solve this issue. I have tried to include the .dll/.ocx file fr ...Show All
Visual C++ _CRT_SECURE_NO_DEPRECATE does not disable warnings
Consider the following code segment. I have followed the advice of putting the #define CRT_SECURE_NO_DEPRECATE 1 before all #includes, but I'm still getting the warnings: 1>c:\!mtc\src\deprecate_test\deprecate_test.cpp(10) : warning C4996: 'strcpy' was declared deprecated 1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy' 1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' Here's the code: #define _CRT_SECURE_NO_DEPRECATE 1 #include "stdafx.h" #include <string.h> int _tmain( int argc, _TCHAR* argv[]) { cha ...Show All
Visual FoxPro can VFP9 take data type jpg, gif, or PDF ?
Don't know what you want to do, but maybe Calvin Hsia's writings might be of help: Various ways to display multiple photographs: on a Fox form http://blogs.msdn.com/calvin_hsia/archive/2006/08/24/718510.aspx Various ways to display multiple photographs http://blogs.msdn.com/calvin_hsia/archive/2006/08/18/706679.aspx Create thumbnails of all your digital photos in a single table http://blogs.msdn.com/calvin_hsia/archive/2005/07/20/440822.aspx Sharing Digital Pictures of your friends http://blogs.msdn.com/calvin_hsia/archive/2004/08/05/209272.aspx Call GDI+ JPG manipulation from Excel, Word, Powerpoint, VB.NET http://blogs.msdn.com/calvin_hsia/archive/2005/07/25/443178.aspx ...Show All
SQL Server SQL Account lockout
Hi Champs, Is there a way to recover from a account lockout in SQL2005 I cannot connect to "Database Engine" in "SQL Server Management Studio", error: login failed...18456. Access denied with windows auth. and also with SQL auth.. And I also cannot start the "SQL Server agent service" Any possebility to recover without reinstall /Many thanks The SQL agent service has nothing to do with SQL Server logon. Please check if the SQL Server service - SQL Server (MSSQLServer) windows service is running under LocalSystem account and try logging to the SQL Server as 'SA'. THT, Loonysan ...Show All
.NET Development make an internet dialer in c#.Net
hello all, I am to make an application using C# .Net which automatically dials the isp(internet service provider) and connects to internet. If the internet disconnects, it redial again automatically and reconnect. It is totally new taks as I am working in web page developement and have almost no idea of such tasks. Please help me and assist me. Thanks to all indeed, See this Thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1202600&SiteID=1 I hope this will help. Best Regards, Rizwan aka RizwanSharp ...Show All
SQL Server Excel "Damage to the file" Error When Exporting With SSRS 2005
I am getting an error: "Damage to the file was so extensive that repairs were not possible. Excel attemted to recover your formulas and values, but some data may have been lost or corrupted." in some instances when exporting toexcel. The report is no different than any othere report. This report uses rectagles and text boxes to control layout with two tables but it's pretty straight forward. This only happens for this particular report when exported only to Excel. I am using SQL2005 SP1. Any ideas, thoughts, or references are welcome. I can't believe noody answered this yet. I saw the same behavior and the only way we got it to work is to re-publish the data associated with that report AND ...Show All
.NET Development How to display table with attribute values
Hi All, I am trying to display a table report using XML and XSLT, but could not get it to work. Here are my files: XML File: < xml-stylesheet type="text/xslt" href="..\testlog.xslt" > <LogMessages> <LogMessage EntryNo="000000000001" EventNo="30000" User="System" Interface="" ProcessId="608" BytesTransferred="0" BytesReadWrite="0" Time="20061026202051825"> <![CDATA[ Program starts.... ]]> </LogMessage> <LogMessage EntryNo="000000000003" EventNo="30001" User="System" Interface="" ProcessId="608" BytesTransferred="0" BytesReadWrite ...Show All
.NET Development .NET 2.0: rethrow broken?
Hi all: I am sure I am overlooking something here, but in the sample program below (Console Application snippet), the stack trace output is the same regardless of whether I use "throw;" or "throw ex;" try { try { throw new ApplicationException ( "Exception text" ); } catch ( ApplicationException ex) { Console .WriteLine( "In ApplicationException handler" ); throw ; } catch ( Exception ex) { Console .WriteLine( "In Exception handler" ); throw ex; } } catch ( Exception ex) { Console .WriteLine(ex.StackTrace); } I checked the MSIL, and the "throw;" statement becomes "rethrow;" in MSI ...Show All
SQL Server Using XML variable as a table
Hi All, Using SQL2005, I'm trying to improve the performance of some code that is currently using: OPENXML, sp_xml_preparedocument and sp_xml_removedocument. -----------------------code----------------------------------- set nocount on declare @X xml declare @docHandle int set @X = '<ProductInformationEnhancementsDS> <ProductInformationEnhancements CatalogueItemID="100-0007"> <PriceCheck RetailerName="CompanyA" RetailerPrice="19.9900" RetailerPriceCheckDate="2006-06-17T00:00:00" /> <PriceCheck RetailerName="CompanyB" RetailerPrice="18.9900" RetailerPriceCheckDate="2006-06-17T00:00:00" /> <PriceCheck Ret ...Show All
Software Development for Windows Vista Distributed transaction support in wcf using WS-AT
Hi all, Could anybody knows where I could find the example of distributed transaction in wcf using ws-at So it enables 3rd party service (like IBM svc) to join the transactions. Thank you in advance. lingga Hi lingga, any WCF client/service using a binding with TransactionFlow enabled AND the transaction protocol set to WSAtomicTransactionOctober2004 will flow WS-AT on the wire (making interop possible). The user programming model stays the same for WS-AT and our native protocol. As an example, see below for how to flow WS-AT using WSHttpBinding and NetTcpBinding. Documentation for WCF: http://wcf.netfx3.com/ -> Download Documentation CTP Transaction Sample: Download above do ...Show All
Software Development for Windows Vista RTC API 1.2 help needed..How to get buddy list from server?
Hi i am programming in c# and using rtc api 1.2.i can sign in to LCS server through my application.now i have to add buddy list in my application.How to retreive buddy list and buddy status from LCS server. I tried to get help from RTC Presence sample ,but that one is too complex for me.Plz help me if any one worked over it Thanks ...Show All
Windows Forms Another ListView Question
i have setup a ListView control after much hard work but stumbled onto a problem, when you add new items then close the application then run it again the items are no longer remembered should the ListView control remember whats been added and if so how can it be done thanks btw im using MS VS 2005 C++ i like the look of the new ListView but i personally think it wasnt very well thought, for instance you cant save anything without having to serialize it (even though it has an add/remove function) i mean whats the point in having an add and remove and clear if it doesnt actually add/remove or clear anything doesnt make any sence at all. i think they should release a new version that does what its supposed to so such as add and remove. ...Show All
