Contents tagged with VB

  • VB.NET and Enums

    Tags: .NET, VB

    I've run into several problems with the way the VB.NET compiler handles enums. I've described one here, a while ago. In a nutshell, an enum exposed by SPS was based on the non-CLSCompliant UInt32 … more

  • VB Build Events

    Tags: .NET, VB

    Having found myself developing in VB.NET alongside C# recently, I was rather annoyed at the lack of pre- and post-build-events for VB projects in VS.NET2003. A quick check of the DTE automation model … more

  • PortalRight - all wrong.

    Tags: .NET, SharePoint, VB

    A followup to this post: The PortalRight enumeration defined in Microsoft.Sharepoint.Portal.Security is, for some reason, derived from UInt32 rather than Int32. You can see this in the Object Browser … more

  • To CLS or not to CLS.

    Tags: .NET, SharePoint, VB

    For some reason, Sharepoint's object model doesnt adher to Microsoft's recommended practices - namely, trying to keep your external interfaces CLS-compliant. It seems the object model itself exposes … more