Browse by Tags

All Tags » Visual Basic (RSS)

Create Excel Files on the Fly

I hate throwing away code. Recently, we had a requirement to create an Excel spreadsheet with formulas and specific data for a particluar user. Of course we could always use Reporting Services to get the data in Excel format but then there would be no...
Posted by Jorriss | with no comments

CSLA 2.0: Building Better Business Objects

For almost four years I’ve been using Rockford Lhotka’s CSLA. CSLA or the Component-based Scalable Logical Architecture is a framework to build business objects. It’s a powerful architecture that provides many different features for...
Posted by Jorriss | with no comments
Filed under: , , ,

A little refresher is always good

Recently, I needed to create a list of items that were to be manually sorted by the user. I decided to use the sorting mechanism that Netflix uses in its queue. The items are listed 1 to n on the page with the sequence number in a text box. If the user...
Posted by Jorriss | with no comments

TechEd Braindump: Visual Basic 2005: Application Frameworks and Advanced Language Features

Speaker: Amanda Silver VB now has a bunch of new templates including a login form. The new Application Designer is the "cockpit for your app". Ouch! She had to change her laptop two minutes before the session and of course the project isn't working. You...

Refactoring in VB? No? Yes!

A while back we (us VB devs) were told that there will be no refactoring support in Visual Basic 2005. Although disappointed, I was looking forward to edit and continue and generics. But low and behold Microsoft has surprised us! Refactoring will be supported...
Posted by Jorriss | with no comments
Filed under: , ,

CSLA Object Generator

Somehow I missed this. I use the Component-based Scalable Logical Architecture (CSLA) to build business objects. We also use CodeSmith for object generation. Developer Cole Shelton has created a CSLA Object Generator that use CodeSmith on the backend...
Posted by Jorriss | with no comments
Filed under: , , ,

Checkers Solitaire

Cory Smith has developed a VB.Net game Checkers Solitaire . It’s a game of skill involving jumping checkers diagonally over another. It’s free so try it! Via Duncan . Now Playing: Rich Mullins - Ready For The Storm
Posted by Jorriss | with no comments
Filed under: ,

Custom control transparency in WinForms

Recently, I created a custom control that collapses its self. This control was to be round in shape so the background had to be transparent. But when I set the BackColor = Color.Transparent I received this message; “This control does not support...
Posted by Jorriss | with no comments
Filed under: ,

RichTextBox and column position

I've been prototyping an application for work and had a slight problem. I needed to get the column position of the caret in a RichTextBox. To determine the column position I had to subtract the number of characters in the lines before the caret from the...
Posted by Jorriss | with no comments
Filed under: ,

Exam 70-305 Links

I stumbled across a nice site for the 70-305 Developing and Implementing Web Applications with Microsoft Visual Basic .NET and Microsoft Visual Studio .NET. It takes the preparation guide and matches it up with the proper Microsoft documentation. Nice...
Posted by Jorriss | with no comments

CryptoAPI and the headaches that it caused

Many moons ago I created an encryption dll for our company website. This dll was created in VB6 and using the CryptoAPI. OK, so I cheated a bit and used some encryption code that was created by Fredrik Qvarfort. But why reinvent the wheel? Or the CryptoAPI...
Posted by Jorriss | with no comments

No holds barred...String vs. StringBuilder

I found an interesting thread on Channel 9 discussing String and StringBuilder . In short, when you use string method it creates a new string method. StringBuilder does not create a new object when the string is modified. Here's a blog post with some...
Posted by Jorriss | with no comments

Drag & drop data-binding that works??

This absolutely floored me when I saw this last night. Channel 9 posted this video earlier this week . Here Robert Green , program manager on the VB team, demos some of the coolest drag-and-drop data-binding I've ever seen. This ladies and gentlemen is...
Posted by Jorriss | with no comments
Filed under: ,

SuperTools

VB Power Pack activate! Shape of an ImageButton. Form of ice water!
Posted by Jorriss | with no comments