Miscellaneous Debris

Avner Kashtan's Frustrations and Exultations

Browse by Tags

All Tags » VB (RSS)
VB.NET and Enums
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 datatype, and VB.NET was choking on it during compilation...

Posted Friday, July 22, 2005 8:20 PM by AvnerK | 4 comment(s)

Filed under: ,

VB Build Events
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 showed that while the .VBPROJ file schema does not...

Posted Friday, September 03, 2004 5:21 PM by AvnerK | 4 comment(s)

Filed under: ,

PortalRight - all wrong.
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 when in a VB.NET project. This anomaly - nothing more...

Posted Tuesday, August 24, 2004 12:01 AM by AvnerK | 2 comment(s)

Filed under: , ,

To CLS or not to CLS.
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 several methods and properties that use the UInt32 data...

Posted Thursday, August 19, 2004 7:40 PM by AvnerK | 3 comment(s)

Filed under: , ,

More Posts