Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6055651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:17:18+00:00 2026-05-23T08:17:18+00:00

We used SmartPart web part in MOSS 2007 for loading user controls (developed in

  • 0

We used SmartPart web part in MOSS 2007 for loading user controls (developed in VB.net) on to the SharePoint pages.

After we migrate to SP 2010, we want to develop using visual web part and C# instead of smartpart and Vb.net

Couple of questions:
1) In SP 2010, I guess we can develop web parts in both C# and VB.net (not in the same web part) and deploy it to a SharePoint web application (which is an asp.net web app after all)? Correct me if I am wrong.

2) How can I migrate User controls developed in VB.net to a SP 2010 environment where visual web parts are developed using C#? We do not want to do code conversion.

3) Any other challenges that we need to be aware of?

References:
Mixing C# & VB In The Same Project

Appreciate your thoughts.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:17:18+00:00Added an answer on May 23, 2026 at 8:17 am

    To answer your questions:

    1. Yes, SharePoint allows using different languages to write code, as long as it is a supported CLR language (C#, VB.NET, F#, etc.)

    2. A Visual WebPart is simply a user control (.ascx file) wrapped in a web part (similar to the smartpart). Unless your user controls are using anything specific to SP 2007 that has changed in 2010, you should be able to just create a new visual webpart in VS 2010, and replace the generated .ascx file (and .ascx.cs) file with your existing user control.

    3. Nothing major springs to mind.

    I think your biggest challenge will be re-writing the code from VB to C#.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running a MOSS2007 Sharepoint website with .NET 3.5 Ajax. I'm using the SmartPart
Having used DDD for a web site and finding it to be a neat
used to check user input like username not a login account.
I used the tabhost tutorial to get started with the Tabhost control. After some
I used the web platform installer to install the Orchard CMS but when the
used image as like map , user can zoom in/out this image.geting x and
I used the following code to insert data from my VB.NET into the MySQL
I'm developing Smartcard Driver using KMDF and SCardlib , I used the WDK Smarcard
Used to be quite happy with the Ctrl + Shift + F10 shortcut in
We used the undocumented xp_fileexist stored procedure for years in SQL Server 2000 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.