June 2005 - Posts
 |
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET is is the complete technical guide to upgrading Visual Basic 6 applications to Visual Basic .NET, covering all upgrade topics from APIs to ZOrders. It shows how to fix upgrade issues with forms, language, data access, and COM+ Services, and how to upgrade applications with XML Web services, ADO.NET, and .NET remoting. It also provides big-picture architectural advice, a reference of function and object model changes, hundreds of before-and-after code samples, and a CD packed with useful examples. |
Chapter 1 – Introduction to Upgrading
Chapter 2 – Visual Basic 6 and Visual Basic .NET Differences
Chapter 3 – Upgrading Options
Chapter 4 – Preparing Your Project for the Upgrade to Visual Basic .NET
Chapter 5 – Your First Upgrade
Chapter 6 – Common Tasks in Visual Basic .NET
Chapter 7 – Upgrading Wizard Ins and Outs
Chapter 8 – Errors, Warnings, and Issues
Chapter 9 – Using Visual Basic 6 with Visual Basic .NET: COM Interop
Chapter 10 – Ten Common Upgrade Problems
Chapter 11 – Resolving Issues with Language
Chapter 12 – Resolving Issues with Forms
Chapter 13 – Upgrading ActiveX Controls and Components
Chapter 14 – Resolving Data Access Issues
Chapter 15 – Problems That Require Redesign
The Microsoft Solutions for Security (MSS) team had published five new security planning guides:
The Administrator Accounts Security Planning Guide
This guide is designed to be an indispensable resource when organizations plan their strategy to secure administrator-level accounts in Microsoft Windows NT–based operating systems such as Windows Server 2003 and Windows XP. It addresses the problem of intruders who acquire administrator account credentials and then use them to compromise the network. The main goal of this guide is to provide prescriptive guidance in terms of the steps an organization can take to secure local and domain-based administrator-level accounts and groups.
The Secure Access Using Smart Cards Planning Guide
This guide is designed to help IT security professionals understand how to plan and implement secure access using smart cards for administrator accounts and remote access user accounts. It enables the reader to understand how to secure access using smart cards and examines the issues and challenges.
The Security Monitoring and Attack Detection Planning Guide
This guide is designed to help IT security professionals understand how to use the security event logs in Microsoft Windows as the basis for monitoring security and detecting attacks on a network. The guide helps the reader to identify relevant security events and interpret sequences of events that might indicate that an attack is in progress.
The Services and Service Accounts Security Planning Guide
This guide is designed to be an important resource when organizations plan their strategy to run services more securely under the Microsoft® Windows Server 2003™ and Windows® XP operating systems. The guide addresses the common problem of Windows services that are set to run with the highest possible privileges, which an attacker could compromise to gain full and unrestricted access to the computer, domain, or even to the entire forest. It describes ways to identify services that can run with lesser privileges and explains how to downgrade those privileges methodically. This guide can help organizations assess their existing services infrastructure and make some important planning decisions in relation to future service deployments.
Implementing Quarantine Services with Microsoft Virtual Private Network Planning Guide
This guide is designed to help IT security professionals understand how to plan and implement Virtual Private Network (VPN) Quarantine services featured in Windows Server 2003 Service Pack 1. The guide enables the reader to understand the approaches to VPN quarantine and examines the issues faced.
 |
Get a focused, first look at the features and capabilities in Microsoft Visual Basic 2005, Visual Studio 2005, and .NET Framework 2.0. If you currently work with Visual Basic 6, these authors fully understand the adoption and code migration issues you’ll encounter. They’ll step you through a quick primer on .NET Framework programming, offering guidance for a productive transition. If you already work with .NET, you’ll jump directly into what’s new, learning how to extend your existing skills. From the innovations in rapid application development, debugging, and deployment, to new data access, desktop, and Web programming capabilities, you get the prerelease insights and code walkthroughs you need to get productive right away. |
If you have the need to log Com calls… in XP SP2 and Windows Server 2003 SP1 there is a new feature….
Set the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\CallFailureLoggingLevel
Registry named valued to 1
This is a named-value that is set to a REG_DWORD that sets the logging of COM call failures via eventlogs.
After setting this key check eventlog Application log.
I was wondering for some time if its possible to create vs2003 (framework 1.1) assembly using vs2005 as i would love the option to still be able to produce fw 1.1 code mainly for supportability while using the vs2005 IDE which has such great improvements…. Class Diagram… Generate unit Tests etc…
Jomo Fisher published on his blog the 9 steps of enabling fw 1.1 build on vs 2005 … and ITS WORKING !
1. Copy the content of this blog post (MSBuild targets file) to “C:\program files\msbuild\” and name it “CrossCompile.CSharp.targets”
2. Create a new C# console project (I’m working currently on directions for winforms app)
3. Use notepad to edit MyApp.csproj. Replace the entire <Import> tag with
<Import Project="$(MSBuildExtensionsPath)\CrossCompile.CSharp.targets" />
4. When prompted, reload the project. You’ll have to answer a security dialog :
choose Load Project Normally
5. In VS, click the drop-down that says ‘Any CPU’ and select ‘Configuration Manager’
6. Under Active Solution Platform, select <New…>
7. Select ‘.NET 1.1’ and press OK.
8. Build and notice error about System.Collections.Generic. This means its working because generics aren’t supported in 1.1.
9. Open Program.cs and delete the line: using System.Collections.Generic; And rebuild.
Because winform apps in vs 2005 uses partial classes the easiest way to create a new win form app in 2005 that is compatible to 2003 is to create a winform app in 2003 then open it in 2005 (it will be converted to 2005) and follow the above step to build it using fw 1.1
Note: you wont be able to use the new vs2005 controls on vs2003 app as the framework 1.1 will not know how to deal with them so when ever you’ll try compiling forms with such controls you’ll get a compile time error.
Wondering how to build secure interoperable Web services with WSE 2.0?
The WS-I BSP v1.0 Supply Chain Management Sample Application serves to demonstrate the scenario of a retailer selling consumer electronics. The retailer must manage stock in three warehouses. If Warehouse A can't fulfill an order, the retailer checks Warehouse B; if Warehouse B can't, the retailer checks Warehouse C. When a warehouse's inventory of a particular product falls below a certain threshold, the warehouse orders more units from the manufacturer. There are three manufacturers.
The WS-I BSP v1.0 Supply Chain Management Sample Application acts as a vehicle to showcase the recommendations in the WS-I's Basic Profile 1.1 and the architecture focuses on showing how Web services adhering to the WS-I Basic Profile Version 1.1 publication might be modeled in a real-world situation. It is not intended to demonstrate best practices or details of a supply chain management application.
In coming up with an architecture that realizes the SCM use cases, WS-I members tried to create as diverse a Web services environment as they could, without breaching the WS-I Basic Profile Version 1.1 guidelines. For example, you will find different uses of the SOAPAction header, as well as its avoidance.
Download is here and check WS-I BSP workshop at gotdonet
The first public build of WSE 3.0 is now available on MSDN, The build requires Whidbey beta 2.
Check out what's new in WSE 3.0 over here
Then download the WSE 3.0 CTP Runtime WSE 3.0 CTP Full pkg
And also take a look at the two WSE HOL:
WSE 3.0 Technical Preview Hands-on Lab - Messaging
WSE 3.0 Technical Preview Hands-on Lab - Security
Happy Birthday to my blog….
Its been a year since I've started bloging !
And what a year it was 204 posts,87481 visits and lots of comment,email discussions and a bunch of new friends around the glob.
It happened that Microsoft also joined my blog party and awarded me with a nice birthday present :-)
( more on that in the near future… )
So…
For everyone reading my blog… I hope you are enjoying and hoping to meet you again in next year’s celebration..
Ohad.

The ASP.NET Roadshow Content is now available!
Intro to ASP.NET 2.0 and Visual Studio 2005
Learn how the new release of ASP.NET 2.0 and Visual Studio 2005 enables developers to dramatically reduce the amount of time and code required to write real-world Web applications.
Intro to ASP.NET 2.0 and Visual Studio 2005 (110K)
Intro to ASP.NET 2.0 and Visual Studio 2005 (300K)
Transcript Demo Transcript Demo Files
Migrating from ASP.NET 1.1 to ASP.NET 2.0
In this talk you will learn best practices and coding techniques to help make upgrading of applications from ASP.NET 1.1 to ASP.NET 2.0 even easier. Discussion includes the conversion wizard, compilation model, and more.
Migrating from ASP.NET 1.1 to ASP.NET 2.0 (110K)
Migrating from ASP.NET 1.1 to ASP.NET 2.0 (300K)
Transcript Demo Transcript1 Demo Transcript2 Demo Files
ASP.Net 2.0 & Visual Studio Team System
In this talk we will look at how Visual Studio Team System helps Web developers build scalable, reliable, performant, enterprise grade Web applications. Explore unit testing, load testing, architecture tools and more.
ASP.NET 2.0 and Visual Studio Team System (110K)
ASP.NET 2.0 and Visual Studio Team System (110K)
Transcript Demo Transcript
More Posts
Next page »