Tag | MSDN Posts

If you're having issues downloading from MSDN Subscriptions the following steps cleared it up for me. I had the issue over the past several days. So, I tried MSDN support and in the end they were of no help. First they said I was the only person with the problem. Then, after I pushed them, the support person contacted her supervisor who confirmed that others were having the issue. So, these steps cleared it for me: 1. Control Panel -> Uninstall -> FTM File Transfer manager 2. In IE -> Tools ...
I have the ASP.Net application, that uses SqlTransaction.BeginTransac... before the call to Update SP and commit after the call.If any exception would happened, transaction should be Rollback. The code snippet is the following: conn.Open(); using (SqlTransaction trans = conn.BeginTransaction()) { try { ds = SqlHelper.ExecuteDataset(tr... CommandType.StoredProcedure, SPName); trans.Commit(); } catch (Exception ex) { trans.Rollback(); //Log the error } } We noticed that during update of web.config ...
i found this excellent code, that tells me how can i invoke external routine easily , using C#. The purpose of the following is to set a desktop image , on button click calling a routine from user32.dll using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Runtime.InteropServi... using System.Windows.Forms; namespace wallpaper { public partial class Form1 : Form { [DllImport("user32.dll", CharSet = CharSet.Auto)] ...
In the latest installment of MSDN Magazine "Toolbox", Scott Mitchell wrote a few paragraphs about how a developer can add to his applications/websites the ability to accept online credit card payments. The process does seem complex and a bit intimidating at first, but with the right tools it can be pretty easy. Scott points his readers to Authorize.Net (Internet payment gateway through which one can process the charges), and also mentions the availability of some third-party shopping cart products ...
Because the name, Interop Forms Toolkit 2.0, really doesn't tell you anything about it, I'd re-name it the "How to extend an established VB6 application with .NET code Toolkit". Yeah, my title might be a bit wordy and all but at least you'd know what it does! The goal is simple, provide a path to VB 2005 for VB6 developers without requiring them to completely rewrite their VB6 applications. There are plenty of VB6 applications out there that are still working exactly as they were designed. The problem ...
I was a new user of Groove 2007 so I used it a few times without obtaining a product key from my MSDN subscription. Created a couple of worksites, all was good. Once I realized I would be using Groove more often I obtained the product key. This time when Groove asked, I entered the product key. That's when strange things began to happen. Every time I tried to create a workspace in Groove it now began the configuration wizard and asked for the product key. Ok, fine. (I had been smart and saved it ...
In a recent post I mentioned having a problem getting the product key for SharePoint Designer 2007 to work. Welllll, I did some extensive research, ok, well not extensive but research nonetheless, and found this post on the MSDN forums. A couple people had encountered the exact same problem and the solution was kind of strange. The solution is to re-download the .iso image to make sure you have the latest. Ok, makes sense. The strangeness comes in when you look at the date posted for the en_office_sharepoint_design... ...
Last week I was searching for a solution to generate a complicated XML straight away out of the SQL Server. Actually, I had huge data scattered in few tables that I wanted to map to an XML with several attributes n elements with multiples levels of hierarchy, I was trying to generate this XML with the FOR XML Explicit mode. Doing things with this was really really complicated n terrible. So, I started to look around for new XML features introduced with SQL Server 2005 (as I was using SQL Server 2005 ...
Mix07 is live and lots of awaited stuff has come . Silverlight has a couple of new releases, Silverlight 1.0 BETA, and 1.1 ALPHA. Why 1.1 while 1.0 is not fully released yet? No idea . (See update below) What matters here is that 1.1 ALPHA targets developers more than anyone else. It also has a GoLive license . You should be just fine by installing it, and the SDK, and then start playing. (maybe also download the pre-release expression products). Silverlight Homepage (Has cool videos and more goodies) ...
In case you've been too buried by current projects to check out what's coming down the road in the next version of VB, you might want to check out the Overview of Visual Basic 9.0 article up on the MSDN site. I particularly like the new Relaxed Delegates feature, ok, well not the feature so much as the name. For me it conjours up visions of political types floating on rafts in a resort swimming pool, enjoying adult beverages, discussing the merits of the candidate they want to nominate. Now that ...
Microsoft recently released an Outlook 2007 update that, among other things, addresses some of the performance issues that occur when working with large .pst files. I'd tell you how well it works but when I try to download it my machine fails the genuine test for Office 2007. Now before you start thinking I'm using a pirated copy of Office 2007 or something sinister like that, relax, the problem stems from the fact that I have SharePoint Designer 2007 installed and can't seem to figure out why the ...
I came across something interesting on the Analysis Services MSDN Forum a little while ago - this post has been on my todo list for a while :). When processing a large dimension (10 million+ members) the following error was encountered. File system error: A FileStore error from WriteFile occurred. Physical file: .... At first it sounded like some sort of data corruption which was what someone else suggested and the proposed resolution of re-deploying and fully re-processing would have corrected the ...
*Moved to: Selling the benefits of Team SystemI have found that there is very little content available on the art of selling Team System for developers that want to use it. Developers need to sell it not only to their manager, but to a hole host of people, and it is no small expense to implement it. There needs to be some sort of content available to help sell this product, and I mean without trawling through hundreds of MSDN pages, case studies and blogs. Lets face it, if you tell someone a piece ...
According to eWeek, Microsoft will release the third beta, which is also the first pubic beta, for Windows Server "Longhorn" today. So far, Longhorn remains on track for RTM in the second half of 2007. More than 10,000 people have already tested the product either directly through Microsoft's technical beta program or through Community Technology Previews through TechNet or MSDN subscriptions. Windows Server "Longhorn" will build on the improvements made in Windows Server 2003 R2, and add the ability ...

Why is it that when you try to log into the MSDN forums to post a rant about one thing or another you cant manage to sign in using passport - Passport flat out sucks and it all ends with me using FireFox just so that I can log into the MSDN forums - does anyonelse get the same Internet Explorer cannot display this webpage - flamin useless.

G

Well I've been extremely busy in the last month and have not blogged much, I'm off to Disney for a few weeks, then DevTeach and after that I'll get right back to it. So after everybody and their dogs mentioned you all that VSTS "Orcas" B1 is finally available, I'm just going to say, go here for all the info. There are two (2) different VPC, one is with both TFS and VSTS and the other is only VSTS beware what you download ;-). You will also need the base differencing disk to run those images. All ...
Here's the culmination of my research into CI Factory and how I'm not using it to develop my open source RapidDB libraries. This is a fairly personal setup, as it only has a single developer (me), two development machines (currently an office desktop PC and a roaming laptop) and a build server which is not publicly accessible via the Internet. An MSDN and Microsoft Partner Action Pack subscription are busy covering my software license requirements. Summary: Development PC 1 : Desktop, XP Pro SP2, ...
If you are based in the southwest of England you are probably aware that there isnt a dot net user group and if you want to see any presentations you have to either be lucky enough and well planned to get in when MS come to Bristol but most likely theres the drive up the M4 to Reading. (I guess you could brave public transport and risk being late, getting lost or perhaps just not getting anywhere - bollox to that!!) I did post sometime ago enquiring how one would go about starting a user group - ...
Marty Wasznicky and Scott Zimmerman have published a great article on MSDN on some best practices while developing BizTalk application. Please read the detailed article here http://msdn.microsoft.com/m... Here are the main points of the article: 1. Always Use Multi-Part Message Types2. Always Try to Design Orchestrations with Direct-Bound Ports3. Always Use Separate Internal and External Schemas4. Never Expose Your Internal Schemas Directly in WSDL5. Always Optimize ...
In my last blog we saw the Web application trust levels, how we configure trust level from the application. Strong-named assemblies must be stored in the GAC (short of global assembly cache). By default, strong-named assemblies will not grant access to partially trusted code, because of the visibility of strong-named assemblies in the global assembly cache is high. What going on when partial trusted application call the Full trusted assembly. If the calling assembly marks with the APTCA (short of ...

Seen on MSDN today (it was a little picture link) - you can attend 2 Visual Basic Labcast Series events and fill out an evaluation on each of them for a complimentary copy of Visual Studio 2005 Standard Edition. - see the link for full details and such from Microsoft.

 

I have been working for a period of time on a new Windows Forms 2.0 project - which is driving me slowly insane. Is it just me, or is the typed dataset databinding in visual studio 2005 and .Net 2.0 just horrendous to use unusable - there are very few (possibly none) what I would call real world examples of how to create your typed dataset and then get the update, delete and adding new rows to a datatable. Using stored procedures - if you dont generate the typed dataset with a select, insert, update ...
Great Article from Dino Esposito - MSDN Magazine Hotmail Inbox Grid with code evailable in both VB and C# 2005.
VSTO Product Manager Mike Hernandez has recently announced a webcast series called "VSTO Straight From the Experts" will begin on April 19th with Ken Getz. Check out Mike's blog for more information. You can also find these and future webcasts in the MSDN webcast calendar. Here are the links to the webcasts for your convenience: VSTO Straight from the Experts: Ken Getz VSTO Straight from the Experts: Robert Green VSTO Straight from the Experts: Tim Huckaby These should be great webcasts, so if you're ...
I was out checking what's new via my MSDN subscription site this evening when I noticed that the Expression Web product was available for download. As you may know, there has been some consternation in Redmond about whether this suite of tools should be available via MSDN. A quick web search revealed that yes, indeed, the Expression suite of design products will be available via MSDN. Check out this post from Walt Ritscher's blog for the office word from Soma Somasgar. If you haven't already grabbed ...
I spent quite a lot of time with Expression Blend lately. I like that program more and more. It needs some getting use to it at first, but it's just great to be able to open the same project file and source files in Blend and in Visual Studio simultanously. You can design your UI in Blend, including bindings, etc..., you can even run it to check how it looks like "in real", and then you can switch to Studio to do the code behind, add data sources, etc. One thing I miss in Blend is Timeline-based ...
Today I started working on the security layer of a web application. I won’t divulge the details of what I’m working on, but we can call it PaymentSystem.One of the requirements of this project is to hook into an old database. The company is still using applications that use this data, and it’s not going to be changed for a few years. Because it will be merged with a larger corporate database in the future, I have to maintain flexibility.I took a look at the database to figure out what was going on ...
When Microsoft announced the new Expression product line, a decision was made to keep these out of the MSDN subscriptions. The theory behind this was that these tools are designed for graphics designers and didn't have a place in the MSDN subscriptions. This decision was widely criticized by the development community and Microsoft has finally realized their mistake and announced that Expression Web and Expression Blend will now be available at no extra charge to all MSDN Premium Subscribers, including ...
Now this is not a shock, I could have predicted that in a heartbeat. But it's still great news. Microsoft has a long way to go before they can compete 1:1 against Adobe in that space. Not giving it to the MSDN Subscriber that have all the other development products was a mistake. Whether we like it or not, as developer these days we then to do a bit of everything and designing interface it one of those jobs. Now I might still create crappy layouts but at least they will look better now that I will ...
Great news from Scott Guthrie: When we originally announced Expression, one of the common questions/complaints was over why we weren't planning on including the products (especially Expression Web and Expression Blend) within MSDN subscriptions. Today we announced that we were changing this (you can read details on Soma's blog post announcing it here). Expression Web and Expression Blend will now be available at no extra charge to all MSDN Premium Subscribers (this includes customers with the "VS ...

This site is funny and a totally new take on Developer Interactive Advertising - I'm listening.

Check it out: http://www.DefyAllChallenges.com/

If you are not impressed by finally not seeing a boring MSDN page, then I dunno what to tell you...

So no real fiascos today. Some good talks on Ajax from Scott Cate, and WPF from Walt Ritscher. I'm still amazed at how scaled down VSLive is from past years. Last night was the big party night. They had some contests and we giving some prizes away. A few nice things like a portable DVD player from one of the vendors, but the "big prizes" were production licenses of Sharepoint. Woo, hoo, snore. Come on, sure it might be worth 5 grand, but I'll bet nearly every developer there would rather have had ...
I was trying to create and page with Asp.NET 2.0 and Ajax 1.0. I was using a placeholder control to dynamically load a user control based on the user selection. The first error I encountered is : {"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls ...
After working with WPF for a while I must say that it is wonderful platform for building complex user interfaces but sometimes it falls short in very simple scenarios. Or in other words, it's easy to do complex things with it's powerful tools but often it lacks simple tools to do simple things. At least from a perspective of Windows Forms developer who expects some familiar tools and quickly finds out that they are gone. There are several examples of this, but one that I run across recently and find ...
Quote from the post @ ScottOnWriting.NET: JavaScript Object Notation (JSON) is simple, lightweight data-exchange format that is used by most AJAX implementations (although it can be used by other applications and domain spaces). It is used to serialize data structures into a text format that is especially easy to parse and evaluate directly from JavaScript code. Back in 2006, Atif Aziz approached me and asked if I'd like to coauthor an introductory article on JSON. The net result is the latest article ...
Top chap from blighty, Guy Smith-Ferrier, has started a free user group based in Bristol for IT professionals in the South West; The .NET Developer Network. They've got a cracking kick off session with Mr MSDN UK, Mike Taulty, delving into LINQ, the hottest feature coming with the next release of the .NET framework. It follows a similar format to the London .NET user group which is not a bad idea at all - presentations followed by some friendly socialising over a beer or two. Guy has his own blog ...
Almost as common as the debate over which .NET language to choose is the argument about whether to use DataSets or not. As described above, typed data sets are easy to generate through the designer, provide a type safe API for containing business entity data, and already support advanced features such as change tracking, sorting, filtering, and searching. Some of the resistance to DataSets resulted from several performance shortcomings in the .NET 1.1 implementations. These problems included poor ...

Well...more like Canadians now...

The US apparantly had this deal on for a while, but thanks to MSDN Canada for extending it to those of us north of North Dakota!

Read the blog posting here.

D

Thanks Glen and the rest of the Microsoft team that put on the MSDN Event in Charleston yesterday! For those who haven't attended one of the MSDN Events this round....check it out because there's some really cool demo's and code there working with the core components of .NET 3.0.

 

A few days ago, I posted the text below under the title "Microsoft Gets an 'F' for MDSN Managed Newgroup Support": Over four weeks ago, I had a question about how to use a Web Service Application Project (new feature in Visual Studio 2005 SP1). Since the need for an answer was not urgent, I decided to post a question to the microsoft.public.vsnet.general managed newsgroup. I was relying on this supposed benefit of my MSDN subscription: The MSDN Managed Newsgroup benefit gives you unlimited access ...
As I was going over an e-mail this morning from Glen Gordon he told me initially there were 10 copies to give away at our local Charleston MSDN event...but then later it changed to just giving it away to each person who attends...a pretty sweet deal if you ask me! So those of you in or around the Charleston area, go ahead and register and we'll see you out there! If you can't make the Charleston event, see Columbia, SC or Atlanta GA - All three links below: Tuesday, March 13 - Columbia, SC Thursday, ...
It's been a while since I checked the state of add-ins for Windows Live Writer, and there are quite a few now. Some of the more interesting ones: Insert Video Insert a video from MSN SoapBox, Google Video, YouTube, MySpace Video, Yahoo! Video, muveeMix and now myvideo.de videos. Usage is easy, just click on the Insert Video link, then copy and paste the link into the text box. Alternatively, you can now just paste the video link into the blog entry and the plugin will do the rest. Now fully compatible ...
I like Visual Basic.NET because… A professional picks a tool for logical reasons. As a professional business programmer, I pick VB.NET. Before I expound further on my choice, you should know whether or not I am qualified to have an opinion. Certified in C# and Visual Basic.NET, I was lucky enough to be chosen as Microsoft MVP in Visual Basic.NET in 2006. I founded and head up a 1500+ member .NET User Group in Charlotte, the Enterprise Developers Guild (www.DevelopersGuild.org). We routinely have ...
Take a look at the list of proposed features for .NET 3.5. Nice table that gives an overview of what's to come. Tighter integration of WF & WCF with specialized WF hosts for WCF (ServiceHost). Also, syndication support is part of the base class library. So, publishing through RSS or ATOM is far simpler than it already was. That's a technology that's ubiquitous. Faster execution & GC. Anonymous & name pipe base class support (I see easier WCF channel implementations). And of course Add-in ...
Well I mentioned in an earlier post that Microsoft was hosting an MSDN Event here in Charleston on March 15...and after talking with Glen earlier today he's informed me that he'll be in town the previous night - so we're changing our regularly scheduled meeting to be on Wednesday, March 14th...it'll be a 2-day geekfest here in Charleston :) Even better - Glen's going to be talking about XNA - sweet! Head over to GC.NUG's website for more info in the coming days including directions, times, etc ...
There is more and more good training material out there and one thing that works really well for people is the ability to watch someone accomplish a task and comment on how to do it. It's sometime hard to follow from a book and you don't get all the nuances, a good narrator can get a message through much better in my view. I'm about start doing some training material for our folks here and I like listening to others do this to get ideas how to make the message consistant and clear. Eric Lee is a ...
The Microsoft sponsored GotDotNet developer community site is shutting down! All of the functionality will be phased out by July 2007, so there isn't much time left. According to the announcement, Microsoft is phasing out GotDotNet for the following reasons: Eliminate redundant functionality between GDN and other community resources provided by Microsoft Traffic and usage has significantly decreased over the last 6 months Reinvest the resources in new and better community features The phase out schedule ...
I came accross a scenario where I needed to override the ASP.NET-assigned id name of a label control that is used within a datalist control on a webform. The problem is that, because of ASP.NET's naming scheme, you get names like ctl00_ContentPlaceHolder1_N... (Read the MSDN article that explains this here.) Not the easiest or nicest to play with when you need to do something as simple as, say, use anchors on a page for navigation. To make a long story short, there are two ...
I've asked myself... What do I know that's worthy of talking about, then I realized, it's what I don't know that actually seems worthy of being discussed. How can we help out others that want to learn to be better developers? I've started to sit and wonder, what does it take to catch up to modern software development practices. I graduated from my local Community College in 2002, and here I am, 5 years later, still wondering "How do I learn how to be an excellent developer?" My community college ...