Hi Mr Dunn, I saw your article "WTL for MFC Programmers, Part VI - Hosting ActiveX Controls" in code project.
I want to run an internet explorer on my application, which is C++ and on Microsoft Visual Studio (on PocketPc or Windows Mobile Platform). I use a class CWebBrowser to work with this Control. I use RegEdit for Mobile and I can't find the GUID of that control on my mobile, therefore the control does not create.
When running Aero, the tabs in FF 2 are bloody awful - it's too hard to tell where the tab boundaries are because they're all gray. So I was poking around extensions and came upon Colorful Tabs[^], which makes each tab a different color. Right now I have 4 tabs and they are gray, green, pink, and red. Nice! But then I had the problem of not being able to tell which tab was the current one. Sure, the text is bold but that isn't easy enough to spot at a glance. So I added this to my userChrome.css:
As one of the few, the proud, the VC6 users, I figured I'd post my experience installing it on Vista for posterity. Welcome to all of you viewing this from the future (or 2007, as I am calling it currently).
I started with: Vista RTM Ultimate Visual Studio 6 Enterprise VS6 SP6 October 2001 MSDN February 2003 Platform SDK (all CAB files unzipped and burned to CD)
Before we start: Vista will show some warnings about programs having compatibility problems with Vista. Since I use VC6 for work, I threw caution to the wind and ignored the warnings. I've had no troubles yet.
Run the VS6 installer. The first thing it will do is update the Java VM. Once that's done, let it reboot the machine.
Once you've rebooted and relogged, the install wizard will come up automatically. Close the wizard right away. The wizard is not running elevated, so it won't be able to do its job.
Rerun the wizard and install the VS components you want.
When you get to the part where it prompts you to install MSDN, I said no because I'll install it later. Continue on with the wizard (I don't install any of the additional stuff) and finish the process.
Put in your Oct 2001 MSDN disc and run the installer on the disc. I had no hiccups at all installing this.
Run VS6 once and close it right away. I got in the habit of doing this because years and years ago, the Platform SDK wouldn't install if you had not run VS once yet.
Install VS6 SP6. Again, I had no troubles here. Run VS once and close it just to be sure.
Install the Platform SDK. Because the installer uses an ActiveX control, you'll be stuck if IE is not your default browser. If this is the case, either make IE the default temporarily, or drag default.htm from the root of the disc into IE. IE will ask you if it's OK to run active content to run from the local machine, say yes.
Use the PlatSDK Visual Studio Registration tool to add the PSDK dirs to the VS include and lib paths.
Optional: Create a shortcut to msdev (I pin it to the Start menu) and set the shortcut properties to always run the app elevated. I need to do this because otherwise I can't build DLL COM servers; regsvr32 needs write access to HKCR and HKLM, which it won't have unless the IDE is running elevated.
Run VS6 and enjoy your IDE! In beta 2, MSDN didn't run unless it was elevated, but this has been fixed in RTM.
I also use the WMP 10 Player SDK and that too installed without a hitch.
Step 0: use Notepad to create a file named msjava.dll (use "" around the filename to stop Notepad adding a .txt extension) in Windows\System32.
This fools the VS6 installer into thinking that the MS Java VM is already installed, so it does not run the VM installer. This means that it won't prompt for the reboot so steps 1 and 2 are not required.
If you have already followed these steps go to Change/Remove Programs and uninstall the Microsoft VM. The version that VS6 installs is highly vulnerable to attack.
Hi, Mike. Because there were some bugs and mistakes in Simon's translations, I re-translated your articles, both of the 1st edition and the 2nd edition. I had emailed you thus you didn't reply to me, so, this note is here. Thanks for your perfect work.
If you post translations of articles PLEASE let me know - or make a note in any links that the translation has been approved by the original author. I get many, many reports of plagarism and have to be vigilent about protecting our authors which means I can be a little trigger happy.
I'm guessing you've translated all 10 now, since I got 10 notifications about posts to the WTL articles. However, I guess you self-deleted right away because the posts don't exist, and the URLs didn't come thru Gmail properly so I have no idea what the URLs are.
This situation is going to be highly confusing for anyone who comes along later and finds these translations with a web search.
or, "I spent good money on this thing... might as well blog about it"
1. Gretchen[^] is a cool gal. 2. Raymond[^] is a really coolguy. 3. People love Anders Hejlsberg and Don Box. Don because he's whacky, Anders because he's down-to-earth and gets to demo the cool stuff (XLINQ especially). 4. IE 7 Protected Mode (low rights mode) is going to cause headaches for legit toolbars too (like mine). 5. Even us jaded geeks can still mark out for stuff occasionally. Witness the "show your open apps as a stack of windows so you can flip through them" demo in the keynote. 6. Lots of people have used my WTL articles. I had 3 total strangers come up and introduce themselves, saying they recogized my name and they had really liked the articles. Now I feel bad for not updating them for so long since some of the code won't compile in VC7. 7. An Alienware laptop can double as a leg exercise machine, plus the heat will soothe your muscles afterwards. 7a. I want one. 8. The first feature people will want to turn off in Longhorn is the glow that moves across progress bars. Yuck. 9. The first feature that shareware devs will steal from Longhorn and make work on XP is the thumbnails for minimized apps when you point at their taskbar button. 10. TaskDialog() and TaskDialogEx() - at least someone is looking out for us "crusty old Win32 developers." 11. The BoFs I attended turned out to be busts, but at least I got a nice shot of the Convention Center at night[^]. 12. Being right next to thousands of free t-shirts [^] is a sub-optimal location to find oneself in. 13. The beta version of 1ClickPicGrabber[^] caused a reproducible bluescreen on Longhorn beta 2. 14. Avalon is going to make for some really nifty animation/gfx apps... and some really annoying ones too. Videos playing in realtime on playing cards?[^] Imagine everyone doing that...
Don Box is quiet a guy. I saw him speak at TechEd 2000 in Amsterdam, where he spent the entire lecture behind a lectern. When he finally stopped speaking, he walked out onto the stage and he had't been wearing any trousers the entire time Very funny guy and not afraid to tell it how it is.
This week's poll, and the serendipitous arrival of a new Joel on Software article[^], sparked some thoughts about how I got into this whole programming thing.
In mid-January, 1995, I got my first job in the software biz, as an Associate QA Engineer at Symantec[^]. I think I impressed my eventual boss not with my half-page résumé, but with the spell checker program that I brought with me to show that I did, in fact, know C++.
Once I was there, my boss gave me a crash course in Win32 stuff, but I was pretty much on my own as far as learning. (Remember this was 1995*, no public 'net yet, certainly no awesome resources like CP, and even back then I had come to the conclusion that Usenet sucked.) After much self-teaching, book-reading, and article-writing, I can say it's been quite a journey. Not always good or enjoyable, but then what is?
The traditional 10 year anniversary gift is, if I'm not mistaken, a 21" widescreen LCD monitor. The collection plate will be passed around now...
*Gawd I feel so old when I say things like that, or "this was before the net" or "this was before cell phones" or even the dreaded "this was before Google"