Feeds:
Posts
Comments

Archive for the ‘vb.net’ Category

use follwing Code change image path at load event method for downloading Code

Imports System
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.Drawing.Drawing2D
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim WorkingDirectory As String = “c:\AliPicture”
‘create a image object containing a verticel photograph
Dim imgPhotoVert As Image = Image.FromFile(WorkingDirectory + “\pravs-j-the-first-step.jpg”)
Dim imgPhoto As Image = Nothing
imgPhoto = [...]

Read Full Post »

In one case i have to right a method to remove duplication from array of strings.
i write this code

Public Function RemoveDuplicates(ByVal items As String()) As String()
Dim noDupsArrList As New ArrayList()
For i As Integer = 0 To items.Length – 1
[...]

Read Full Post »