Sunday, July 31, 2011

Shaped Form Resizable and Moveable

Shaped Form Resizable and Moveable
This is by no means a complete solution, just an idea for creating custom shaped forms with custom Titlebars.
The form can be dragged by its fake titlebar, and if right clicked the fake Titlebar will popup the WindowMenu.
The CreateParams property has been modified to add a System Menu (with Min,Move and Close items) to a borderless form.

Read More!

Friday, July 29, 2011

Repair Encoding Error Adobe Media Encoder CS4

"Could not read from the source"
 When you will encode your premiere project squence with Adobe Media Encoder but you have failed?? and get some message like this:
Could not read from the source. Please check if it has moved or been deleted.

Read More!

Wednesday, July 27, 2011

Create Slider Control With Custom Color

All too often I see examples of custom controls which unnecessarily add child controls. For instance, a custom trackbar control may have a label or panel added to act as the scrolling thumb tab.

Read More!

Create a Circle Rounded Panel Controls

rounded panel Form Controls VB net CSharp
When we Draw to a Graphics object we can set AntiAlias so as to make the edges of complex shapes look smooth. This is done by altering the color of some of the pixels on and around the edge so that the jagged edges appear smooth.

Read More!

Monday, July 25, 2011

Create Combobox With Icon

Create Combobox With Icon
The following class modifies the Item collection to return a collection of Custom items. The Property Browser uses the Collection Editor rather than the StringCollection Editor. The DrawMode property has been hidden, since this property should not be changed.

Read More!

Create Custom Button in Form

Create Custom Button in Form VB net Csharp
No need to Inherit from Button if you want a button with a completely custom appearance.

Read More!

Saturday, July 23, 2011

Custom Tab Control With Cool Appearance

Read More!

Custom Menu Design With MenuSkinner

Custom Menu Design With MenuSkinner
Drop a MenuSkin component on your form and standard menu items are extended with icon and font properties.

Read More!

Friday, July 22, 2011

Create Menu Bar Like Office style Menu

Create Menu Bar Like Office style Menu
A complete ownerdraw menu class with RightToLeft support.

Read More!

Add Menu Items on Top Left Window Icon (AKA System Menu)

Add Menu Items on Top Left Window Icon
There is no DotNet Native way to manipulate the Window Menu. You must do it all via InterOp.
You can add existing Menuitems though.

Read More!

TabDragging Example using TabDragger Class

Add the following classes to your project and make one of the following calls to your forms constructor after the InitializeComponent() call (assumes your TabControl is named TabControl1):
This will give you simple DragArrange of the tabs.
[VB] Dim DragTabs As new TabDragger(TabControl1)
[C#] TabDragger DragTabs = New TabDragger(this.tabControl1);

Read More!

Show Hide Tabpages in Tabcontrol

The Visible property has not been implemented on the Tabcontrol and there is no Insert method. The following methods are a workaround.
This some sample by: Mick Doherty. demonstrated how to manipulate show and hide tabpages in a tabcontrol. See this code, sample in VB net and Csharp

Read More!

Thursday, July 21, 2011

Create Custom Design for A Tab Control

Custom  Design for A Tab Control

A little more work involved here than in the previous case, but definately worth it. Add a new UserControl to your project and replace the code with that shown below.

Read More!

Tab control using custom Tabpages

Vb net Csharp Tabcontrol Custom Tabpages

This was one of the first projects I tackled in dotnet. The object was to have the tabpages support WindowsXP Visual Style. Adding visual style to an inherited TabPage was simple and after a few attempts I got the TabControl to accept the custom Tabpages via the Collection Editor.

Read More!

Tuesday, July 19, 2011

Simple Way to Create Glow Text Effect Photoshop

blending Glow Text Effect Photoshop cs5
 This text effect is created with photoshop CS5, and you can also do it with Older Photoshop version (photoshop CS3, photoshop CS4).in professional design, this design is still simple. But you can make it more than SIMPLE!

Read More!

Monday, July 18, 2011

About Windows Aero Glass Design

What is Windows Aero?
Windows Aero is the premium visual experience of Windows Vista. It features a translucent glass design with subtle window animations and new window colors.
Picture of the desktop Windows Aero features glass-like windows for an open look

Read More!

Sunday, July 17, 2011

MsSql Trigger Sample (SQL Server)

A trigger is a database object that is attached to a table. In many aspects it is similar to a stored procedure. As a matter of fact, triggers are often referred to as a "special kind of stored procedure." The main difference between a trigger and a stored procedure is that the former is attached to a table and is only fired when an INSERT, UPDATE or DELETE occurs. You specify the modification action(s) that fire the trigger when it is created.
Read More!

Wednesday, July 13, 2011

VS2010 Drag-Drop Text in TextBox

Its Simple, Create new Windows Form Application using Visual Basic Language, and use one Textbox control. and then add code on Mouse Move event, Follow this:
In the form1 code, click on event and choose TextBox1

Read More!

Monday, July 11, 2011

How To Calculating Human Age

Using VB .net, Make a Windows Form Application, And use one DateTimePicker control, and write this code:

Private Sub DateTimePicker1_ValueChanged() Handles DateTimePicker1.ValueChanged
  Dim Birth As Date = DateTimePicker1.Value
  Dim year, month, day As Integer
  While year <= (Now.Year - Birth.Year)

Read More!

Sunday, July 10, 2011

Configure IDM With New Version Mozilla Firefox (4,5)

1. Please make sure that you have installed the latest version of IDM by using Help->Quick Update menu item. Please use "Help->Quick Update" IDM main menu item to get the latest version of IDM. IDM Quick Update

Read More!

Tuesday, July 05, 2011

Basic Concept of Databindings

Language: VB.net
Add two Textbox in your form, and then add this code when Form Load:

        ' When Textbox1 text changed, then Texbox2 too
        TextBox2.DataBindings.Add(New Binding("text", TextBox1, "text"))

        ' When Textbox2 text changed, then Texbox1 too
        TextBox1.DataBindings.Add(New Binding("text", TextBox2, "text"))

the two Textbox Will Also have same text.

Read More!

Saturday, July 02, 2011

XML to Tree Node

XML to Tree Node VB net Visual Studio
XML to Tree Node Screen Shot
This program is demonstrate how to converting XML tag to TreeView node. Written using Visual Studio 2010.

Read More!