How to create Event Receivers using Visual Studio 2013

No parsing error came while creation of Event Receiver in Visual Studio 2013

Hi Shaheena
Please search MSDN Articles, TechNet Articles and The Code Project Articles before asking questions.
Answers to the basic as well as professional questions are available there.
Go through the links below for the issue.
Create an Event Receiver
Indul Hassan
Microsoft Community Contributor
http://www.indulhassan.com
You Snooze.. You Lose !!

Similar Messages

  • How to create a three state approval workflow in SharePoint 2013 using visual studio 2013

    Hi Everyone,
    i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
    Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
    i want develop this workflow using visual studio 2013 only, not using designer.. 
    Thanks in Advance.....
    Mallesh

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Create SharePoint 2013 hosted app using visual studio 2013

    i tried to create sharepoint hosted app, i just created a new project and try to deploy it but it failed every time with different error sometimes system account can't run the project, created another administrator and try to re deploy it so i had a new
    error that the visual studio project need a administration permissions and i already grant the administration permissions for the new user, any one can provide a complete tutorials on how we can create new hosted sharepoint app using visual studio 2013
    Mohamed Abdeen

    Hi,
    According to your post, my understanding is that you want to create SharePoint 2013 hosted app using visual studio 2013.
    Here are some great blogs for your reference:
    How to: Create a basic SharePoint-hosted app
    My First Sharepoint-Hosted App in 2013 - CodeProject
    Setting up your App domain for SharePoint 2013
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Create SharePoint 2013 workflow using visual studio 2013

    Dear Team,
    How  to create a workflow for template approval process using visual studio 2013.To achieve this do i need to install share point on my machine.

    Hi,
    According to your post, my understanding is that you want to create a SharePoint 2013 workflow using Visual Studio 2013.
    We need setting up and configuring Microsoft SharePoint Server 2013 and the Workflow Manager Client 1.0 server, see Start:
    Set up and configure SharePoint 2013 Workflow Manager.
    The following materials for your reference:
    Develop SharePoint 2013 workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/office/jj163199(v=office.15).aspx
    How to: Create SharePoint 2013 Workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx
    Developing SharePoint 2013 workflows with Visual Studio demo
    http://www.bing.com/videos/watch/video/developing-sharepoint-2013-workflows-with-visual-studio-demo/10t0er5gh
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Create office app for word using visual studio 2013

    i tried to create an app for office using visual studio 2013 i just created one in task pane with all default settings and then deployed succesffully and i can't find the app in task pane in word office any ideas
    Mohamed Abdeen

    Hi Mohamed Abdeen,
    Please try to enable a build-in app for Office, such as "Bing dictionary" and check if the task pane pop-up.
    If the "Bing dictionary" works well, I suppose that this issue might be caused by itself. I recommend you post the question to Word for DEV forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes%2Calllanguages&sort=lastpostdesc
    If all the apps can't be used, they might be blocked. Please go to File/option/trust center/trusted app catalogs/enable it.
    Reference:
    https://technet.microsoft.com/en-us/library/jj219429.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/office/jj220060.aspx?f=255&MSPPError=-2147217396
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Finding Memory leaks in C using Visual Studio 2013

    I am using Visual Studio 2013, and taking a course in C programming and we started
    talking about memory bugs detaction, in particular memory leaks, and how to detect them using Valgrind on Linux.
    I want to know if there is a way to detect such memory leaks using VS 2013. I tried searching online but it just leads to lots of articles and blogs and msdn posts and blogs with lots of words like dump files, and analyzing them, etc which is weird
    because:
    1) It sounds so complex, convoluted and unintuitive it is actually hard to comprehend it.
    2) The main reason this is weird is due to the fact that VS is the most advanced IDE around and Microsoft spends so much money on in, yet from what I have read it seems that there is no simple way to use VS to detect memory leaks
    - certainly no way that's as simple as Valgrind where I only have to compile the program and run the command valgrind -leaks-check=yes ProgramName
    and it simply prints to me all location it thinks there is a memory leak and describes the error (like not freeing memory after allocating it with malloc hence having "dead" memory after the program finishes, or accessing memory that's out of
    the array bounds)                                                                                                                                                               
    So my question is how to use VS 2013 in order to achieve the same results and to find out First in high level if there are memory leaks in the program, and Second - to detect in a simple manner where those leaks are- preferably without involving dump files
    (not that I know how to use them anyway in VS).

    Hi MicrosoftLaw,
    Thanks for your post.
    Based on your issue, if you want to check if there are memory leaks in the C program from this VS2013. I suggest you could try to find Memory Leaks Using the CRT Library, for more information:
    https://msdn.microsoft.com/en-us/library/x98tx3cf.aspx?f=255&MSPPError=-2147217396
    In addition, I find a similar thread about this issue, please you refer the Dusty's suggestion to check this issue.
    http://stackoverflow.com/questions/45627/how-do-you-detect-avoid-memory-leaks-in-your-unmanaged-code
    I did some research about this issue, I found that the Visual Leak Detector extension tool is a free, robust, open-source memory leak detection system for Visual C++. So if possible, I suggest you could try to use the Visual Leak Detector extension
    tool to find the memory leak for Visual C/ C++ program.
    https://visualstudiogallery.msdn.microsoft.com/7c40a5d8-dd35-4019-a2af-cb1403f5939c
    However, if you have any issue about how to use this Visual Leak Detector extension tool to find the memory leak for C program. I suggest you could directly to write a review to this REVIEW tab in Visual Leak Detector site.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SharePoint 2013 State Machine Workflow Developped using Visual Studio 2013 Terminated

    Hi all,
    I developped a state machine workflow using Visual Studio 2013, and deplyed to SharePoint 2013, the workflow work fine for first task, and some times for second task.
    after that the workflow become terminated with below error:
    - System.Activities.Statements.WorkflowTerminatedException: The workflow instance exceeded the throttle of 10000 activities executed in a row and could not be unloaded because it was not persistable.
    I spent many days to solve this issue but witout any result...
    Please advice...

    Hi,
    According to your description, there seems an endless loop in your workflow which makes the workflow exceed the throttle.
    A suggestion is that you can create a new clean sample state machine workflow firstly, when it works without error, then adding other activities with custom logic
    gradually.
    By doing this, it would be easier to find out what might cause the error in this workflow.
    A demo about Create State machine Workflow In SharePoint 2013 for your reference:
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How I can use Visual Studio 2013 to create lists or libraries via remote?

    Hello guys,
    I use visual studio on my machine and try to create a list, but the sharepoint server is on another machine. It is possible to run a program on my computer and then create a list on the sharepoint server. If yes, how can I achieve this?
    Best regards
    Matthias

    You can create and manage lists and libraries using SharePoint Designer. To use Visual Studio you would have to create a SharePoint project, create a feature, define the list, etc. then create a Solution package and deploy that to the server. If you just
    want to manually add a list then use Designer.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Sharepoint 2010 Remote Development using Visual Studio 2013 Connection Errors

    I have a customer who is using a custom skinned site developed in Sharepoint 2010.
    I am trying to debug a webpart that is not loading on a page.
    My Environment:
    Local Laptop running Win 7 64 Enterprise, Visual Studio 2013, and Sharepoint Designer 2010.
    I connect to the customers network via VPN and use RDP to access the server. I have Admin rights to the server.
    Everything that I have read indicates that Web Part dev has to be done in VS. When I try to connect using server explorer, VS kicks back a 'Server Can not be found' error.
    I have tried using the computer name, the app url listed in SP Central Admin, the IP address of the box, and the actual URL of the site. However, VS can not connect to the server.
    I have done some homework on connecting VS to a remote machine:
    Adding New Servers in Server Explorer
    http://msdn.microsoft.com/en-us/library/edfcxas2%28v=vs.71%29.ASPX
    Add Server Dialog Box
    http://msdn.microsoft.com/en-us/library/107b72aa%28v=vs.71%29.ASPX
    SharePoint -how to connect remotely to production server
    http://stackoverflow.com/questions/3188364/sharepoint-how-to-connect-remotely-to-production-server
    SharePoint 2010 Development with Visual Studio
    http://stackoverflow.com/questions/10529917/sharepoint-2010-development-with-visual-studio
    Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
    http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
    Using SharePoint Designer 2010 to Work with Web Parts
    http://msdn.microsoft.com/en-us/library/ff630941%28v=office.14%29.aspx#odc_sp14_qn_UsingSharePointDesigner2010WorkwithWebParts_CreateXSLTListView
    The last connection article is confusing because one of the SO answers indicates that you do not need to have SP2010 installed.
    I have been doing lots of reading on SP structure, and it seems to jump all over the place. (Or at least my research does). I have been reading this Ebook:
    SharePoint 2010 Development with Visual Studio 2010
    http://books.google.com/books/about/SharePoint_2010_Development_with_Visual.html?id=TVKICs4vHTcC
    My questions are:
    Why cant I connect to the Server if I connected through VPN which would inherently make the server a local network computer?
    Do I need to have VS installed on the actual server? I read that I can install Sharepoint Foundation locally and this will give me access to the server in VS.
    Do I need to have the full version of VS installed in order to use Remote Tools?
    For the Web Parts:
    Why cant I see the web parts in Sharepoint Designer? I take it they are exclusively designed in VS, which brings me back to the questions above.
    In Sharepoint Designer, I can see a custom view that was created from a custom list. I want to add that list to the page where the web part isnt working. When I open up the Edit Interface, and try to find that list, it does not display in the 'Lists and Libraries'
    menu

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Create Ajax Page on Visual studio 2013

    Hi how are you, i try use ajax in visual studio 2013 i install ajax toolkit and i have tools but can not create aspx page for ajax please help me 
    thanks 

    Hi,
    If you want to use AJAX Toolkit for SharePoint 2010 and 2013, here is a solution for your reference:
    http://sharepointajax.codeplex.com/releases/view/93640
    If the question not relate SharePoint, I suggest you post it to a suitable Forum, you will get more help and confirmed answers from there.
    http://forums.asp.net/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to format code properly in Visual Studio 2013 express

    <li><img id="img5" class="sm-im" src="img/elephant.jpg" title="click to enlarge" /></li>
    <li><img id="img6" class="sm-im" src="img/crow.jpg" title="click to enlarge" /></li>
    <li><img id="img7" class="sm-im" src="img/catdog.jpg" title="click to enlarge" /></li>
    <li><img id="img8" class="sm-im" src="img/kangroo.jpg" title="click to enlarge" /></li>
    <li><img id="img9" class="sm-im" src="img/eagle.jpg" title="click to enlarge" /></li>
    http://i.imgur.com/wqVb0LI.png?1?2818
    How to format code properly in visual studio, like we can see that the initial <li> moreover img idand class are
    properly aligned and can be easily changed using click+alt, but the second highlighted portion (in brown ) is not aligned i.e. the closing </li> tags
    should be in one straight line. Moreover 'title' should be in one straight line. How to make that possible.

    Hi Nobele,
    Thank you for posting in MSDN forum.
    Since this forum is discuss the VS IDE issue, based on your issue, I’m afraid that it is not the correct forum for this issue.
    To help you find the correct forum to support this issue, could you please tell me which kind of app you create in VS IDE? Is it a web application in the VS?
    (1)If yes, I suggest you can ask this issue directly to the ASP.NET forum:http://forums.asp.net/ , maybe you will get better support.
    (2)If no, please tell me more detail message about the issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't Create New Excel Project Visual Studio 2013 Office Tools The Project Cannot Be Created

    I am having this issue on two computers. If I try to create an Excel 2013 Workbook C# in new projects, and choose create a new workbook, it starts to open Excel, and then I get this error in VS
    I have tried:
    Uninstall & Reinstall of VSTO from the Visual Studio Installer
    Uninstall & Reinstall of Visual Studio 2013 Ultimate, (manually removing anything with visual studio that was left over)
    Manually turning on the add-on Visual Studio Tools for Office Design-Time Adapter for Excel
    Installing VSTO by hand
    Enabling Macros
    Running VS as administrator
    Uninstalling & Reinstalling Office 2013 Pro Plus OLP
    I have made this change to excel:
    Like I said, this problem occurs on TWO pc's.  I have tried 2013 Visual Studio R1 and R2.  Does anyone have any ideas?
    Edit 3-1-2015
    There is still no answer to this, I have tried target frameworks:
    4.0
    4.5
    4.51
    And Running as Administrator.  Recently I upgraded to the CTP of Visual Studio 2015 Ultimate and the same problem exists.

    Thanks for the reply.
    The issue is not reproducible for me and I can confirm this not a known issue. We might need to do deeper troubleshooting at the repro machines.
    Because of its complexity your question falls into the paid support category which requires a more in-depth level of support.  If the support engineer determines that the issue is the result
    of a bug the service request will be a no-charge case and you won't be charged. Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Sangeeth,MSFT

  • Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013

    I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps:
    1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) then click OK
    2. I type in URL of the site (of course https://) and Select SharePoint-Hostedoption, then click Finish 
    3. I get the Office 365 authentication dialog box.
    I type in the username and password and it opens the SharePoint in the same rectangular dialog box and it stays there and nothing happens:
     link :  i.stack.imgur.com/USYcG.png
    link :   i.stack.imgur.com/rlUpJ.png
    If I click the close icon on the Connect to SharePoint dialog box that still shows my SharePoint online site, I get the following error :
    link:  i.stack.imgur.com/p1ztW.png
    If I click on OK I get the Connect to SharePoint dialog box again
    Link :  i.stack.imgur.com/ZgyW9.png

    Hello,
    I'd ask in the
    Office 365 Community.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • Display issue typing and using visual studio 2013

    Hi
    So i installed visual studio 2013 with update 4 last night and now i am having an issue with it. When i start up my project it doesn't show anything until i minimize and un-minimize the screen. Also when I to try type within the code there is no pointer
    shown and nothing is shown the screen i am typing or changing any text. Also with clicking on the explorer it doesn't highlight what i select and also when i right click within the explorer the properties disappear when i move over them.
    I have pictures that i have uploaded to look at;
    http://imgur.com/a/7WZWW
    Thanks

    Hello popp09,
    The issue sounds more like a problem related to your Graphic driver. Could you please make sure your "graphic driver" is update to date?You should also make sure you've applied all Windows Updates in your OS.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create multiple TextBox using Visual C# in runtime?

    Hello,
    I am writing the following code to create TextBox programmatically in run time. When I am clicking in the target Button it will create TextBox. But the problem is, only one TextBox is created. Can anyone tell me how can I write code that will create multiple
    TextBox when I am continuously clicking a Button?
    Here is my current code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    namespace testing
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    int x, y;
    TextBox txt = new TextBox();
    private void button_add_Click(object sender, EventArgs e)
    cnt++; y = 139; x = 139;
    txt.Parent = this;
    txt.Location = new System.Drawing.Point(x, y);
    txt.Size = new System.Drawing.Size(100, 20);
    txt.Name = "text" + cnt; ;
    txt.Text = "Text" + cnt; ;
    ///txt.Visible = true;
    y += 30; x += 30;
    ///MessageBox.Show(txt.Name.ToString());
    int cnt;
    private void Form1_Load(object sender, EventArgs e)
    cnt = 0; x = 139; y = 139;
    - Thanks

    Hello,
    In your sample code only one instance of the text box is created. You may put the 
    TextBox txt = new TextBox();
    inside the button click handler function for creating new instance for each button click.
    Also change the change  txt.Location  for each text box. In your code it is specified as 139, 139 always.
    Regards,
    Mathews

Maybe you are looking for