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
AI Thread Summary
The discussion centers on developing a Visual Basic program, specifically focusing on creating setup files that install specific folder structures on the D drive. The user has successfully developed a student database project and is seeking guidance on how to configure the setup files to create folders like D:\2008\Diploma\1 through D:\Diploma\48 during installation. Suggestions include using the Windows API by adding "declare" routines to the code or utilizing native Visual Basic commands. The user expresses gratitude for the assistance and indicates they have made progress in resolving the issue.
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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top