Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Office   (RSS)

Code Repurposing and Untrustworthy Data

This is just a generic launching place for four other blog entries, since I seem to send them to people on a regular basis and sending one URL is easier than four :-) Code repurposing · http://weblogs.asp.net/ptorr/archive/2003/10/16/56270.aspx · http://weblogs.asp.net/ptorr/archive/2003/10/21/56296.aspx
Posted by ptorr | 1 Comments
Filed under: , ,

A useful regfile for VSTO

Here's a quick post with a regfile you can use to help you test your VSTO projects. Cut and paste the text below into a text file (be careful of line wrapping) and save it with a reg extension. Then open up regedit (as a member of the Administrators group)
Posted by ptorr | 8 Comments
Filed under: , ,

VBA Take Two: Responding to some comments

The other day, Karl Levinson added a comment to my previous entry about the Outlook OM. He raises some interesting points, so I thought I'd reply here. (Karl, please don't take any of this personally; I hear the same arguments from people all the time,
Posted by ptorr | 5 Comments
Filed under: ,

Why does Outlook have an OM?

This one could be controversial ;-) In a recent comment, Edd James (note to Edd: that link gives a 403) asks why Outlook and Excel " need this ability to run scripts/macros [?]" First I want to clear up a common misconception about Outlook: Despite what
Posted by ptorr | 10 Comments
Filed under: , ,

Follow up to "Don't trust that data"

Eric makes some good points in a comment to my last post . Nevertheless, the forces of evil within me compel me to respond anyway. (You should have blogged it, Eric ;-) ). Eric's main point is that the employee doesn't need to use formulas in order to
Posted by ptorr | 1 Comments
Filed under: , ,

Don't trust that data!

A while ago I wrote a couple of blog entries on code repurposing and some mitigations , and one of the main causes of that problem is that developers inherently trust data. The text box caption says Name , so it's always gonna contain the user's name,
Posted by ptorr | 2 Comments
Filed under: , ,

Balancing Security and Usability

I'm often tempted to write about viruses and what I think the next "innovation" might be, but then I get scared that I might get put in jail (or deported) should any of my ideas ever see the light of day. (Not that I think the virus writers need any help
Posted by ptorr | 14 Comments
Filed under: , ,

Andrew Whitechapel's blog

Laugh-a-minute Andrew Whitechapel has started a blog at http://blogs.officezealot.com/whitechapel/ Andrew (like the other Andrew ) hails from the UK, and even though he likes the Pet Shop Boys he promises to try very hard not to mention them. He should,
Posted by ptorr | 1 Comments
Filed under: ,

Don't use ApplicationClass (unless you have to)

A comment on Mike Howard's blog exhibits a common problem that I see time and time again: developers are creating instances of Word.ApplicationClass or Excel.ApplicationClass in their projects. Even though it's the wrong thing to do, I don't blame them
Posted by ptorr | 15 Comments
Filed under:

Beware of AutoSave and DocumentBeforeSave

One of the cool things about Word is that it auto-saves your work so that if the machine dies or the app crashes you can get most of it back again. One of the other cool things about Word is that you can customise the built-in dialogs -- such as the Save
Posted by ptorr | 9 Comments
Filed under: ,

Word Shortcuts

Ever wanted to move some text around in a Word document, but didn't want to go through the hassles of copy and paste? Just select the text, hit F2 , move the cursor to where you want the text to be, and hit Enter . Using Shift+F2 will copy the text instead
Posted by ptorr | 8 Comments
Filed under:

You can use Excel templates with VSTO 1.0

If you've tried out VSTO (and you should :-) ) then you may have noticed that Word has both Document and Template projects whilst Excel has only a Workbook project. If you were thinking that the reason was because Excel was naughty but Word was nice,
Posted by ptorr | 4 Comments
Filed under: , ,

Hacked up using dotWord

I'm posting this with a hacked-up version of WordBlogX that has been trivially modified to talk to the .Text web service instead. Hopefully it will all go well, in which case I can continue using Word to write my posts, and sooner or later Rob will figure
Posted by ptorr | 1 Comments
Filed under: ,

What does "Save As..." mean, anyway?

There are at least nine different meanings of "save" in an average application; the computer doesn't really know what you mean when you hit that little floppy-disk icon on the toolbar.
Posted by ptorr | 4 Comments
Filed under: ,

Cross-application coding and other questions

Some questions about how people write more complicated VBA code
Posted by ptorr | 5 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker