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
Click For Summary
SUMMARY

The discussion focuses on creating setup files in Visual Basic that install specific folders on the D drive, particularly for a student database project. The user seeks to install folders named 2008 and 2009 in the format D:\2008\Diploma\1 through D:\2008\Diploma\48. Two primary methods are suggested: utilizing the Windows API with specific "declare" routines and employing native Visual Basic commands. The user expresses gratitude for the guidance received and indicates progress in resolving the issue.

PREREQUISITES
  • Familiarity with Visual Basic programming
  • Understanding of Windows API functions
  • Knowledge of file system structure in Windows
  • Experience with application deployment and setup file creation
NEXT STEPS
  • Research Windows API for file and folder creation in Visual Basic
  • Explore native Visual Basic commands for file management
  • Learn about application deployment best practices in Visual Basic
  • Investigate user interface design for setup file prompts in Visual Basic
USEFUL FOR

Visual Basic developers, software installers, and anyone involved in application deployment and file management in Windows environments.

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...
 
Technology news on Phys.org
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
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K