Browse by Tags

All Tags » .NET (RSS)

"OLE received a packet with an invalid extension." in Microsoft Word by Jason N. Gaylord

We still have Small Business Accounting 2006 implemented for some companies. When we use a custom invoice to print using the MS Word Smart Document set, we receive the error "OLE received a packet with an invalid extension." This error occurs...
Filed under: ,

Using LINQ to SQL and ConnectionStrings in a Class Library by Jason N. Gaylord

I was looking to separate my LINQ to SQL data layer from the rest of my application. So, I decided to move the files to a class library. This way, when my application builds, all of my LINQ files are found in MyApp.DL or something similar. However, I...
Filed under: , , ,

Obtain the Identity of a New Row Using LINQ by Jason N. Gaylord

It's actually pretty easy and user friendly to obtain the value of the identity column using LINQ. After you create your object and insert it on submit, you can call the identity column's property on your object. For instance: Dim db As New BlogDataContext...

VS 2008 and .NET FX 3.5 SP1 Beta Available Now by Jason N. Gaylord

Soma just posted that SP1 for VS 2008 and .NET 3.5 is available. The full blog post on his site is at http://snurl.com/28i1z .

Using Older AJAX Controls in Visual Studio 2008 by Jason N. Gaylord

I've been testing the DotNetSlackers' AJAX Data Controls for a little bit and they're definately cool. I ran into an issue, however, when trying to build an app with one of the controls in Visual Studio 2008 (.NET Framework 3.5). The assembly was compiled...
Filed under: , ,

VB.NET's "yield return" by Jason N. Gaylord

I was struggling with an issue today when converting some C# to VB.NET. C# has a really cool "yield return" statement that is used in an iterator block to provide a value to the enumerator object. VB.NET does not have the "yield" keyword. So, there are...
Filed under: , ,

Writing a Base64 String to the File System or Browser by Jason N. Gaylord

Quite often, vendors pass images or PDFs to customers using the binary contents of the file. To make it more secure, they convert the binary contents to a Base64 string. A full explanation about Base64 encoding can be found at Wikipedia here . Anyway...

Microsoft Releases Web Add-on for VSTS by Jason N. Gaylord

Soma announced a couple of days ago that the new Scrum project is available for download on MSDN . eScrum is a web interface that displays project updates on a daily basis and integrates with Microsoft Project and Microsoft Excel.
Filed under:

Announcing TECHbash 2007 (Northeastern Pennsylvania) by Jason N. Gaylord

TECHbash 2007 TECHbash 2007 will be on Saturday, May 19th, 2007 from 8:30am until 2:30pm at Luzerne County Community College. More specific details about the event can be found at techbash.com . What is TECHbash 2007? Today's IT professionals and...

RegEx: Using Variables in Regular Expressions by Jason N. Gaylord

First off, I'd like to thank Steve Smith for helping me out yesterday with a major brain <insert your favorite phrase here>. Like always, my issue turned out to be something stupid. Anyway, my issue ended up bringing something else to my attention...
Filed under: ,
More Posts Next page »