Search:

Type: Posts; User: bknight

Search: Search took 0.02 seconds.

  1. Replies
    33
    Views
    4,503

    Re: [RESOLVED] Procedure to delete certain files

    I originally started with a batch file scheme, but you could fill an ocean with what I don't know about programming. A friend on a forum dealing with MS products gave me the VBA code, so I went with...
  2. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    After some extensive testing and rewriting commands, I have made this work. As I indicated the test sub opens another instance of Excel and I assume it to be as Administrator. After that is...
  3. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Um This sounds recursive. Opens delfiles.bat which is inside the Sub. Aside from that it deletes no files that are on the hd, or am I totally missing something?
  4. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Ad I tried the code is a partial success. The code does open another(?) instance of Excel but hidden so change the visible parameter to true. Upon running the code, it will not execute a sub from...
  5. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Since there is no code in that thread, just words I'm at a worse condition than asking for some code to allow my deletion code to delete files in a UAC area.
    But thanks for the time.
  6. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    I do wish you to find your archeological hat.
  7. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    The desired location C:\Program Files (x86)\Tradestation 9.5\Scans or any location?
  8. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    This did give me an idea to search different words and phrases.
  9. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Thanks, but that opens another(?) instance of Excel
  10. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Perhaps bypass wasn't the correct verb. But to have the procedure run with no run stops with error message "Permission Denied"
  11. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Thanks for the tip, however I have spent thew last two hours attempting to patch in the resolved threads and nothing compiles.
    I'm still stumped as to how to bypass the admin permissions.
  12. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    That is correct.
  13. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Mods would you move this to VB6, please.
  14. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    OK will do.
  15. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    So there is no code to override the admin control?
    Running an account with admin control has issues as well for hackers into your system totally non-protected.
  16. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    Well I'm telling all of you that the files are written where I have it coded, Program Files (x86). I will check in the AppData folder but that will probably be fruitless.
  17. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    The software writes the files to these folders, I have no control.
  18. Replies
    33
    Views
    4,503

    Re: Procedure to delete certain files

    My PC not intended for distribution.
    That would work, but I would like to have a clean procure to do all.
    Thanks
    Any suggestions for the code?
  19. Replies
    33
    Views
    4,503

    [RESOLVED] Procedure to delete certain files

    I'm not sure of the version but it was in Excel 2007, my current.
    I had some nice help in developing a code to delete files:
    They are in a sub-sub-sub folder in Program files.
    The all have a...
Results 1 to 19 of 19



Click Here to Expand Forum to Full Width