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





When you need to use XML data as a data source in a WPF application, most times you’ll probably pull the XML document down from the web, a server, a separate file, or other external source.  Occasionally though, you might have a situation where you can usefully embed the XML data right inside the project.  Obviously, you lose one of the (if not the most) important aspects of data handling -  the ability to chop and change the data at runtime.  But for the sake of example, if ... [ read more ]
Hashing using the built-in Crypto-Service Providers that .NET comes with is so straight-forward that it's almost not even blog-worthy.  However, a friend asked me to write this so might as well share it. Preview: The following other hashing Crypto-Service Providers come with the System.Security.Cryptography namespace: If you don't want to just hash text, you can also drag & drop a file from the Desktop or Windows Explorer onto this second textbox and hash ... [ read more ]


I touched briefly on the mediaelement in this post dealing with Image and Video brushes.   In this post I will expand a little on using the media element for playing video. 1. Setting up the Project. The project is going to start with a 500 x 500 layout root grid with a light gray background. While not essential I have also set the vertical and horizontal alignments so that the grid is displayed in the top left corner of the page. Into the ClientBin directory of ... [ read more ]


In this post, I describe how to make a Windows form with a WebBrowser control to show the rendered styles in a stylesheet.  The interface is pretty simple.  Enter the URL of a stylesheet, press "Go" and you get to see the available styles and what they look like. There are four controls on this form.  Use the Anchor property of the controls so that the window can be maximized and the controls will grow / move appropriately.  (To be prec ... [ read more ]


This post is going to take a quick look at the shapes that are available with Silverlight. Silverlight comes with five built in shapes from which you can construct just about any shape that you can imagine. The built in shapes are the Ellipse, Line, Polygon, Polyline and Rectange. 1.  Setting up the Project. The base project for each shape is going to be the same.  The project will consist of a base layout 500 x 500 grid with a light gray background.  I have also set th ... [ read more ]


Hi guys, this is my second review of these controls, and it will be quite different than the first. A few months ago I was engaged by a client to develop a web based application. He asked me (I guess they all ask the same) to make it good looking and attractive. The first thing I thought of when I heard this was "I must renew my DXperience subscription" . And now I am glad I did that. Before I continue, I would like to say something to those readers who are totally new to DX ... [ read more ]
In this tutorial we will create an interactive interface on a Windows Form that responds to clicks, drags, and drops.  The catch is we will not be using any controls at all.  Everything will be drawn directly on the Form using the .NET's System.Drawing.Graphics namespace (GDI+). We will draw two hands of cards: a top hand and a bottom hand.  Once done, the user will be able to resize the form, as well as the splitter which divides the two hand areas.  As a res ... [ read more ]


Seeing this post recently by Ged ( vbCity Administrator, Microsoft MVP and all around good guy), it reminded me how easy it was to add a similar effect to Silverlight elements. Silverlight comes with two built in effects that you can use on just about any Silverlight element.  The effects are the DropShadowEffect and BlurEffect. 1. Setting up the Project. The project consists of a 500 x 500 UserControl.   The base layout of the usercontrol is a grid with a light g ... [ read more ]


I was given this requirement for a Visual Basic application I am creating: When a user right clicks an item in a Windows Forms ListBox, select the item. Luckily I quickly found an example... ...( read more )
We all pretty much take cursors for granted, don’t we?  You wave your mouse about and the cursor obligingly follows.  Easy.   But what happens if you want to take control of the cursor?  Sometimes it’s not quite so easy.  Based on problems I’ve seen raised in the past few years, here are a few techniques you might find useful when it comes to dealing with the cursor.   Cursor on a Windows Form This is fairly straightforward.  Let’s start with th ... [ read more ]
With the release of Windows Phone Developer Tools in September, and the availability of Windows Phone 7 devices in stores, the Windows Phone platform is growing. Today marks another milestone in the progression of Windows Phone. Today we are announcing Visual Basic for Windows Phone Developer Tools - RTW . This release doubles the developer audience for Windows Phone, by enabling Visual Basic developers to create applications for Windows Phone, as well as C#. Please stay tuned for t ... [ read more ]


Looking for Windows Phone 7 code examples for VB.Net? Checkout this MSDN page: ...( read more )
Download it now at:  Windows Phone 7 RTW for Visual Basic ...( read more )


This week I needed a simple text box control that could display text vertically, something like this:   Here's what I came up with:     Public Class VerticalTextBox Inherits System.Windows.Forms.Control Public Sub New() End Sub Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs) Dim g As Graphics = e.Graphics Using format As New StringFormat(StringFormatFlags.DirectionVertical) Using brush As New SolidBrush(ForeColor) g.Dr ... [ read more ]
At Microsoft's PASS Summit 2010 attendees were introduced to Project “Crescent”, a stunning new data visualization experience coming in the SQL “Denali”. Built on Silverlight, Crescent gives users new ways of exploring data and discovering new insights, and presenting this information in new and exciting ways, letting the data tell a story about your business.   Learn more and watch the video: A Glimpse at Project Crescent Project Cresc ... [ read more ]
Over the last number of posts I have looked at different kinds of animations available for use in a Silverlight Application. Each of the previous examples used a type of animation where the values being changed are of the Double, or numerical, type.  Not all Silverlight elements attributes however have double type values but rather string literals such as "Left" or "Right".  Being string values you can’t use DoubleAnimations to change the attributes.  ... [ read more ]


Visual Studio 2010 provides project templates you can use to create add-ins to automate Visio, extend Visio features, or customize the Visio user interface (UI). The Visio object model exposes many classes to automate Visio to create diagrams for organizational charts, flowcharts, project timelines, network diagrams, office spaces, and more. Get started here:  Visio Solutions
Create Your Second Visual Basic 2010 Application    Your second Visual Basic 2010 application will also be a Windows console application.     This application will be able to ask the user for two numbers, sum the two numbers, and show the result to the user. ...( read more )
Suppose you want to make a chart where the column color changes based on the data (as shown below).  Is there any easy way to do that?  I'm going to say that there may very well be a better way than mine, using some sort of conditional formatting.  If you know of one, I'd like to hear it.  But my way isn't that hard.  It relies on "Stacked Column" charts, which normally look like this. My me ... [ read more ]



Forum Discussions
.NET / .NET Newbies
.NET / .NET General
.NET / .NET 2005
.NET / VB.NET
.NET / C#
.NET / ADO.NET & XML
.NET / Reporting.NET
.NET / ASP.NET
Visual Basic 6 / VB6 Newbies
Visual Basic 6 / VB6 General
Visual Basic 6 / VB6 Controls & ActiveX
Visual Basic 6 / VB6 & Databases
Visual Basic 6 / VB6 & Reporting
Visual Basic 6 / VB6 & WinAPI
Visual Basic 6 / VB6 & Web Development
Visual Basic 6 / VBA
Visual Basic 6 / eMbedded Visual Basic
Visual Basic 6 / Graphics, Games, Multimedia
© 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