Tag Archives: GDI in .net

How to open an image in Photoshop using vb.net

  In this article we will see that how we can open an image in photoshop application using vb.net. The following example requires two button control named Button1 and Button2 and need to add reference of ‘Adobe Photoshop object Library’ in the application. With the help of this code we can open an image on … Continue reading How to open an image in Photoshop using vb.net

How to draw scroll button on a scroll bar control on windows form in vb.net

  You can draw a scroll button on a scroll bar control in the specified state, on the specified graphics surface, and within the specified bound with the help of ControlPaint.DrawScrollButton Method using vb.net You can use ControlPaint.DrawScrollButton Method like as : Public Shared Sub DrawScrollButton ( _ graphics As Graphics, _ rectangle As Rectangle, … Continue reading How to draw scroll button on a scroll bar control on windows form in vb.net

How to draw 3D border on windows form in vb.net

  You can draw a three-dimensional style border on the specified graphics surface and within the specified bounds on a control with the help of ControlPaint.DrawBorder3D Method using vb.net You can use ControlPaint.DrawBorder3D Method like as : Public Shared Sub DrawBorder3D (grp As Graphics,rect As Rectangle) Example Following example draw a 3D style border on … Continue reading How to draw 3D border on windows form in vb.net

Draw ComboButton on the windows form using vb.net

  You can draw a drop-down button on a combo box control in the specified state, on the specified graphics surface, and within the specified bounds with the help of ControlPaint.DrawComboButton Method using vb.net You can use ControlPaint.DrawComboButton Method like as : Public Shared Sub DrawComboButton ( grp As Graphics, rect As Rectangle, state As … Continue reading Draw ComboButton on the windows form using vb.net