Browse by Tags

All Tags » Visual Basic (RSS)

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...

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...

Visual Basic 2005 Power Packs Look Very Cool by Jason N. Gaylord

Yesterday, Microsoft introduced 2 new Visual Basic 2005 power packs. The first power pack will allow developers to create .NET forms and use them from within their VB6 applications (very cool). The second will make it easy to print VB forms without having...
More Posts