Results 1 to 33 of 33

Thread: shell problem

Hybrid View

  1. #1
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2007
    Posts
    21

    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

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: shell problem

    Quote 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.
    Quote 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
  •  



Click Here to Expand Forum to Full Width