Alkane Solutions
Alkane Solutions Fixed-Price Apps | Trusted IT Partner
Alkane Solutions | G-Cloud Supplier Alkane Solutions | Microsoft Partner

Main menu

Skip to primary content
Skip to secondary content
  • Application Packaging Services
    • Why Application Packaging?
    • MSIX Application Packaging Services
    • Application Packaging Service for the NHS
    • Application Packaging for MECM
    • Intune Application Packaging Services
    • Evergreen Application Packaging Services
  • About
    • Team
    • Case StudiesCase studies of the work we have done for our clients.
  • Contact Us
  • Log In
  • Register
  • Submit a Guest Post!
  • Recommended Reading
  • Fixed-Price Quote

Home - General Scripting and Coding - Page 16

General scripting and coding


Getting the Public Key Token of an Assembly using Powershell

Posted on May 20th, 2015

This post provides an example of getting the public key token of an assembly using PowerShell. When I need to add definitions to the web.config of my ASP.Net projects I often use this Powershell line to get the PublicKeyToken, Culture … Continue reading →

|

Integrating Lync Status into an ASP.Net Gridview

Posted on January 7th, 2015

This post describes integrating Lync status into an ASP.Net Gridview.  I had a bit of a nightmare trying to achieve this so that it worked on IE8 all the way up to IE11 .  First I had it working on … Continue reading →

Tagged asp.net, gridview, lync |

Wait for a Process to Complete

Posted on November 11th, 2014

Description: Useful when we want to wait for a process to complete until we continue execution of a script. Source: NA Script: This script waits until notepad.exe and iexplore.exe are no longer running: dim svc : set svc=getobject(“winmgmts:root\cimv2”) dim sQuery : … Continue reading →

Tagged process, winmgmts |

Create a custom debug log file in an ASP.Net Class

Posted on November 7th, 2014

This is a quick example of how to create a custom debug log file in an ASP.Net class which you can use in your website.  If the file doesn’t exist, it creates it.  It names the file today’s date.  And … Continue reading →

Tagged asp.net, log |

Getting and Setting Session State in HttpHandlers (ASHX files)

Posted on November 7th, 2014

If you just want to read your Session State from an ASHX or HttpHandler, you need to implement IReadOnlySessionState.  If you want to write to your Session State, you must implement IRequiresSessionState.  Note that you will also need use the System.Web.SessionState namespace.  This post … Continue reading →

Tagged ashx, httphandler, IReadOnlySessionState, IRequiresSessionState |

Generate a Windows Installer transform file (MST) using PowerShell

Posted on October 30th, 2014

I recently needed to generate a Windows Installer transform file (MST) using PowerShell.  I’ve ripped out some excerpts below to demonstrate inserting rows, querying tables, retrieving properties and generating a transform.  Using this example for reference, you should be able … Continue reading →

|

Strip out style attributes in HTML

Posted on July 16th, 2014

This post describes the process I use to strip out style attributes in HTML code using a regular expression. My website is presenting data from a field in SharePoint.  This field uses HTML and CSS style attributes to construct the … Continue reading →

Tagged regex |

Re-bind the GridView on the Parent Page after FancyBox close

Posted on May 21st, 2014

I have a GridView with hyperlinks in some of the columns, which open up a new page in a FancyBox.  FancyBox is a pretty cool lightbox alternative.  Anyway, in the FancyBox page content you can make changes which will affect values in … Continue reading →

Tagged Fancybox |

Detect if an ASP.Net form is Valid from Javascript

Posted on May 21st, 2014

We can detect if an ASP.Net form is valid from Javascript by using the following: if (typeof (Page_ClientValidate) == ‘function’) { Page_ClientValidate(); } if (Page_IsValid) { //form valid }  

Tagged Page_ClientValidate, Page_IsValid |

Detect for ASP.Net page postback from Javascript

Posted on May 21st, 2014

This post describes how detect for ASP.Net page postback from Javascript.  I needed to know if it was the first launch of the page or a postback from Javascript.  I did this by adding a hidden field to the page: … Continue reading →

Tagged isPostBack |

« Previous Page — « Previous Entries
Next Entries » — Next Page »

Recommended Reading

Over

10,000

Applications
Packaged

Over

18

Successful
Migrations

Over

50

Happy
Clients

Application Packaging Services in Manchester, UK.
12b Kennerleys Lane, Wilmslow, England, SK9 5EQ

Application Packaging Services in London, UK.
152-160 City Road, London, EC1V 2NX.

© Alkane Solutions Ltd 2025
Privacy Policy | Modern Slavery | LinkedIn | Blog Posts

APPLICATION PACKAGING QUOTE!

✔ Fixed Price.
✔ Experienced IT Professionals.
✔ Highly Competitive Prices.
✔ 12 Month Warranty.






    This will close in 0 seconds