At the risk of tooting our own horn, Halo 3 won’t come right out and tell you how it ends you have to play – and win – the game before you can find out the dramatic conclusion. Just like that our Inbox has a new subfolder named Scripts Received. Once we’ve done that we can create a new folder simply by calling the Add method (part of the Inbox’s Folders collection), passing the name of the new folder as the sole method parameter: Set objNewFolder = (“Scripts Received”)
Nevertheless, you still have to call the GetNamespace method and make the connection.)įrom there we use this line of code to return an object reference (objFolder) to the Inbox folder: Set objFolder = objNamespace.GetDefaultFolder(olFolderInbox) (And yes, the MAPI namespace is the only namespace you can bind to. After defining the constant, we create an instance of the Outlook.Application object, then use the GetNamespace method to bind to the MAPI namespace. We start out by defining a constant named olFolderInbox and setting the value to 6 we’ll use this constant when we bind to the Inbox folder in Microsoft Outlook. Let’s see if we can figure out how Microsoft Outlook Folder Creator 1 works. “Wait: which one is the X button?”įortunately one of the nephews came by and, to put it euphemistically, put the Scripting Dad out of his misery. “I am pressing the X button!” the Scripting Dad kept replying.
“Dad, just press the X button,” the Scripting Son kept saying. Regardless of which button or combination of buttons he pushed, he could never get onboard. Does that mean that the Scripting Dad had problems flying this vehicle? No, he had trouble just getting into the vehicle. “You can’t possibly lose now.”Īnd here we thought the Scripting Son knew his father better than that. “Oh, you are so lucky,” said the Scripting Son.
How bad could that have been? Well, shortly after killing his own teammate – by accident, we hasten to add – the Scripting Guy who writes this column stumbled upon some flying vehicle, a flying vehicle armed with deadly missiles or bombs or something. Why won’t he play Halo 3? Well, a few years ago the Scripting Guy who writes this column got talked into playing the original Halo with his then-13-year-old son and his two nephews. To be honest, the Scripting Guy who writes this column will probably never even play Halo 3, let alone get his very own copy of it. In case you’re wondering, however, the answer is: no, the Scripting Guy who writes this column did not stand in line at midnight in order to be one of the first people to receive a copy of Halo 3.
After all, if you watch TV, read magazines, drink soda or do just about anything then you can’t help but know about Halo 3.Īnd the Scripting Guys watch a lot of TV and drink a lot of soda.
No, hey, just kidding: even people as out-of-it as the Scripting Guys know about Halo 3.
You know, this is an exciting time here at Microsoft after all, last night at midnight we officially released one of the most highly-anticipated software products ever created: a script that can create a new folder in Microsoft Outlook! Hey, Scripting Guy! How can I create a new folder in Microsoft Outlook?