Justin Cooney

Web Development Tips and Examples

  • This is just a short reminder on how to get to the flight mode menu in Android 5.0.2 . There are many guides on this subject, but for my own purposes and reference, here are my notes on how to do it.

    Note that the steps will likely be different for earlier/later versions of Android. I am using a Galaxy Tab S, so the steps may also vary depending on Android customizations your device manufacturer may have made. In general, though, the steps should remain reasonably similar to the ones I describe across devices and Android versions. (more…)

  • I’ve been playing around with the ClosedXML.Excel library for creating or reading MS Excel documents in your ASP.NET code. Bottom line is that this tool is going to save you a lot of time:
    1. In simplifying your task of putting the Workbook and Worksheets together
    2. and I can’t stress enough how much time this will save you from trying to re-jig your Web server to serve Excel documents using the Microsoft.Office.Interop.Excel library.

    (more…)

  • Here is a super simple VBScript that will remove any white spaces from filenames in a folder. There’s no need to specify the folder, just copy it to the folder you need and double click to run it. Of course you’ll have to copy the lines of code below into a notepad file and save it with a .vbs extension. (more…)