Article View: news.software.readers
Article #248823--
From: Jeff-Relf.Me
Date: Wed, 15 Feb 2012 20:04
Date: Wed, 15 Feb 2012 20:04
70 lines
4187 bytes
4187 bytes
<PRE>
"ThePirateBay.SE" has a cracked copy of Visual Studio 2010,
Ultimate edition. The "Read Me.TXT" instructions say:
1. Install VS·2010; then, with the internet off,
put in the serial [ YCFHQ-9DWCY-DKV88-T2TMH-G7BHP ].
2. Use a text editor to put the following in your "hosts"* file:
[ *: "C:\Windows\System32\drivers\etc\hosts" ]
# Microsoft Activation
127.0.0.1 mpa.one.microsoft.com
127.0.0.1 sls.microsoft.com
127.0.0.1 genuine.microsoft.com
127.0.0.1 wat.microsoft.com
127.0.0.1 mpa.microsoft.com
3. Restart the PC; then, to get VS·2010 SP1*,
run Windows Update several times**.
[ *: SP1 is the latest service pack ]
[ **: takes hours, lots of reboots ]
unlike VS·2008, VS·2010's toolbar buttons are drawn
via the "Windows Presentation Foundation" (WPF). Direct X.
I have about 80 hand·crafted toolbar buttons.
To add, remove, or re·arrange them, I manually edit
VS·2010's settings file*. [ *: e.g. "Jeff_Relf.VSsettings" ]
If I did this using the "Customize" interface*,
all of my buttons will revert to the default look;
e.g. I'd see "Macros.__.X.Long.Macro.Name"** instead of "◀▶"***.
[ *: Instead of drag·and·drop, as VS·2008 does it,
I must plow through deep menus, hundreds of times ]
[ **: 80 of these ultra·wide buttons take up ·tons· of screen space,
lots of rows, obviously... and they're as ugly as fuck ]
[ ***: Many of my buttons are Unicode glyphs, none are icons/bitmaps;
porting from VS·2008, you'll lose your custom icons/bitmaps ]
My buttons ( pictured ), about 80 of them, when running VS·2010:
<img Src="http://Jeff-Relf.Me/Visual-Studio-2010-Toolbars.PNG"
Alt="My toolbar buttons, about 80 of them, when running VS·2010">
To edit it, I rename the extension to ".VSsettings.TXT";
I wrote some code* to wrap it. [ *: http://Jeff-Relf.Me/Wrap_HTML.CPP ]
When wrapping "< Tag >data data< /Tag >", for example,
">data data<" must not be wrapped*. [ *: due to a bug, apparently ]
Toolbar buttons are "< add >" tags;
"< modify >" tags define the look, the nick.
For example, manually deleting the following deletes
the button that runs my "Stations" macro ( VBA ):
< add CmdPri="400f8001"
Group="{08977B36-086F-4E46-9674-5978B39D6581}:00000202" GroupPri="40000001"
Menu="{08977B36-086F-4E46-9674-5978B39D6581}:00000602">Macros.__.X.Stations< /add >
In a similar fashion, buttons can be manually added and re·ordered.
«CmdPri="400f8001"» determines the order of the buttons;
usually it steps "8000" hex at a time, but the steps can be smaller.
"Group", "GroupPri" and "Menu", together, ID the toobar.
Technical Details
Message-ID:
<Jeff-Relf.Me@2012_Feb.15^0.04.pm>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.mbox.zip!wr5ni29090pbc.0!nntp.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!s09-11.readnews.com!unm2.readnews.com.POSTED!not-for-mailReferences:
<5PudnXF-yPXJAqfSnZ2dnUVZ_rqdnZ2d@bresnan.com> <jhehv6$ofn$2@dont-email.me> <ZYmdnX-uKZYpfKfSnZ2dnUVZ_jednZ2d@bresnan.com> <jhf5ho$25v$1@dont-email.me> <OsqdndpVNORkyKbSnZ2dnUVZ_hGdnZ2d@bresnan.com> <jhgm8a$4jr$3@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@2012_Feb.15^0.04.pm> Subject: -- Date: Wed, 15 Feb 2012 20:04:32 +0000 From: Jeff-Relf.Me References: <5PudnXF-yPXJAqfSnZ2dnUVZ_rqdnZ2d@bresnan.com> <jhehv6$ofn$2@dont-email.me> <ZYmdnX-uKZYpfKfSnZ2dnUVZ_jednZ2d@bresnan.com> <jhf5ho$25v$1@dont-email.me> <OsqdndpVNORkyKbSnZ2dnUVZ_hGdnZ2d@bresnan.com> <jhgm8a$4jr$3@dont-email.me> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.mbox.zip!wr5ni29090pbc.0!nntp.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!s09-11.readnews.com!unm2.readnews.com.POSTED!not-for-mail Received: by 10.68.241.37 with SMTP id wf5mr1725751pbc.4.1329336273825; MIME-Version: 1.0 X-Trace: DXC=]:<amR0>gLK`LjJD:keXZLG^cGF?V7mID]G0e@Sk_WTBT6RVf`ncYmF_EZTl5L<4XEBKcFFYV?A\B@e6hMFFb53AZR>h9dG0QUI2jDQ`FIA1[M X-Complaints-To: abuse@blocknews.net Newsgroups: comp.os.linux.advocacy,news.software.readers User-Agent: Jeff-Relf.Me/X.TXT Lines: 69 Organization: readnews.com - News for Geeks and ISPs NNTP-Posting-Host: b0bfd832.newsreader.readnews.com X-Received-Bytes: 3779 Content-Type: Text/HTML; charset=UTF-8