Jason N. Gaylord
Social Distancing since 3/14
Visit JasonGaylord.com

Hello, I'm  jasongaylord Jason

I live with my family in the rolling hills of Northeastern Pennsylvania. I'm a web developer by trade, but have broad experience in various business areas. Want to know more about me?

Learn More

Office 2007 becomes \"The 2007 Microsoft Office System\"

Can you believe it? Another name change at Microsoft. Office 2007, which will most likely be called Office 2007 among IT professionals no matter what, has been changed to “The 2007 Microsoft Office System.” The full reasoning, which actually makes sense (especially points number 2 and 3), can be found here.

Read More

Microsoft Codenames

I must have missed seeing this somewhere but Wikipedia has a complete listing of the Microsoft Codenames (to the best of my knowledge anyway) with their meaning. You can read about them at http://en.wikipedia.org/wiki/Microsoft_codenames.

Read More

Microsoft Adds RSS Directory

Microsoft has recently added a new section on their website that contains all of their RSS feeds. You can check it out here: http://www.microsoft.com/rss/default.aspx

Read More

Emphasis on User Groups at TechEd 2006

I wish I could go to this year’s TechEd 2006 in Boston, but I’ll be on vacation. Besides a pre-TechEd User Group Leaders Summit, this year’s TechEd will also host the New England Mega User Group Meeting. This meeting will feature What’s Hot and What’s …

Read More

New IIS Website

Today Microsoft launched a new IIS website dedicated to bringing IIS resources together in one central repository. The website can be found by visiting http://www.iis.net. Some of the highlights of the site include IIS 7 information and starter kits.

Read More

Reminder: .NET Valley Event Tomorrow

The next .NET Valley meeting will be held on Wednesday May 24th at Johnson College, Scranton PA. A map of the campus can be found here. We will meet at the Moffat building in computer lab 102. The event will begin at 6pm.Presenting for .NET Valley …

Read More

ASP.NET Podcast Show #53

The ASP.NET Podcast show #53 has been released on the ASP.NET Podcast site. It includes a talk by Doug Reilly, Todd Miranda, and Dell “going” AMD. The main topic is an Atlas ListView and some declarative databinding.

Read More

Off Topic: BBC News Interviews Wrong IT 'Guy'

One of my co-workers sent this link to me. It’s quite funny. I wonder if the wrong “Guy” ended up being hired? http://news.bbc.co.uk/2/hi/entertainment/4774429.stm

Read More

ASP.NET Blogs Updated to Community Server

Finally the ASP.NET Blogs have been updated to Community Server 2.0. I know I’m a bit late on posting this, but I’ve been away and just realized this today. What a great jump from .TEXT to CS 2.0. If you notice any quarks, let me know and I’ll be sure…

Read More

Background Printing PDFs

A common task that developers attempt to do is print PDF files from code. Unfortunately, there is no simple and easy way of doing this. However, I found a work around using the Acrobat Type Library that can assist with this. It’s by no means the best solution, but will allow you to perform background printing:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Public Shared Function PrintPDF(ByVal Filename As String) As Boolean  
    'Declare Variables  
    Dim AcrobatApp As New AcroApp  
    Dim AcrobatDoc As New AcroAVDoc  
    Dim AcrobatPDFDoc As New AcroPDDoc  
    Dim TotalPageCount As Integer  
    Dim ResultsBoolean As Boolean  
    Dim ReturnBoolean As Boolean = False  
  
    Try  
        'Attempt To Open The Report  
        AcrobatDoc.Open(Filename, "")  
 
        'Pass the Document to the PDF Handler  
        AcrobatPDFDoc = AcrobatDoc.GetPDDoc  
 
        'Grab the total number of pages  
        TotalPageCount = AcrobatPDFDoc.GetNumPages  
  
        'Perform a background print using Acrobat  
        ResultsBoolean = AcrobatDoc.PrintPagesSilent(0, TotalPageCount - 1, 0, False, True)  
  
        If ResultsBoolean = False Then  
            Throw New Exception("Acrobat returned a False value when attempting to print the pages in the background.")  
        Else  
            ReturnBoolean = True  
        End If  
    Catch ex As Exception  
        'Add In Exception Handling  
    End Try  
 
    Return ReturnBoolean  
End Function
Read More