Welcome to MSDN Blogs Sign in | Join | Help

Visual Basic

I'm a big fan of Visual Basic. When I was a writer on the VSTO team, we always wrote our code examples in both C# and Visual Basic; samples that shipped with the product also had a fair mix of C# and Visual Basic. Sometimes, if you look at the Visual Basic sample code, it kind of looks like the code was written in C# and then fed through one of those fancy converter tools to produce the Visual Basic code. The code works, but its not always written in the way that a VB developer would write it. I always tried to keep the Visual Basic developer in mind when creating code examples (and more often than not, I wrote the code in VB and used one of those fancy converter tools to produce the C# code).

I've recently moved over to the Visual Basic User Education team at Microsoft. So I'm really looking forward to having the opportunity to help the Visual Basic developer by writing content and code samples specific to their needs.  What about VSTO you might ask? Well I plan to continue to write about VSTO on this blog and create video demos that show you how you can create VSTO solutions, but my focus will be on using Visual Basic.

As you may know, I have written a book on VSTO (called Visual Studio 2005 Tools for Office for Mere Mortals) with co-author Paul Stubbs. This book is written for the VBA developer, and all code examples are in Visual Basic. We've just finished the final draft of the book and it is currently being tech reviewed. I'll continue to post updates about the book in this blog.

I also plan to expand this blog to include other types of applications that you can create using Visual Basic.

--Kathleen

Published Monday, July 24, 2006 9:12 PM by kmcgrath
Filed under: ,

Comments

# re: Visual Basic

We'll miss you on the VSTO team, Kathleen! The Visual Basic team should be very cool though. And it's good to have people out spreading the VSTO word in new places!
Tuesday, July 25, 2006 10:32 AM by HarryMiller

# re: Visual Basic

Not sure if this is the right place to ask but I'm new to Visual Basic and am trying to reference one vb file from another.  So say I have first.vb and second.vb (second happens to be a form).  

If I do:

Dim propForm As New second

it complains that second isn't defined.  If I copy and paste the code from second.vb into first.vb then the same code doesn't complain.  is there a way to reference another file in VB or is it required to have them all in one file?  I couldn't find this on google anywhere.  I feel like this is a common thing though to want to call an instance of one vb class from another.  I tried doing Imports second=second... I also tried creating a namespace for the second.vb file and then doing: Imports second=com.test.second

Any thoughts?  Thanks a ton!! Lisa - cpup22@gmail.com

Thursday, March 27, 2008 6:12 PM by cpup22@gmail.com

# Copyright Revewals » Kathleen’s Weblog : Visual Basic

# re: Visual Basic

Ignore the above comment.  :)  I figured it out.  I actually have the two files in the same project... even though they looked like they were.  It was confusing.  Thanks!

Friday, April 04, 2008 2:21 PM by cpup22@gmail.com

# Visual Basic and word 2003

Sorry, to trouble you but I can not find an answer to this problem that I have. I do not know how I can redirect MS Word's Visual Basic to use a local TEMP folder. The problem is that when I try to create a new document by using a template for example "contemporary report" template I get an error message saying that I do not have enough memory or I must redirect VB to a local TEMP folder.

Is there a solution? Maybe I must search the Registry but I do not know the correct values.

Can someone help?

Friday, December 12, 2008 6:13 AM by mindman
Anonymous comments are disabled
 
Page view tracker