A little bit of everything...

Office development, VSTO, Sharepoint

Browse by Tags

Tagged Content List
  • Blog Post: Using params keyword

    Let’s say you have a class and you want to store a collection of strings in that class. How would your method look like which would let you add a string to the class? 1: public class SampleClass 2: { 3: private List< string > myList = null ; 4:   5: public SampleClass...
  • Blog Post: Creating folders and adding files to SharePoint Document Library

    It is pretty easy to do that. Here is a piece of code which creates a folder in document library and adds a file to the created folder: SPSite site = new Microsoft.SharePoint.SPSite( "http://localhost" ); SPWeb spWeb = site.RootWeb; SPList docLib = spWeb.Lists[ "My Document Library"...
  • Blog Post: Where did changes I made to the document/workbook go?

    Imagine this scenario: You create a new VSTO solution (Word document or Excel workbook) and you run the solution. Respective application will open and you make some changes to the document/workbook - maybe you add a few pictures, change text formatting, etc. Once you're done you save the document...
  • Blog Post: Hello World

    I was thinking on doing this during my first or second week at Microsoft but I just didn't manage it. As many new employees said before: "It's like drinking from the firehose". Believe me, it is. Since this is my first post to my new blog on MSDN let me introduce myself. My name is Peter Jausovec...
Page 1 of 1 (4 items)