Showing posts with label VB. Show all posts
Showing posts with label VB. Show all posts

Thursday, October 9, 2008

Nice collection of VB.NET Programming Hacks

A nice collection of VB.NET Programming Hacks

Here is what is available

General
* Aliassing a namespace
* Memory usage for all processes
* Get the commandline parameters
* Get the computername
* Getting text from the clipboard
* Saving text on the clipboard
* Getting the freespace on a drive
* Getting memoryusage of one process
* Get the total space used by a drive
* Path to UNC
* Impersonating an administrator
* Programaticaly changing the Ignore addresses in the proxy settings


Strings
* Use StringBuilder to concatenate strings


Dates
* Add day, month, year to date
* Add time to a date (hours, minutes, seconds)
* Substract Time from a date (hours, minutes, seconds)
* Substract from a date (days, months, years)
* What day of the week is a certain date
* Is this year a leapyear?
* Difference in days between 2 dates


ADO.NET
* Use commandparameters instead of string concatenation


Forms
* Opening a form on a specified monitor
* Show a form in a form
* Open a form as modal
* Open a form
* MDI
* Hide a form on closing

Sunday, August 19, 2007

Screencast: Amanda Silver on Visual Basic LINQ Syntax in Visual Studio 2008

Channel 9 has posted their latest screen cast. From the site:

In this interview, Amanda Silver, a Lead Program Manager on the Visual Basic Team, demonstrates new LINQ syntax around Joins and Aggregates that is now available in Visual Studio 2008 Beta 2. Amanda is a guru of LINQ in Visual Basic and gives insightful explanations of how to use this new syntax. Also check out new How Do I videos on LINQ to help get you started with LINQ in Visual Basic. More are added weekly!

Watch the screencast(WMV)

Thursday, April 12, 2007

Upcoming Webcast Series on Visual Basic 9

The Visual Basic team has put together a "Live from Redmond" webcast series covering many of the new features in the next version of Visual Basic and Visual Studio ("Orcas"). Here's the schedule: