Browse by Tags

Using params keyword
02 April 09 11:44 AM
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: Read More...
Postedby pjausovec | 0 Comments    
Filed under:
Creating folders and adding files to SharePoint Document Library
23 January 08 05:24 PM
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 Read More...
Postedby pjausovec | 0 Comments    
Filed under: , ,
Where did changes I made to the document/workbook go?
28 December 07 07:35 PM
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, Read More...
Postedby pjausovec | 1 Comments    
Filed under: ,
Hello World
30 November 07 04:33 AM
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 Read More...
Postedby pjausovec | 4 Comments    
Filed under: ,

This Blog

Syndication

Page view tracker