1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TCMD16 Delete Toolbar Button bug

Discussion in 'Support' started by Rod Savard, Jan 6, 2014.

  1. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    I had five toolbar buttons and deleted the second one. All the buttons were ok until I restarted TCMD16. At that point all buttons (except the first) were messed up. The properties of the second button were all blank, the properties of the third button looked like what the second should have been, and so on.

    I noticed this with an older build of TCMD16 but reconfirmed it with the newly uploaded build 31.

    If it helps here is the portion of the INI file BEFORE I deleted the button:

    Code:
    [Toolbar1]
    Title=Shells
    B1=256,C:\Program Files\JPSoft\Take Command x64 16.0\tcc.exe,TCC 16,,,"C:\Program Files\JPSoft\Take Command x64 16.0\tcc.exe"
    B2=256,C:\Program Files\JPSoft\TCMD15x64\tcc.exe,TCC 15,,,"C:\Program Files\JPSoft\TCMD15x64\tcc.exe"
    B3=260,C:\Windows\system32\cmd.exe,cmd,cmd,C:\,C:\Windows\system32\cmd.exe
    B4=260,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe,PowerShell,PowerShell,C:\,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    B5=256,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe,PowerShell AD,PowerShell AD,C:\,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command import-module ActiveDirectory
    
    And AFTER I deleted button 2:

    Code:
    [Toolbar1]
    Title=Shells
    B1=256,C:\Program Files\JPSoft\Take Command x64 16.0\tcc.exe,TCC 16,,,"C:\Program Files\JPSoft\Take Command x64 16.0\tcc.exe"
    B3=260,C:\Windows\system32\cmd.exe,cmd,cmd,C:\,C:\Windows\system32\cmd.exe
    B4=260,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe,PowerShell,PowerShell,C:\,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    B5=256,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe,PowerShell AD,PowerShell AD,C:\,C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command import-module ActiveDirectory
    
     
  2. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    BTW - If I manually renumber B3-B5 to B2-B4 in the INI, the buttons work properly again.
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    Not sure I understand what your issue is -- you wanted TCMD to renumber the buttons? Did you save the .INI file after deleting button #2?
     
  4. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    No, I don't believe I've ever explicitly used the "Save INI" option. It doesn't seem to be necessary. When ever I add or delete buttons, the INI is updated anyway.

    I retested by explicitly using the "Save INI" option after deleting button 2 but it made no difference in the end result. The INI looked the same, "B2" disappeared from it, and the buttons after B2 no longer work right until I manually edit the INI.

    Are you not able to reproduce?
     
  5. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    Haven't reproduced it yet. Does this only happen in v16 or do you see it in v15 too?
     
  6. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    Sorry, I unstalled TCMD15 the other day since 16 is working so well for me. (That's actually why I deleted the toolbar button - to remove the TCC15 one)
     
  7. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    Try downloading build 33 (already uploaded) and let me know if that resolves your toolbar issues.
     
  8. Rod Savard

    Joined:
    May 26, 2008
    Messages:
    481
    Likes Received:
    3
    Yep, I am no longer able to reproduce the problem.
     

Share This Page