microsoft

Microsoft Active Directory Port

What ports do you need to open in a firewall to connect a remote Windows computer to a Microsoft Active Directory server domain behind that firewall? ...

Dealing with Anti-Microsoft Trolls on The Internet

I'm an active member on Programming Reddit, but I'm one of the few C# advocates there. I could write up a 3 paragraph explanation of how to do something there, just to have it voted into the negatives because I used C# as an example. As a developer using the "Microsoft Stack", how do you handle the trolls and bigots in the online world...

Are Windows DLLs signed by Microsoft? Can I detect if they've been tampered with by a third party?

Hi everyone. I'm implementing a locking and copy protection system for my software. I've shut every hole that would allow someone to break my lock (well, that's a little too optimistic, I know!) but the last thing is this: I hear crackers can change Windows DLLs like Kernel32.dll in a way that the API I use returns a value which is spe...

Vista Credential Provider with Newlines

I'm trying to build a Vista Credential Provider. I have a field whose type is CPFT_SMALL_TEXT. I would like to put a multiline string into this field, but it keeps getting cut off part way through with an ellipsis appended at the break. How can I avoid this and get my multiline string to show up? ...

Windows Explorer's Busy cursors and give-up copy operations - why?

Can anyone please enlighten me as to why windows explorer is so, well, synchronous. Why are there so many operations that cause busy cursors. Also, can anyone understand why directory-copy needs to be as broken as it is, after all these years, can't something be done?! If I copy a directory and there's a file in that directory being lo...

About Manifest file

Recently, I encountered a very strange issue, this issue only happens in XP SP3 and Vista. Here is my steps: List item Create two new folders in desktop(assume folder names are A and B) Copy Microsoft GraphEdit(graphedt.exe) application to A folder, then create a empty “graphedt.exe.manifest” file as well. Run graphedt.exe, you will se...

Microsoft HxS file format

I was wondering if anyone had a file format reference for Help 2.0 HxS files? I've seen a few 3rd-party viewers so obviously someone has gone through the trouble of reverse-engineering the file format, but I have been unable to track anything down with Google. I am interested in creating a better interface to the MSDN documentation and...

VMR-9 Renderless mode: SelectAtPosition() crashes

How to solve the SelectAtPosition() crash when using VMR-9 in renderless mode? ...

Is a MSDN subscription worthwhile?

Sure you get the OSs and Visual Studio, however: Do you need anything more than XP and Vista for most development? Visual Studio Express is fine for me. Are there any other benefits that you actually use as part of your MSDN subscription? ...

SSIS, dtsx and deployment packages

Hi I'm just trying to understand SSIS packages a bit better and how they are deployed. Correct me I'm wrong but for any deployment, I believe there needs to be at least two files a .SSISDeploymentManifest and a .dtsx. The .SSISDeploymentManifest acts as the equivalent windows installer package which points to the .dtsx. The dtsx is the...

Can one access TestContext in an AssemblyCleanup method?

In Microsoft's UnitTesting namespace (Microsoft.VisualStudio.TestTools.UnitTesting) there are AssemblyInitialize and AssemblyCleanup attributes you can apply to static methods and they will be called before and after all tests respectively. [AssemblyInitialize] static public void AssemblyInitialize(TestContext testCtx) { // allocate...

Checklist towards optimal performance in a database import application

I am facing an application designed to import huge amounts of data into a Microsoft SQL Server 2000 database. The application seems to take an awful long time to complete and I suspect the application design is flawed. Someone asked me to dig into the application to find and fix serious bottlenecks, if any. I would like a structured appr...

Foreach Loop Microsoft SSIS - equivalent to break statement

Within a Foreach loop in SSIS is there a way that if a task fails you can break out of the loop to the next iteration? I am looping over xml files and performing a lookup using values within this file, if the lookup doesn't return any values i'd like to report on this and then not perform any other tasks for this file. If there is no e...

How to determine the datatypes of the results of a SQL?

We have a SQL query that pulls a large number of fields from many tables/views from a database. We need to put a spec together for integration with a 3rd party, what is the quickest way to compile the data types of the result set? Clarifications: There are 25+ tables/views involved, so functions at the table level will still be cumb...

Microsoft.XMLHTTP and CDATA

Hello! I'm having a problem sending XML through Microsoft.XMLHTTP object in ASP (not .NET). I have CDATA elements inside some of the XML nodes and i get this error while trying to send. msxml3.dll error '80070005' Access is denied. First of all, this only comes up with CDATA. If i remove it, all sends allright. I did a little googling...

What will happen with Office VBA?

The company I work at is run on Excel sheets. Several of those sheets have some form of VBA code embedded. I'm doing some maintenance on them, but it feels really dated. What's gonna happen to Office VBA? Why hasn't Microsoft released an embedded .NET macro language for Office? ...

Microsoft Blend June 2.5 expired

Hi. I can't find newer Microsoft Blend Preview. Is it available? Thank you for your answers. ...

Microsoft SSIS 2005 removing columns from an XML source

I have an XML source in a Microsoft SSIS 2005 package and when I debug the package I am receiving warnings like: [DTS.Pipeline] Warning: The output column "AccBasicRateDesc" (15229) on output "AccFwdDetail" (303) and component "XML Source" (1) is not subsequently used in the Data Flow task. Removing this unused output column can increas...

What was the Historical Precursor for .NET Attributes?

What languages or platforms influenced the .NET 1.0 Team to build-in the concept of Attributes from the very start? Was this an Aspect-Oriented thing? Serialization? or something else? I was still in VB6-land at this time, and never used any of the pre-1.0 .NET versions. ...

Need an overview of non-enterprise databases for .NET

For smaller websites which are view-only or require light online-editing, SQL Server 2008, Oracle, and MySQL are overkill. In the PHP world, I used SQLite quite a bit which is a e.g. 100K file holding hundreds of records which you speak to with standard SQL. In the .NET world, what options do we have, I've seen: SQL Server 2008 Expre...