Tuesday, October 21, 2008

Adobe Acrobat Javascript Links

Sample Scripts (PDFScripting.com)
PDFScripting is a subscription site with some free content. It's $100 / year, or $40 / 3 months

Acro-dialogs tool (windjack.com)

Wednesday, November 14, 2007

Decrease visual studio build time

Mark folders as hidden

This post tells you to mark folders as "Hidden" if you don't want visual studio to compile them.

Close toolbox, turn of animation, etc.
More tips

  • Remove the toolbox tab from your workspace

  • Turn off window animation by unchecking the box found under Tools … Options … Environment … General … Animate Environment

  • Disable startup page : Tools … Options … Environment … Startup

  • Disable virus checking on code directories.

  • Check for spyware

  • Remove the properties tab


Switch from a web site project to a web application project

  • Switch from a web site project to a web application project

  • Keep the number of files in /app_code small

  • Enable page level building for your web-site projects (Project-Properties-Build = Build Page, Project-Properties-Build Solution Action = unchecked)


Make sure all your projects reference the same version of references

  • If you have two projects in your solution, one of which references version 1.0 of a dll, and the other references 1.01, you can have problems

Tuesday, November 13, 2007

Cascading style sheets

I can never remember how cascading style sheets work. Usually, I find sample code on the web site I'm working on, and then mofidy it. So I don't forget, here's a style. A really ugly one, but still a style.

p {
font-family: arial;
color=red;
background-color=blue;
}

Lots of examples at w3schools.

Tuesday, September 18, 2007

Creating a new code version in visual sourcesafe

We needed to "branch" a new version of visual sourcesafe, but we couldn't get it working because the "branch" link was always greyed out when we clicked on a file.

Finally figured out that you have to "Share" the file, before you can branch it. Sharing + branching is essentially the same as copying, but do they call it that? Nooooooo. This microsoft page had some help, but it wasn't very clear. Here's how we got it to work.

  1. Right-click the parent directory (the shared files will go in a sub-directory of this directory
  2. Select "Share to ... blahdeblahdeblah ..." on the menu.
  3. A dialog will appear. Navigate to the directory you want to copy.
  4. Click the "Branch after share" checkbox.
  5. Click "Share"
  6. Name your new directory, and click the "Recursive" checkbox (to copy all sub-directories)

Very basic instructions for LDAP

The Accessing Global Address List article at csharpcorner gives very basic instructions on setting up a website with a single page that displays users from Active Directory. It doesn't give any troubleshooting tips, though.

Encrypting connection strings in web.config

Microsoft's Encrypting Configuration Information Using Protected Configuration walkthrough explains how to encrypt connection strings in your web.config file. Looks like you add a section to the connectionstrings tag that handles encryption.

Monday, September 17, 2007

Azman

There is a program called AzMan that seems to help manage roles / users for a website. It's a free microsoft thing. Here is a how-to for setting the thing up . Probably doing a web search for AzMan would shed some light on this, but I can't be bothered with that right now. I just want to blog it here so I don't forget about it, if I need it someday.