Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Web Part

Status
Not open for further replies.

mattmoney

Programmer
May 14, 2007
10
GB
Helllo



I'm trying to create a very simple web part by following a Microsoft walkthrough. The web part is written in C# and just writes Hello World on the screen. You compile the dll, copy it to the bin folder of the Sharepoint web application and then add a safe actions line to the web config file of the web application. Then you go to the web parts gallery on the site and add it under New. And it works a treat. However I don't know C# so I tried it in VB. I did everything exactly the same but when you go to New in the web part gallery, it's not there. I've tried adding it to the GAC but still had no joy. Can anyone tell me why the vb web part won't work?



Thanks



matt
 
hi,

if you have multiple sites then just check you have added it to the correct web.config file !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top