/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





Channel: Robert Green

Last night I presented VSTO 2005 Second Edition to the Utah .NET User Group . I built a simple Word application level add-in and we then talked about deploying it. And that immediately led us to talking about security. VSTO overrides the default CLR security policy, which is that all code running in the My Computer zone has FullTrust. This is fine for a .exe. You double click on a .exe file and you are explicity granting permission for code to run. But if you open a Word doc or Excel workbo ... [ read more ]


Before moving on to SQL Express SP2, I decided to finish with VS by installing the Pocket PC and Smartphone 5.0 SDKs. On XP, you need to install ActiveSync first. So I started to install ActiveSync 4.2 and, what do you know, ActiveSync is blocked on Vista. I found the Windows Mobile Device Center here . It is the Beta 3 Release for Vista RC1. I installed it. I also notice that with this you can synch content with a Windows Mobile 2003 or 5.0 device. So, my Pocket PC running version 4.2 ... [ read more ]
Now that it has shipped, it is time to move to Vista for my primary development work. My plan is to use Vista and Office 2007 on a daily basis on both my desktop and laptop, and to have secondary drives with XP and Office 2003. Yesterday, I started with the desktop. I installed Vista Ultimate on a clean drive. And of course, I once again forgot that IIS is not installed by default, even though I have installed Windows 10-15 times since this became the default. Happily, SQL Server an ... [ read more ]


I have posted the sample code and slides for my Data Binding Tasks talk, presented last week at VSLive! in Orlando. All of the demos I wrote are in the zip file, including a few I didn't get to in the talk.


I have posted the sample code and slides for my ADO.NET and VSTO workshops, presented at the Advisor .NET Summit last week in Las Vegas. There is also a Word doc with Word, Excel and Outlook VSTO walkthroughs.


This past Monday I spoke at the monthly VB meeting of the .NET Developers Association user group. The talk was Create Your Own Templates and Code Snippets. The slides are posted here .  


A couple of weeks ago I installed the RTM version of Visual Studio 2005. But first, I ran the uninstall program that Microsoft provided. The Readme for VS 2005 lists the steps you need to take, but also provides a link to the uninstall program which purports to do the uninstall for you. I ran that first and then installed VS, on both my desktop and laptop. Both computers have had pre-release versions, including Beta 2 and the Release Candidate (aka RC). The installs ran fine and everything se ... [ read more ]


Paul showed off some VB 9.0 features today. He showed a lot of Linq demos, both DLinq and XLinq. One of his XLinq demos was tremendously cool. First he showed that VB now natively understands XML literals. You can write code like this Dim xmlFrag = _   <Customers>     <Customer>       <CompanyName>Big Corp</CompanyName>       <City>BiggeTowne</City>     </Customer ... [ read more ]


The Office 12 ribbon groups common tasks into "tabs". Tabs consist of "chunks", which consist of controls. The new model for programmatically customizing the Ribbon is currently called RibbonX and it is a declarative XML format that lives inside a COM AddIn. Unlike the 2003 CommandBar object model, the Ribbon model works exactly the same across each of the Office 12 apps. The way you customize the Ribbon is by building a Shared AddIn. You then add a Connect class which implements IMsoRibb ... [ read more ]


I am writing this from the Los Angeles Convention Center, in Los Angeles, home of the PDC. I will be here all week, learning about what's coming in the future and also proctoring some Hands On Labs. I am officially proctoring SQL Server 2005 Hands On Labs but my good friend and former VB product team colleague Steve Lasker was on my flight down and he told me that there are VB Labs as well and that I wrote some of them back when I was on the VB team. So I think I can help proctor those as well ... [ read more ]


I dragged a DataAdapter onto a form today, using VS 2003. I've done this 1000 times before. Up popped the Data Adapter Config Wizard. I chose Next. And then I got the following: Error Message: Object reference not set to an instance of an object. Call Stack: at Microsoft.VSDesigner.Data.VS.VsConnectionManager.CheckConnection(Int32 index, ProviderNameInfo nameInfo) I tried it again a couple times. I exited VS and came back in. I restarted the computer. I always got the same message ... [ read more ]


I've been using Visual Studio .NET since it was in short pants, yet I saw something last week I didn't know you could do. I was at the MSDN Event in Lakewood (a suburb of Tacoma, which is about an hour south of Seattle). Rory Blyth was the presenter (and a good one too). I several times saw Rory deleting entire lines of code using nothing but the keyboard. And he wasn't selecting the line of code first. I had no idea how he was doing it. Turns out that if you have the cursor at the beginnin ... [ read more ]


VORST stands for Value Over Replacement Software and Technology. I borrowed this concept from Baseball Prospectus . They use VORP, or Value Over Replacement Player, as a measure of the relative value of various baseball players. Specifically, VORP is "The number of runs contributed beyond what a replacement-level player at the same position would contribute if given the same percentage of team plate appearances. " A player with a VORP of 0 is no better or worse than "one or more of the best ava ... [ read more ]
After 8 ½ years at Microsoft it is time to move on to the next phase of my career. April 15 was my last full day at Microsoft. I am pursuing the life of the independent contractor and returning to something that has been a passion of mine since before I came to Microsoft: teaching developers how to use developer products. There is a very important role to be played by people who help others learn how to use tools like Visual Studio to its fullest. I want to be one of those people. I have join ... [ read more ]


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC