C# :: Sharepoint Development In What Language?
Jun 9, 2010I know this might sound a little silly. but I'm confused as to what language does sharepoint code behind uses? do they use vb or c#? or is it possible to use eithe
View 2 RepliesI know this might sound a little silly. but I'm confused as to what language does sharepoint code behind uses? do they use vb or c#? or is it possible to use eithe
View 2 RepliesI know this might sound a little silly. but I'm confused as to what language does sharepoint code behind uses? do they use vb or c#? or is it possible to use either?
View 5 RepliesWhich language, VB.Net or C# is the best language to choose for development right now? Needing users to have the .Net framework is something that I see as a drawback to Vb.NET, but what are the pro's and con's of each language? What can be achieved with one but not the other?
View 1 RepliesThe dilemma I am having is what programming language to focus on for development. Currently the options are Java, C++, C# and VB.Net. I plan on filling in some gaps of my undergrad by taking some high level math courses, data structures, algorithms and will probably take all 2 or 3 levels of one programming language.
View 2 RepliesIn my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose another language. Also is it possible to get those resx files such as MyForm.fr-FR.resx compiled so it isn't an external file outside my app? Or to get those files in an Language folder at the same location of my app, so i don't have all those fr-FR & nl-Nl folders in the same location as my program?
View 4 RepliesWhat reasons are there to migrate from vb.net specific language to .net framework language?
Examples:
VB.net
ubound
msgBox
.Net Framework
array.getUpperBound(0)
messageBox
I have multilingual application that was done in VB2005.We recently had a request to translate the application to Arabic (Egypt), so I have been happily running through all of the forms and changing the layout for Right to Left format.I have 2 forms that are problematic though.On one form, whenever I select Arabic (Egypt), it will automatically switch the selection to Arabic (Saudi Arabia) and try to add an ar-SA resx file.On the other problematic form, if I choose Arabic (Egypt), the IDE will automatically select Chinese (People's Republic of China), then copy the contents of my ar-EG resx file into the zh-CN file, overwriting all of our Chinese translations and layout changes with the Arabic ones.
View 1 RepliesI have a VS.net project where I need to add a reference to Microsoft.sharepoint.dll where can I find the dll. I am running my web application on XP Professional box and I cannot install WSS 2.0 on my machine.
I need to programmatically access a sharepoint site which is on WSS 2.0 from aSP.net application.
I am trying to manipulate SPListItem permissions on folders in a document library but I can't seem to add any new permissions, though removing security inheritance works beautifully.I've done my best to create a slimmed down version of the code for testing purposes. The function GetListItem returns the SPListItem we are working with based on the URL. The item.BreakRoleInheritance(False) works great and I've verified properly breaks inheritance and clears out any permissions, I've also tried it with the True flag and verified that all original permissions are copied from the parent.
The code below throws no exceptions and as far as I can tell appears to work fine, until I check the actual permissions on the folder in my document library and see that "Viewers" is not listed.
[Code]...
I've developed a Word template in VSTO. When published it consits of several files including a Setup.exe, several msi files etc.Due to the fact that my company's security policy won't allow me to store dlls and exes on the server I need an alternative way to provide all the necessary stuff to the end user. I thoght it would be enough if I:
1) execute the setup.exe file on each client machine (it says everything got properly installed)
2) upload the xxx.dotm file to sharepoint and register it
3) edit policy settings
but it doesn't. When a user creates a new Document inside sharepoint using "New"->"xxx" the requested document loads without any error message and show the document but Word won't load any extensions / ribbons etc.
I'm trying to call the AddAttachment of the Lists.asmx SharePoint web service the below code works fine if I'm calling the web service over HTTP.
[Code]...
I will get the same 401 error (expected) so it appears the credentials are being accepted correctly over HTTP but not HTTPS. Can one help explain this to me and have any thoughts on how to fix the issue?
How to get file from SharePoint portal using VBA
View 2 RepliesOKay, I'm from a PHP background, but I've just been tasked with developing some custom Web Parts in SharePoint. I've figured out how to create and deploy a basic "Hello world" web part in VB. Okay so far.
how do I lay out things in a VB web part?
For an example, here's a label and a textbox:
protected overrides sub createchildcontrols()
mybase.createchildcontrols
dim mylabel as new label
[Code].....
How would I, for example, get mylabel and my textbox to appear on different lines, rather than running one after the other as they do now? In PHP I'd just wrap them in some top break them onto differnt lines, but how do I do it here?
I need to get hold of the Sharepoint DLL's. I understand that these are available from the Sharepoint server however the company I work for is quite large and the server is not anywhere I can get close to to copy the DLL's. Is there somewhere I can download these so I can start to develop my VB.NET application locally!
View 2 RepliesInheriting from the System.Web.UI.WebControls.WebParts.EditorPart class I have been shown that it is possible to expose a public property in your VisualWebPart that when updated through the EditorPart will be automagically persisted in sharepoint.
The problem I have run into is saving strings and integers works great but when I attempt to persist the value of a collection such as List<String> the object is not saved.
The code looks like this.
Public Class MyCustomEditorPart
Inherits EditorPart
Public Overrides Function ApplyChanges() As Boolean
[Code].....
I have an application in vb .net that I would like to have access to objects in a sharepoint site. Some of the things I would like to do from vb is create folders in my sharepoint site, have access to files that are on my sharepoint site. We have sharepoint servers at corporate so that is where my site resides.
View 4 RepliesI am trying to add items in a SharePoint list and I would like to use vb. I have tried using this this from here: [URL] but i get this error: Type SPWeb is not defined.
[Code]...
In the top right corner of a SharePoint site the user can select "My Settings" to update their details etc.
I am currently writing an automated app that will update user profiles from an Export we are getting on a nightly basis.
My question is...can i add extra fields to the information that is stored and editable against each user?
For example if I might want to add an "Office Location" field?
I am using WSS 3.0.
How would I go about uploading an entire directory and all sub-directories and files to a SharePoint 2010 Server?
I don't think this function is specifically built into SharePoint (just uploading multiple documents in one folder). But the way I understand it, I can write something in VB or C# to accomplish this.
I have a project in VB .net 2008 and would like to communicate with a Sharepoint site on our companies SP server. Is it possible to interact with the SP site such as:
Create sub-folder
Upload and download files
Change authority levels on folders
Is it possible to connect to the SharePoint site /data list and query data from?
I want to create a data source from share point on my winform application.
i need to browser the folder in Folderbrowser dialog how to done this?
View 3 RepliesI am initializing a GridView, text box and a button via code to a Webpart in CreateChildControls()The above controls are declared as class variables but initialized only later.Next, I've given the handler for button click. The handler function is supposed to work as a search - perform some operations on the content entered in the textbox, load the results in the Gridview, display the Gridview.When I type something in the text box and hit the button, the same controls load again and the content entered in the text box is lost. I've tried ViewState() and ViewState() but to no avail. The grid doesn't show because my logic skips attempting to bind it since a proper search string was not available.My questions:
1) Where/how can I get the values postback from the textbox?
2) Will it make sense to populate the GridView in PreRender() or will Event Handling happen after PreRender()? [code]
I'm attempting to add a calendar to one of our VB.NET Web Forms-based websites which will be used for scheduling purposes. We want to have this calendar sync with our corresponding Sharepoint calendar.
My problem is this: I know that I can integrate a Web Part into a Web Forms page; can said Web Part use a calendar from our Sharepoint site as its data source?
I'd like to write an app that would allow users to modify existing records in a WSS sharepoint list and/or create new records.I feel confident that its possible, but I just don't know exactly how. Sharepoint access, for me, is accessed with domain credentials, so I"d need some method for getting those from the user, in the winform, and passing those along to the WSS server.
View 1 RepliesI do not know anything about SharePoint and we will be moving to SharePoint systems in a few months at work.
My manager told me I will be one of the developers developing systems based on SharePoint.
Is there any good video tutorials on SharePoint Development?
I am trying to create a new item in a sharepoint list. Not getting any error messages but the item does not appear in the list.
Here is my code:
'Declare and initialize Lists Web service.
Dim listService As New Lists()
'Authenticate
[Code].....
Is it possible to retrieve the column index by name for the sharepoint SPListItem? I haven't been able to find a method for doing this.
So for example.
SPListItem data;
int32 value = data.getIndexByName("Title");
I will be developing a program using visual studio 2008 with ms access 2007 as my database. What I only use is this type of connection string: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:mydatabase.mdb;Jet OLEDB:System Database=system.mdw;" but i was asked if it is possible to put the database in sharepoint and I haven't even tried it before. The case is like this, the program that i will do would be installed on some computer units of different branches of the company then the database should be accessible through sharepoint so that every users can access the most updated database.
[Code]...
I have built a method to pull some UserProfile information out of SharePoint. It works great in C#, but I can't figure out how to convert one part of it to VB.NET. I'm not that great at VB but usually the basic code converters online get me past any problem I have.
The problem is concerning the SPSecurity.RunWithEleveatedPrivilages section below. Does any one know how to implement the delegate code in VB?
[Code]...