SharePoint Server Portal 2007 and VB.NET

Last post 01-09-2008 10:18 PM by aditya_raj. 6 replies.

Sort Posts:

  • SharePoint Server Portal 2007 and VB.NET

    01-25-2007, 4:32 AM
    • Member
      point Member
    • the nomade
    • Member since 11-05-2002, 1:25 AM
    • Posts 2

    I use Visual Studio 2005 and I want to develop vb.net webparts for SharePoint Server Portal 2007. But when I choose 'File, New, project, .." I only see c# webpart-templates, not Visual Basic.

    My Question is: is it not possible te develop webparts in visual basic for SharePoint 2007? If it is possible, can anyone give me a hint how to get the vb-webpart templates for Visual Studio 2005?

    Filed under: ,
  • Re: SharePoint Server Portal 2007 and VB.NET

    02-07-2007, 9:08 AM
    • Participant
      1,012 point Participant
    • jaloplo
    • Member since 06-23-2005, 10:58 AM
    • Alcala de Henares, Spain
    • Posts 254

    Hi,

    This link is the reference for "Web Part Templates for Microsoft Visual Studio .NET" and said that the templates are for VB.NET and C#. http://msdn2.microsoft.com/en-us/library/ms916853.aspx

    Could you check your vb.net projects for and search for web part templates???

    Please mark the most helpful reply/replies as "Answer".

    My Blog
  • Re: SharePoint Server Portal 2007 and VB.NET

    02-07-2007, 9:13 AM
    • Member
      point Member
    • the nomade
    • Member since 11-05-2002, 1:25 AM
    • Posts 2

    I installed the templates, but I still don't see d the WebPart Templates when I create a new project using VB. When I choose c#, then I see the webpart templates.

    Strange isn't it?

  • Re: SharePoint Server Portal 2007 and VB.NET

    02-07-2007, 9:29 AM
    • Participant
      1,012 point Participant
    • jaloplo
    • Member since 06-23-2005, 10:58 AM
    • Alcala de Henares, Spain
    • Posts 254
    Yes, it's very strange. Is It possible that you had installed a previous version or a beta version of the templates??? Try to uninstall the template and installed the version of the link in the post above.
    Please mark the most helpful reply/replies as "Answer".

    My Blog
  • Re: SharePoint Server Portal 2007 and VB.NET

    06-29-2007, 8:26 AM
    • Member
      7 point Member
    • Bachusj
    • Member since 07-22-2005, 6:56 PM
    • Posts 8

    The webpart is just a class and webparts are identified in asp.net 2.0 as System.Web.UI.WebControls.WebParts

    Sample

    Public Class GenericList

    Inherits WebPart

     "Properties"

    <WebBrowsable(), WebPartPages.WebPartStorage(WebPartPages.Storage.Shared)> _

    Public Property ListName() As String

    Get

    Return _ListName

    End Get

    Set(ByVal value As String)

    _ListName = value

    End Set

    End Property

    <Personalizable()> _

    Public Overrides Property Title() As String

    Get

    Return MyBase.Title

    End Get

    Set(ByVal value As String)

    MyBase.Title = value

    End Set

    End Property

     

    Override properties for CreateChild Controls and Render to display the webpart,

     

    Filed under:
  • Re: SharePoint Server Portal 2007 and VB.NET

    01-09-2008, 10:17 PM
    • Member
      50 point Member
    • aditya_raj
    • Member since 11-04-2007, 8:33 PM
    • Posts 66

    Hi,

     In the above replies the link for the webtemplate is for vs 2003.I want to install for vs2005.

    I am very new to sharepoint.I started learning just.Can you please send me some links of tutorials how i can integrate sharepoint with .net(vb).

     

  • Re: SharePoint Server Portal 2007 and VB.NET

    01-09-2008, 10:18 PM
    • Member
      50 point Member
    • aditya_raj
    • Member since 11-04-2007, 8:33 PM
    • Posts 66

    Hi

    This is the link for vs2003 .Can u please send me the link for VS2005

Page 1 of 1 (7 items)