Office VBA: Installing Self-signed Digital Certificates
Comments [1]
Comments [0]
Almost four years ago for my birthday, my family got me a betta fish I named "Herman Schnauzer." He was a good fish, but this last week he took his last breath, and went to the happy swimming pool in the sky. He almost made it four years with us.
This week at work, I've caught two mice! One with the amazing, humane, "Mice Cube," which I highly recommend. No one I've ever talked to has ever failed to make a catch with this trap. This was my second with one. But yesterday, we found the little toddler mouse whose mother we did away with the day before. We found him wandering around under the desks in the daytime, the poor little guy. I put a Cheeto out on the floor and he came out and grabbed it and ran back under the desk. So I named him "Cheeto." He came right out in to the open again, apparently not that afraid of all of us in the office who were watching, and I caught him with a cardboard box. He was such a tiny, adorable, little mouse, I brought him home and was going to keep him; but the internet convinced me that it's not exactly safe to take a wild or house mouse as a pet. So today I stopped by the pet store. We still had Cheeto in his box, and I was thinking I would buy him a friend, and they had these cute little dwarf hamsters at the pet store. So I bought one and brought it home. The dwarf hamster is small but still over twice as large as Cheeto. I ended up setting Cheeto free in our backyard. And the hamster we named "Nibbles." The pet store people agreed she is a girl. This is her sleeping in the bottom tier of the Critter Universe Great Wall. She can't jump at all, so she can't even make it up to the higher levels. Cheeto would've done it no problem. As I get older I think I'm realizing that I like animals, smaller ones generally, more than I realized.Comments [2]
This article is a must-read for everyone who wants to work safely on the internet.
Personally, I use Keepass to keep all my passwords saved on my computer in an encrypted format. And I use LastPass together with my browser to automatically fill in passwords on websites that I regularly surf to - however, I do not allow LastPass to save any passwords or login information for any of my financial sites. I enter that using Keepass's autotype feature. I know it's convenient to have your browser store "cookies" so that websites remember your information from visit to visit, but this is the setting I use in Firefox right now so that cookies are not saved after I close Firefox:
Comments [0]
Comments [0]
Comments [0]
Comments [1]
Comments [0]
First of all, let me say at the outset that if there is any way at all you can use Windows Powershell instead of VBscript, do it. Powershell is the future of Windows scripting.
But we all have to go back and fix things from the past sometimes, and when we do it's nice to have some tools.
One of the great tools I use is Notepad++, a free and highly configurable text editor for Windows.
You can configure Notepad++ to open up a debugging program to step through the file you've currently got open. First you have to edit your %APPDATA%\Notepad++\shortcuts.xml file. In the <UserDefinedCommands> element, add this line:
<Command name="Debug VBscript" Ctrl="no" Alt="no" Shift="no" Key="0">wscript.exe //D //X "$(FULL_CURRENT_PATH)"</Command>
This will add a command to the Notepad++ "Run" menu, that will execute the currently saved version of your open file with wscript.exe, with the //D switch to tell it to debug if it encounters any errors, and the //X switch to immeditely throw an error at the beginning of execution.
Next, what debugger should you use? Often you can get Microsoft Script Debugger to come up, but if it all possible, see if you can use Microsoft Script Editor. Microsoft Script Editor comes with Microsoft Office; I can find mine in %PROGRAMFILES%\Microsoft Office\OFFICE11. It's called MSE7.EXE.
It took a little doing to figure out how to get it to come up as a debugger. I think this registry edit should do the trick. Create a .reg file with these contents and merge it with your registry [Disclaimer: DO ONLY AT YOUR OWN RISK! Making a mistake modifying the registry can crash your computer]:
For more help check here:
http://support.microsoft.com/kb/308364
Comments [2]
Comments [0]