Tag Archives: Code

LightSwitch Upper Case in TextBoxes.

How to uppercase text entered into a textbox by a user? Answer: Handle the KeyUp event. Example: Imagine you have a NewClient screen and want to upper the text entered in a property called “Name”. In NewClient.cs Source: Pro Visual … Continue reading

Posted in LightSwitch | Tagged , , , , , , , , , , , | Leave a comment

Dependency Injection in MVC 4 using Ninject, Unity and StructureMap (IoCs)

Dependency injection is a software design pattern that allows removing hard-coded dependencies and making it possible to change them. This software design pattern injects the depended-on element (object or value etc) to the destination automatically by knowing the requirement of … Continue reading

Posted in CSharp, MVC, Visual Studio 2012 | Tagged , , , , , , , , , , | 3 Comments

Mail Merge in PowerPoint using VBA, Excel Version.

A simple Mail Merge in PowerPoint As you can see in the above image we have merged employee data (id, first name, last name and a picture) stored in Excel into a slide in PowerPoint. In the previous post: https://pepitosolis.wordpress.com/2013/04/19/simple-mail-merge-in-powerpoint-using-vba/ we … Continue reading

Posted in Excel, PowerPoint | Tagged , , , , , , , , , , , , , , , , , , , | 13 Comments

Simple Mail Merge in PowerPoint using VBA

Let’s create a simple mail merge in PowerPoint using Visual Basic for Applications (VBA). Things you will need: 1. A table called “Employee” in a SQL Server Express 2012 database called “DB”. For Excel instead use this link: https://pepitosolis.wordpress.com/2013/05/10/mail-merge-in-powerpoint-using-vba-excel-version/ The … Continue reading

Posted in PowerPoint | Tagged , , , , , , , , , , , , | Leave a comment