Background Color:
 
Background Pattern:
Reset
Monday, December 11, 2017
menu click
Search

Traversing Folders and Files using Managed Code or the Win API

A short article on how to traverse a directory's files and sub directories using managed code, and then how to do the same using the Win API within a Managed Code environment using VB.Net
Sunday, October 20, 2013/Author: Ibrahim/Number of views (5758)/Comments (0)/ Article rating: No rating
Tags:

Find a label by name in a form.controls collection and change its text value.

You don't need 20 if...then statements

This problem was from someone who had to change the value of a label's text based on a callback from a Weather API.  The callback provided an index to the value changed and the code had to select a label using that index and then change the label's text property using the API's supplied indexed value. 
Monday, August 19, 2013/Author: Ibrahim/Number of views (2244)/Comments (0)/ Article rating: No rating
Tags:

LINQ Select items where an Item value is in a list.

Replicating the SQL statement Select * From TableA Where Field1 In (Select Field 1 From Table B)

Did you ever want to constrain a list  by values in another list using Linq?  Kind of like the IN clause in a SQL Select Statement. i.e. Select * From TableA Where Field1 In (Select Field 1 From Table B)

While there is no IN clause in Linq there are a variety of ways I have seen others do this I have my own VB.Net solution to this problem that was in answer to someone's question on an MSDN VB Forum.

 

Monday, August 19, 2013/Author: Ibrahim/Number of views (10054)/Comments (0)/ Article rating: 5.0
Tags:
RSS