Here’s a quick function to show the use of System.Diagnostic.Process which will allow you to start another application using VB.NET. The example below is used to call svnadmin to create a new repository ( Subversion ) by grabbing the repository name. The function also checks to see whether the directory exist on the file system [...]
Using cmd.exe with VB.NET – Process.Start
January 27th, 2010 · No Comments · .NET
Tags:command prompt·Process.start·system diagnostics·VB·vb.net
Resize image using VB.NET
January 21st, 2010 · No Comments · .NET
Here’s a quick function to resize image using VB.NET
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Sub ResizeImage(ByVal dir As String, ByVal fileName As String, ByVal percentResize As Double)
‘following code resizes picture to fit
Dim bm As New Bitmap("C:\" & dir & "\" & fileName)
[...]
