What Language Does Sharepoint Code Behind Uses
Mar 1, 2011I 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 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 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 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]...
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]...
I have signed up for office 365.which provides sharepoint site,
I am able to edit the html content of the site.(using Microsoft SharePoint Designer 2010 and Web interface)
Question 1. How to edit the C#/VB code of the site web pages?
Question 2. I have created some asp.net pages and want to upload them to my site, How to use FTP for sharepoint site?
Question 3. How to access data from database for a sharepoint site?
I found a very useful source code on how to make a fud cryptor, but the author didn't mention which coding language / software he used, please follow the link below, to see the full source code.
View 5 RepliesWhile adding two language code files i.e. C# and VB.NET to App_Code, got an error The files ... file names ... use a different language, which is not allowed since they need to be compiled together.Is there a way to add two different language files?
View 1 RepliesI want to convert new window CODE CAPS in the language of vb6
PHP
Private Sub cmd1_Click()
Dim file() As Byte[code].....
How can make it to the language of the dot-Net?
I am wondering how to (in VB code), do an ALT-SHIFT (change the input language) and the particulars on how it is done.
View 3 RepliesLike to know will VB going to be provided support for Globalised Applications development for Windows Phone 7.1 or later?
View 6 RepliesThere are so many controls, properties, etc in VB 2008 .NET it's mind boggling. I'm amazed at how much this product can do.Does anyone know of a VB 2008 .NET book that describes in simple language and shows sample code for all of those controls, properties, etc?
View 5 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 RepliesIn 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?