|
-
Mar 8th, 2007, 11:53 AM
#1
Re: shell problem
An uninstall should remove folders too unless there are custom user created files in it or an open process.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 8th, 2007, 12:16 PM
#2
Re: shell problem
It would depend on who made the uninstaller.
I'm thinking that the reason the error is occuring is because the uninstaller is still running when you are attempting to delete the folder.
As a test, make is two step process. Run your uninstaller, and then run the delete folder code from a button that you click after the uninstaller is done.
I'm almost willing to bet it will work.
-
Mar 8th, 2007, 12:20 PM
#3
Thread Starter
Junior Member
Re: shell problem
There are user created files in it, which are not deleted...
The goal is to perform a complete reinstall with auto backups of certain files.
Hack: I tried that already, and it does not solve the problem.
Example:
1) I open my program and run the uninstaller from button 1. The uninstaller has quit and I push button 2 to delete the folder: runtime error 70 access denied.
2) I open my program and run the uninstaller. I close my program.
I open my program again and push button 2: folder deleted.
How strange is that
-
Mar 8th, 2007, 12:24 PM
#4
Re: shell problem
 Originally Posted by KI2000
Hack: I tried that already, and it does not solve the problem.
Now you see why I'm not a betting man. 
 Originally Posted by KI2000
2) I open my program and run the uninstaller. I close my program.
I open my program again and push button 2: folder deleted.
What cleanup are you doing when you close the program? What is in the Unload event?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|