Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Desktop Developer

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

Search

XML Feeds

Google Ads

Tags: vb.net

comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

Yesterday I made a post about using a queue instead of a list because the code was so much cleaner. I think it is very important that code is clean and easier to read.

But then Denis asked about the performance differences between the 2 methods. I hadn't worried about the performance, because in my case the performance was good in both cases.

But I aim to please my fellow LTDers, so I did a little performance test. And let me remind you that like most performance tests, this one ...

Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

I was doing this in my code.

vbnet Sample Code (See Article for Rest)
Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

When you databind your DataGridView to a List.

Like this.

First I create a class Person so I can bind to that. Watch the default constructor, it needs to make new elements, if that is what you want.

vbnet Sample Code (See Article for Rest)
Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

Yesterday I got a request to open some jp2 files, so that they could be renamed depending on the exif information and then saved as jpeg.

Jpeg2000 was once supposed to replace jpeg because it was so much better than jpeg. Never happened and never will. But the format is out there and .Net has no native support for it.

These are the formats .Net supports.

BmpGets the bitmap (BMP) image format.
EmfGets the enhanced metafile (EMF) image format.
ExifGets the Exchangeable Image F...
Read More...
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

In some cases, you want to have a file in your Startupfolder that you want to access from within your application. Perhaps an XML-file with application settings or an image that can be changed.

In most cases the application startuppath will be in program files so you don't really want to put too much stuff in there but from time to time, you might.

And I always like to test if the pesky file is configured right, so that it appears as a file in that folder.

For example, if I have an image that has this as a path:

Read More...

:: Next >>