Display: Cloud | List
Most Popular Tags
Results (3 total) All > vb.net (x) > bug (x)
Code Sample Error (How to: Create Custom Configuration Sections Using ConfigurationSection)
Hi, The VB Sample code contains errors. The constructors are named like in C#. The correct code is: Public Sub New()End Sub Public Sub New(ByVal attribVal As String)MyAttrib1 = attribValEnd Sub
Last modified by Steve Butler MSFT on 9/18/2007 4:31:55 PM
Tags:  bug  code  sample  vb.net
Code bug? (How to: Create a Web Application in a SharePoint Web Site)
I get a bug when i try this code sample. CodeToRunElevated(GetSitesAndGroups) I had to use AddressOf: CodeToRunElevated(AddressOf GetSitesAndGroups) And then the next line gives me Object not set to reference... error? SPSecurity.RunWithElevatedPrivileges(elevatedGetSitesAndGroups)   Anyone know how to get this to work? thanks.
Last modified by dfgs435 on 4/24/2007 4:39:51 PM
Tags:  bug  vb.net
Got a different bug. (How to: Create a Web Application in a SharePoint Web Site)
I did every step from this sample used vb.net. But when I run this project, a exception happened at this line: Dim mySite As SPSite = SPContext.Current.Site The error message was: System.InvalidOperationException Why???
Last modified by Charlie Lim on 5/19/2007 9:38:28 PM
Tags:  bug  vb.net
Page view tracker