Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Delete Folder in Windows95 with Visual Basic

Posted on 1999-01-07
3
Medium Priority
?
161 Views
Last Modified: 2013-11-25
How does one delete a whole folder in Windows95 from a Visual Basic Program. Please give instructions for the incomplete idiot. Thank You
0
Comment
Question by:sierra7
3 Comments
 
LVL 3

Accepted Solution

by:
jjbyers earned 40 total points
ID: 1454686
First use the Kill statement to delete all files in the folder.
Second use (RmDir Pathname) to delete the folder.



0
 
LVL 3

Expert Comment

by:vmano
ID: 1454687
use KILL statement. good examples in VB
0
 

Author Comment

by:sierra7
ID: 1454688
Thanks for the Quick Reply. And Thanks to Vmano for his comment.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question