Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27071

VS 2010 Help creating sequential folders

$
0
0
I'm building a small tool for work and need help figuring out how to create a range of numbered folders. I have two drop down lists to specify the range of folders to create. I also have a few text fields that make up the rest of the name.

I am thinking either start a count of some kind and begin a loop or specify a range. I have a .bat script I wrote to accomplish this, but I want to keep it all .net based for this project. Even my .bat script is not logical enough to use the correct amount of leading zeros though.

ie: 08, 09, 010, 011, etc.

My combo boxes both range from 01-40.

Here's the GUI so far. And below is the string I have right now for the "preview" of the folder name.

Code:

If CheckBox1.CheckState = CheckState.Checked Then
            Label6.Text = (TextBox2.Text & TextBox3.Text & ComboBox1.Text)
        Else
            Label6.Text = (TextBox2.Text & ComboBox1.Text)
        End If

Name:  folder creator.png
Views: 88
Size:  25.0 KB
Attached Images
 

Viewing all articles
Browse latest Browse all 27071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>