How can I make setup files install specific folders in different drives?

  • Thread starter Thread starter Hyperspace2
  • Start date Start date
  • Tags Tags
    Program Visual
Hyperspace2
Messages
84
Reaction score
1
Hello computer geniuses. I am learning to develop visual basic program. For just now I have
developed the project of student database through text base mode. I know how to publish
the application to make set up files.

My main problem is that I need to make setup files install the folders name 2008, 2009 in D
root drive.

In detail
set up files should install the folder D:\2008\Diploma\1, D:\2008\Diploma\2,...
D:\Diploma\48

This is important and final part of project. I think this can be done after application starts. But I need to learn how to make this when somebody clicks my setup files.

I am very eager to get your ideas...
 
Hey Hyperspace2.

You have a couple of options of doing this.

The first option is to use the Windows API. To do this you have to add some "declare" routines to your code. Here is some information for this kind of thing:

http://msdn.microsoft.com/en-us/library/172wfck9.aspx

The other way is to use the native VB commands themselves. Take a look at this:

http://www.vbexplorer.com/VBExplorer/vb_feature/may2000/may2000.asp
 
Last edited by a moderator:
Thank you sir for your help. I think I have figured it out.
 

Similar threads

Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K