Click here to Skip to main content
15,885,914 members

toddmo - Professional Profile



Summary

    Blog RSS
60
Authority
23
Debator
2
Enquirer
67
Organiser
323
Participant
0
Author
0
Editor
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralSolution: Losing .NET Settings Pin
toddmo25-Jul-04 6:08
toddmo25-Jul-04 6:08 
One thing I've noticed in Visual Studio is it's propensity to lose toolbar customizations from time to time.
I have created a simple system to protect against this.

You can place the following files anywhere.
BACKUP.BAT creates a seperate folder for each backup taken, in the spirit of SourceSafe.
It backs up general IDE settings, toolbar settings, toolbar customizations, and your macros
RESTORE.BAT takes as a parameter the backup folder name (without path) and updates Visual Studio.
*Close Visual Studio before running either batch.*

BACKUP.BAT
-----------
REM Create Backup Directory
SET VSSETTINGSBACKUPDIR=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%
MD "%VSSETTINGSBACKUPDIR%"
CD "%VSSETTINGSBACKUPDIR%"

REM Backup General Settings
regedit.exe /e General.reg HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1

REM Backup Toolbar Settings
regedit.exe /e Toolbar.reg HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\Toolbars\Settings

REM Backup Toolbar Customization
COPY "%APPDATA%\Microsoft\VisualStudio\7.1\1033\CmdUI.PRF"

REM Backup macros
COPY "%HOMEPATH%\My Documents\Visual Studio Projects\VSMacros71\MyMacros\MyMacros.vsmacros"

REM Add to Sourcesafe as new version
REM (Not implemented)

PAUSE
(END OF FILE)

RESTORE.BAT
-----------
REM %1 is the backup directory
CD "%1"

REM Restore General Settings
regedit.exe /s General.reg

REM Restore Toolbar Settings
regedit.exe /s Toolbar.reg

REM Restore Toolbar Customizations
COPY CmdUI.PRF "%APPDATA%\Microsoft\VisualStudio\7.1\1033\"

REM Restore macros
COPY MyMacros.vsmacros "%HOMEPATH%\My Documents\Visual Studio Projects\VSMacros71\MyMacros\"

PAUSE
(END OF FILE)

Feel free to augment this and post your new batch file in this thread. Enjoy.

-Todd Morrow

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.