/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





I just posted a Channel 9 interview with Milind Lele  showing us his favorite VS 2008 features - the new Data Synchronization designer and how the sync services for ADO.NET work to support occasionally connected scenarios. He shows us how to set up a local database cache using SQL Compact Edition and how to use it to store read-only data caches as well as how to add the code to support two-way synchronization. If anyone's ever tried to implement an occasionally connected smart client, ... [ read more ]
Just an old code snippet that I've dug out for a new project from an old VB6 project and thought it would be beneficial to post up but I start doing my VooDoo. In short, the following will detect the insertion and detection of USB key devices, CDs and DVDs. It doesn't detect the insertion of specific USB devices (at least not the devices arrayed in front of me) - but feel free to play with the code and the Hdr.devicetype parameter. Anyhoo, create a new form and paste the following in... ... [ read more ]
An article on building a time field that mimics the behavior of the one found in Microsoft Outlook.
Expression trees allow you to walk through all the information about an expression.  So you can use this to create a NameOf function similar to the one I outlined in my post on VB 10 thoughts (part 5)      <Extension()> _    Function NameOf( Of T1)( ByVal obj As T1, ByVal fn As Expression( Of Func( Of T1, Object ))) As String       Dim op = fn.Body.Cast( Of UnaryExpression).Operand     ... [ read more ]
  a NameOf operator you could use this similar to TypeOf, but to get the name of a class or a method or property etc. NameOf could be used : - without any operand to return the name of the current method/property, e.g NameOf() - using an object reference ot get a typename, e.g NameOf(Me) gives the name of the current class - get the name of the current class in a Shared method by using the Class keyword, NameOf(Class) - get the name of a method as a string, NameOf(Foo.Bar) returns & ... [ read more ]


© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC