Quantcast
Channel: Coding Everything
Browsing latest articles
Browse All 25 View Live

Image may be NSFW.
Clik here to view.

Making Sure Outlook Calendar Reminders Actually Pop-up in Windows 7

IntroductionIn Windows 7, MS Outlook seems to be horribly bad at popping up calendar reminders when outlook doesn’t have focus. This can cause a series of problems from minor annoyances to missed...

View Article


Image may be NSFW.
Clik here to view.

Automatically Increment Minimum Required Version in a ClickOnce Application

IntroductionClickOnce deployments make publishing .NET applications simple and easy. One nice feature is forcing the user to update to the latest available version. This can be very important on...

View Article


Image may be NSFW.
Clik here to view.

Extending XmlReader Class: IsEndElement()

IntroductionYou may find, as I did, the lack of symmetry in the XmlReader Class quite odd. If we look at the NodeType property, which exposes the XmlNodeType enumeration, we find an EndElement, but no...

View Article

Calculating Age From DOB

I couldn’t believe there was no native way in .NET to do something alarmingly simple like calculate someone’s age from their date of birth. Of all the amazing functions and properties on DateTime...

View Article

Image may be NSFW.
Clik here to view.

Moving ASP.NET Designer Generated Code to Separate Designer.vb File

IntroductionIf you’ve converted an an ASP.NET application from versions of Visual Studio 2003 and earlier to 2005 and beyond, you’ll notice the converted web pages behave slightly differently than...

View Article


Image may be NSFW.
Clik here to view.

Generating Windows Store Logos at Every Resolution

IntroductionThe first daunting challenge of getting an Windows 8 Application into the Windows Store can be resizing your app logo to each of several dozen different resolutions. If you start off like I...

View Article

Windows 8 App Development Presentation

Here’s a list of all the resources I’ve put together for my talk on Windows 8 Application Development that I gave at:The Vermont Code Camp on 9/21/13The Boston Code Camp 10/19/13The VT.NET User Group...

View Article

Image may be NSFW.
Clik here to view.

Windows Store MVVM Template

A bare bones starter template for Windows Store 8.1 Projects that Utilizes the Model View View Model Pattern You can download the template from the Visual Studio Extension GalleryYou can fork or...

View Article


Explanation of using FOR XML PATH('') to Concatenate Rows in SQL

I was recently shown a cool way to concatenate an unlimited number of rows into a single cell in SQL, but was left wondering how it worked under the hood. The trick involves using FOR XML PATH('') to...

View Article


List (Of LINQ Enumerable Methods)

strong em { background: yellow } Here’s a grouped listing of all the methods available on the IEnumerable Class. Methods which can be composed using VB Query Syntax are generally listed first and are...

View Article

SQL Like 'In' Function For .NET

SQL has a wonderful terse and natural syntax for checking if an item is inside of a collection by using the IN keyword. Which can be expressed like this:expressionIN (value_1, value_2, .... value_n)In...

View Article

Image may be NSFW.
Clik here to view.

Insert HTML, CSS, and JS into any Web Page with a Chrome Extension

OverviewChrome extensions have pretty good documentation and pretty good community support. Naturally, you might expect that between docs and forums that you can get a small project up and running...

View Article

Image may be NSFW.
Clik here to view.

Bootstrap Docs Sidebar Explained

Do you really want to make a side navbar look just like the one from the Bootstrap Documentation pages? Then this is the article for you.In addition to really liking the bootstrap library, I have to...

View Article


Image may be NSFW.
Clik here to view.

Bootstrap Navbar Active Class with MVC

The ASP.NET MVC project template comes with Bootstrap scaffolding by default. And Bootstrap comes with default styling for active navbar links. So you might find it a little odd that the ASP.NET...

View Article

Using Shared Properties in ASP.NET and WinForms

A good business library should be able to drive behavior on any number of devices, exposing a application programming interface that is agnostic of its implementation. However, we recently had a...

View Article


Remove Items in For Loop

As a general rule, you should not modify a collection that your are looping over, only the items inside of that collection. The problem with removing items inside of a for loop is that it changes the...

View Article

Image may be NSFW.
Clik here to view.

Stepping through a Code Demo

One challenge to delivering coding presentations is the trade-off between: Showing actual real code that developers can get their head around       VSThe time it costs to actually write it in front of...

View Article


How to Pivot a DataTable in .NET

So I would have thought this problem would have already been solved by the Internets at large. As it turns out, I couldn’t find a very simple method to solve this relatively simple task. So here’s my...

View Article

Pulling Your Website Up By Your Twitter Bootstraps

Hello Boston Code Camp!Here are some resources to supplement my talk on Bootstrap 3 talk titled: Pulling Your Website Up By Your Twitter BootstrapsHere are some powerpoint slides:Here is a working...

View Article

Image may be NSFW.
Clik here to view.

How To Deselect A Radio Button

Sometimes radio buttons can be quite frustrating as a user when you need to deselect having answered a question.Here’s a quick way to temporarily allow a page to deselect radio buttons by pressing Ctrl...

View Article

Adding a Desktop Mobile Toggle Button

The goal of a Bootstrap site is to deliver a mobile view that is so easily navigable that it never leaves the user yearning for a tiny shrunk down desktop experience on their phone. Still, despite a...

View Article


Using Plunker With LESS

According to this update, it’s now possible to use compiled languages like LESS with plunkerAccording to the Client Side Usage from the Less Documentation, you should do the following:<!DOCTYPE...

View Article


Image may be NSFW.
Clik here to view.

Excel: Repeat Top Row on Every Page

You guys might already know this, but I just learned something new about excel.On the “Page Layout” Ribbon, click the “Print Titles”. Click “Rows to repeat at top,” and click the icon that looks like a...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Linq To Datatables

LINQ to objects will work on any object that implements IEnumerable (the same interface that allows an object to be used in a For Each loop). Datasets are objects, but they don’t implement IEnumerable...

View Article

Image may be NSFW.
Clik here to view.

Using Signed Macros with MS Office

Signing excel apps via a digital certificate can help guarantee that no one has tampered with the code and that what you are executing is what was originally written by the original signer. Further, it...

View Article

Browsing latest articles
Browse All 25 View Live