Thursday, May 7, 2009

Outlook 2003 Macro - Move messages to folder, create folder, Inbox archive

Sub Archive()

    On Error Resume Next
    Dim EmailArchiveFolder As String
    'this folder, if doesnt already, will exist in the Inbox folder
    EmailArchiveFolder = "Inbox_Archive"

    Dim objFolder As Outlook.MAPIFolder, objInbox As Outlook.MAPIFolder

    Dim objNS As Outlook.NameSpace, objItem As Outlook.MailItem


    Set objNS = Application.GetNamespace("MAPI")

    Set objInbox = objNS.GetDefaultFolder(olFolderInbox)

    Set objFolder = objInbox.Folders(EmailArchiveFolder)

'Assume this is a mail folder

 
    If objFolder Is Nothing Then

        MsgBox "This folder doesn't exist! It will be created.", vbOKOnly + vbExclamation, "INVALID FOLDER"
        Set objFolder = objInbox.Folders.Add(EmailArchiveFolder)

    End If
 

    If Application.ActiveExplorer.Selection.Count = 0 Then

        'Require that this procedure be called only when a message is selected

        Exit Sub

    End If


    For Each objItem In Application.ActiveExplorer.Selection

        If objFolder.DefaultItemType = olMailItem Then

            If objItem.Class = olMail Then

                objItem.Move objFolder

            End If

        End If

    Next
 

    Set objItem = Nothing

    Set objFolder = Nothing

    Set objInbox = Nothing

    Set objNS = Nothing


End Sub

Monday, April 27, 2009

Flash Video (FLV) Editor

Limited, but useful.  Install Adobe Air first

http://richapps.de/?page_id=120


Tuesday, February 24, 2009

Putting NTBACKUP back in Vista

Windows Vista includes a whole new backup tool called "Backup Status", which doesn't support BKF-backups made with NTBackup. "Backup Status" can at the same time only make backup of certain filetypes and folders.

Microsoft has released Windows NT Backup - Restore Utility, which allows Windows Vista to restore files saved in BKF-files.

If having a Windows XP system around, then it is possible to copy certain NTBackup files into Windows Vista, which will allow Windows Vista to backup and restore files with NTBackup. Create a new folder on Windows Vista ex. C:\Program Files\NTBackup and copy the following files from Windows XP to the folder:
  • C:Windows\System32\Ntbackup.exe
  • C:Windows\System32\Ntmsapi.dll
  • C:Windows\System32\Vssapi.dll
  • C:Windows\Help\Ntbackup.chm
  • C:Windows\Help\Ntbackup.hlp
Note to run the Restore Utility or NTBackup on Windows Vista, then one has to enable Removable Storage Management, or else one will get an NTSMAPI.dll error.
  1. Open Control Panel and under "Programs and Features" click "Turn Windows Features on or off"
  2. Enable "Removable Storage Management" and press OK
Related Configure NtBackup for faster throughput

Credits www.petri.co.il

Tuesday, February 10, 2009

Reset Joomla Admin Password

You cannot recover the existing password, but you can reset it to a new password.
The passwords are stored using a one-way MD5 hash which prevents recovering the password.
But you can reset the password by editing the password field in the database.
Set the password to a known value and then you may log-in using that new password.

The password is stored in the MySQL database jos_users  table password  field. (change this for your table prefix if different)
Use a MySQL utility such as phpMyAdmin or MySQL Query Browser to edit this field.
Open the table, find your admin username, and then select that row for editing.
The password must be hashed, you cannot simply enter text into this field.

Set the password to a known value
- password = "this is the MD5 hashed password"
------------------------------------------------------
- admin = 21232f297a57a5a743894a0e4a801fc3
- secret = 5ebe2294ecd0e0f08eab7690d2a6ee69
- OU812 = 7441de5382cf4fecbaa9a8c538e76783
Paste the hashed password into the field, save the change, and log-in using the new password.
Immediately change your password to something more secure!

Friday, December 19, 2008

ActiveX for RDP or Remote Web Workplace (RWW - SBS2003) Will Not Install

You may get an error similar to:

this portion of the remote web workplace requires the microsoft remote desktop activex control

Suggestion 1:

Firstly, please ensure you have added https://yourremoteserver.com
as a trusted site in IE. You can refer to the following steps:

a. Start Internet Explorer.
b. On the Tools menu, click Internet Options.
c. On the Security tab, click Local intranet zone, and then click Sites.
d. Click Advanced.
e. In the Add this Web site to the zone box, type the server's domain name, https://yourremoteserver.com, and then click
Add.
f. Click OK, click OK, and then click OK.
 
Suggestion 2:
 
a. In Internet Explorer, click the menu Tools-->Manage Add-ons-->Enable or Disable Add-ons
b. On the 'Show:' dropdown, choose 'Downloaded ActiveX Controls'
c. Make sure the 'Microsoft RDP Client Control (redist)' is Enabled (if not, Enable it!)

Friday, November 28, 2008

Send Errors to a remote browser in IIS7

I have a IIS7 site hosted with Godaddy...needed to see ASP error and PHP errors.  Here is the entire web.config file.

<?xml version="1.0"?>
<configuration>
  <system.webServer>
      <httpErrors errorMode="Detailed"/>
      <asp scriptErrorSentToBrowser="true"/>
  </system.webServer>
</configuration>

Wednesday, November 26, 2008

Mail Enable Public Folders

Remember after you mail enable a public folder and choose what SMTP address it will have to set Anonymous user permissions. 

Almost all problems with mail-enabled public folders are permissions issues. It is important to give the "Anonymous" user "Contributor" rights in order to actually receive mail in such a folder.

To check and change rights open Exchange System Manager and navigate to Administrative Groups > your administrative group > Servers > your server > First Storage Group > Public Folder Store > Public Folders and the properties of your public folder. Then go to the "Permissions" tab.

Select the "Client Permissions" tab and view or modify your permissions settings.