bigboywasim
Member
- Joined
- Sep 29, 2006
- Messages
- 18
- Programming Experience
- Beginner
Please give me an example as well.
[SIZE=2][COLOR=#0000ff]Dim[/COLOR][/SIZE][SIZE=2] mySideLine [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] Pen(Color.Black)
[/SIZE][SIZE=2][COLOR=#0000ff] With[/COLOR][/SIZE][SIZE=2] mySideLine
.Width = 1
.DashStyle = Drawing2D.DashStyle.Custom
[/SIZE][SIZE=2][COLOR=#0000ff] End[/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#0000ff]With[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]
[SIZE=2][COLOR=#0000ff]Dim[/COLOR][/SIZE][SIZE=2][COLOR=#000000] mySideLine [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2][COLOR=#000000] [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2][COLOR=#000000] Pen(Color.Black)[/COLOR]
[/SIZE][SIZE=2]mySideLine.Width = 1
mySideLine.DashStyle = Drawing2D.DashStyle.Custom
[/SIZE][SIZE=2][COLOR=#0000ff]
Dim ofd As New OpenFileDialog
With ofd
.Filter = "All Files |*.*"
.Title = "Find File"
.DefaultExt = ".txt"
.FileName = "1.txt"
.ShowDialog()
End With