I have just published a new project that I have been working on over at CodePlex. This project was to create a wrapper for the MCliPsSnapin that is provided by Citrix for the automation and scripting of Provisioning Services. I got fed up of navigating the whole syntax of the snap in, which wasn’t true
Continue reading Citrix Provisioning Services PowerShell Wrapper
Category: Programming
PowerShell: Using AlphaFS to list files and folder longer than 260 characters and checking access
PowerShell is great. However, it has a couple of limitations – either by design or inheritance that are annoying to say the least. One commonly documented failing, which is inherited from the .NET framework is its inability to access files that have a total path length over 260 characters. Another limitation is the linear nature
Continue reading PowerShell: Using AlphaFS to list files and folder longer than 260 characters and checking access
Using Enum with ComboBox and setting Combobox value – VB.net
This is my take on setting a combobox to use an enum which has both a description and key value set. It also shows how this works when trying to assign a value to the combobox. Enum MyLogEnum Error = 1 Warning = 2 Information = 3 End Enum ComboBox_LogLevel.DataSource = System.Enum.GetValues(GetType(MyLogEnum)) And to assign
Continue reading Using Enum with ComboBox and setting Combobox value – VB.net
XSL:Sort by Date Time
If you are stuck trying to sort XML date by date/time then this snippet of code may help you. Been stuck in head first into some XSL scripting, so learning at quite a rate. <xsl:sort select=”ddwrt:FormatDateTime(@DateTimeField, number($lcid), ‘yyyyMMddHHmm’)” /> In the above line, @DateTimeField is the name of the field to sort, $lcid is your
Continue reading XSL:Sort by Date Time
T-SQL Case function
I have just discovered that my favourite function exists in SQL. Select Case is to me, the best thing ever. Elegant, simple and powerful. Makes short work of processing and sorting in most scripts and programs. And today – whilst writing some queries for reports, I have now found that it exists in SQL! My
Continue reading T-SQL Case function
POS for .NET & Star Micronics Printer
Slightly different topic today: Programming a POS application. I have been working on a lettings management program with built in till for use in our Sports Lettings. Couldn’t find anything out there that met all of our needs at a suitable price. So, I have took it upon myself to develop an application that does
Continue reading POS for .NET & Star Micronics Printer