all about computer information and technology
RSS icon Email icon Home icon
  • How do I Convert Word to PDF?

    Posted on July 29th, 2009 admin 64 comments

    Portable Document Format (PDF) is a file format developed by Adobe Corporation. It is used to easily transfer documents via the Internet.

    PDF files are protected from changes and retain the exact elements of a presentation thereby avoiding problems like missing fonts or broken layouts. PDF files can be viewed by using Adobe Acrobat Reader, an easily downloadable application supported by all OS-Windows, Linux, and Mac OS X.

    Converting MS Word Documents to PDF

    Sending a uniform file to many recipients, transferring files from one OS to another, and having a presentation printed out in computer shops are just few of the many reasons why users convert their files to PDF. There are many applications that can be used to view and convert Word, Excel, and PowerPoint files to PDF like Adobe Acrobat, OpenOffice, and Word to PDF Converter V3.0 among others.

    There are also sites like doc2pdf and ExpressPDF that offer easy Word-to-PDF conversion without downloading any program. Upload the file you want to convert, and you can get it back in PDF format within minutes.

    Converting MS Word Documents to PDF Using a Document Converter

    Converting MS Word files to PDF is just a matter of choosing your document converter as your printer. You can set your document converter as the default printer by going to Start > Control Panel > Printers and Faxes. In the following window, right click your document converter then choose Set As Default.

    If you have another printer attached, you can choose your document converter from the Print window pop-up. To do this, follow the steps below.

    Steps to Select Document Converter as Non-Default Printer

    1. Open the document in Word.
    2. Choose File then Print.
    3. Choose your document converter (Adobe PDF printer or Universal Document Converter).
    4. If you’re using Adobe PDF printer, you can just click OK, specify the filename and location for your PDF file, then Save it. If you’re using the Universal Document Converter, click Properties then choose Document to PDF, Color, Multipage in the scroll bar. Click OK then Print.

    Converting MS Word Documents to PDF Using OpenOffice

    If you have OpenOffice installed or if you’re using Linux, you can convert your document to PDF by using Macro. Follow the steps listed below to do this.

    Steps to Use Macro on OpenOffice to Convert MS Word Documents to PDF

    1. In OpenOffice, click Tools > Macros > Macro.
    2. Click Organizer then choose the Libraries tab.
    3. Set Application/Document to soffice, click New then name your library.
    4. Click on the Modules tab, select your library then click New Module. Rename the module to Conversion for easier access.
    5. When a window pops up, paste the following code:

    Sub ConvertWordToPDF(cFile) cURL = ConvertToURL(cFile)

    ‘ Open the document.
    ‘ Just blindly assume that the document is of a type that OOo will
    ‘  correctly recognize and open — without specifying an import filter.
    oDoc = StarDesktop.loadComponentFromURL(cURL, “_blank”, 0, Array(MakePropertyValue(”Hidden”, True), ))

    cFile = Left(cFile, Len(cFile) - 4) + “.pdf”
    cURL = ConvertToURL(cFile)

    ‘ Save the document using a filter.
    oDoc.storeToURL(cURL, Array(MakePropertyValue(”FilterName”, “writer_pdf_Export”), ))

    oDoc.close(True)

    End Sub

    Function MakePropertyValue( Optional cName As String, Optional uValue ) As com.sun.star.beans.PropertyValue
    Dim oPropertyValue As New com.sun.star.beans.PropertyValue
    If Not IsMissing( cName ) Then
    oPropertyValue.Name = cName
    EndIf
    If Not IsMissing( uValue ) Then
    oPropertyValue.Value = uValue
    EndIf
    MakePropertyValue() = oPropertyValue
    End Function

    6. Save and exit OpenOffice.

    Use OpenOffice Macro on Linux to Convert MS Word Documents to PDF

    Create a shell script in /usr/local/bin/:

    #!/bin/sh

    DIR=$(pwd)
    DOC=$DIR/$1

    /user/bin/oowriter-invisible
    “macro://Standard.Module1.ConvertWordToPDF($DOC)”

    Run your shell script on the Microsoft Word document and it will create a PDF file.

    Use OpenOffice Macro on Windows to Convert MS Word Documents to PDF

    After closing OpenOffice, create or open the file. Type this command:

    @ECHO OFF

    “c:\program files\OpenOffice.org1.1.0\program\soffice”-invisible
    “macro:////NameofyourLibrary.Conversion.ConvertWordToPDF(%1)”

    Rem “c:\program files\OpenOffice.org1.1.0\program\soffice” -invisible
    “macro:////NameofyourLibrary.Conversion.test(%1)”

    From the command line, type: convert c:\docu9.doc. The docu9.pdf file can be found in your C:\ folder.

    Converting MS Word Documents to PDF on Mac OSX

    Converting documents to PDF in Mac OS X is almost the same as converting it in Windows. However, you don’t need a document converter on Mac OSX for converting MS Word documents to PDF. Follow the steps below to convert your word file to PDF on Mac OSX.

    Steps to Convert MS Word Documents to PDF on Mac OSX

    1. Open your word file in your text editor.
    2. Click File then Print.
    3. In the Print window, click the PDF button at the bottom-left then select “Save as PDF…” option.
    4. Choose the location, rename your PDF file, then click Save.

  • Uninstall Trend Micro OfficeScan Corporate Edition Client Manually

    Posted on July 18th, 2009 admin No comments

    Trend Micro OfficeScan is normally deployed in corporate network environment to provide endpoint security. Administrators can remotely uninstall the Office Scan client, and user at the workstation can uninstall the client program using built-in uninstall mechanism too (i.e. Add and Remove Program in Control Panel). If for some reason, the Office Scan client cannot or unable to uninstall, or user doesn’t have the required password to remove the OfficeScan client, try the following workaround to manually uninstall and remove Trend Micro OfficeScan.

    • Go to Control Panel Services (services.msc), and stop the following services:

    OfficeScanNT Listener
    OfficeScanNT RealTimeScan
    OfficeScanNT Personal Firewall (if enabled)

    • Run Registry Editor (regedit.exe).
    • Navigate to the following registry key hive:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es

    • Delete the following keys (if available):

    Ntrtscan
    Tmlisten
    TmFilter
    VSApiNt
    TMPreFilter
    TM_CFW
    OfcPfwSvc

    • Navigate to the following registry hive:

    HKEY_LOCAL_MACHINE \SOFTWARE\TrendMicro

    or

    HKEY_LOCAL_MACHINE \SOFTWARE \Wow6432Node\TrendMicro (in 64-bit Windows operating system)

    • Delete the following keys (if available):

    OfcWatchDog
    Pc-cillinNTCorp or OfficeScanCorp (depending on the client)
    RemoteAgent
    PC-cillin
    CFW

    • Browse to the following registry key hive:

    HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft\Windows\CurrentVersion\Run

    • Delete the OfficeScanNT key.
    • Delete the OfficeScan program group (Trend Micro OfficeScan Client) from the Windows Start menu.
    • Restart the computer.
    • Delete the directories that contain the OfficeScan Client program files, normally located inside Program Files folder.

    Above steps work for OfficeScan 7.x client in Windows 2003/XP/2000/NT/Vista/2008 machine. For Trend Micro OfficeScan Corporate Edition (OSCE) - 5.58, OfficeScan Corporate Edition (OSCE) - 6.5, Client / Server / Messaging Suite for SMB - 2.0, follow these manual uninstallation steps instead.

    • Delete the Trend Micro OfficeScan Client program shortcut in Start Menu, by right click on it and then choose Delete.
    • Delete the installed files located in the OfficeScan folder under the \Program Files\Trend Micro\OfficeScan Client directory.
    • Open the Registry Editor (regedit).
    • Navigate to the following registry key:

    HKEY_LOCAL_MACHINE\Software\TrendMicro

    • Delete the following keys:

    OfcWatchDog
    PC-cillin
    PC-cillinNTCorp

    • Also delete the following registry hives:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run\OfficeScanNT Monitor
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\OfficeScanNT
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ntrtscan HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\tmfilter
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\tmlisten
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\TmPreFilter (for Win2003)
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\VSApiNt

    • Right click on My Computer, click Manage and then select Device Manager.
    • Enable the Show Hidden Devices option.
    • Remove the following hidden devices in Non-Plug and Play Drivers tree pertaining to OfficeScan (right-click and select Uninstall):

    Trend Micro VSAPI NT
    Trend Micro FILTER
    Common Firewall Driver
    NTRTSCAN (if available)
    TMLISTEN (if available)

    • Restart the OfficeScan client machine.

    SOLUTION 2:

    1.

    Right-click on the OfficeScan system tray icon then select Unload OfficeScan. If you are asked for a password, enter the unload password then click OK. If you do not know the password, skip this step.

    2.

    Open the Windows Services console (services.msc).

    3.

    Stop the following services:

    OfficeScanNT Listener

    OfficeScanNT RealTime Scan

    OfficeScanNT Personal Firewall
    Note: The services will already be stopped if you were able to unload the OfficeScan client in Step 1.

    4.

    Click Start > Programs, right-click on Trend Micro OfficeScan Client then click Delete.

    5.

    Open the Registry Editor (regedit.exe).
    Important: Always make a back up copy of the whole registry before making any modifications. Incorrect changes to the registry can cause serious system problems.

    6.

    a.

    Delete the following registry key(s):

    If only the OfficeScan client program is installed:
    HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro

    If there are other Trend Micro products installed:
    HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\NSC
    HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\OfcWatchDog
    HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp

    b.

    Delete the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScanNT

    c.

    Delete the following registry value:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    Name: OfficeScanNT Monitor (REG_SZ)

    d.

    Delete all instances of the following registry keys in the following locations:
    Locations:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services
    Keys:

    ntrtscan

    tmcfw

    tmcomm

    TmFilter

    Tmlisten

    tmpfw

    TmPreFilter

    TmProxy

    tmtdi

    VSApiNt

    ntrtscan

    7.

    Close the Registry Editor.

    8.

    Click Start > Settings > Control Panel then double-click System.

    9.

    Click the Hardware tab then click Device Manager.

    10.

    Click View > Show hidden devices.

    11.

    Expand Non-Plug and Play Drivers then uninstall the following devices:

    tmcomm

    Trend Micro Filter

    Trend Micro PreFilter

    Trend Micro TDI Driver

    Trend Micro VSAPI NT

    12.

    Uninstall the Common Firewall Driver:

    a.

    Right-click on My Network Places then click Properties.

    b.

    Right-click on Local Area Connection then click Properties.

    c.

    On the General tab, select Trend Micro Common Firewall Driver then click Uninstall.
    For Windows Vista clients, do the following:

    a.

    Right-click on Network then click Properties.

    b.

    Click Manage network connections.

    c.

    Right-click on Local Area Connection then click Properties.

    d.

    On the Networking tab, select Trend Micro Common Firewall Driver then click Uninstall.

    13.

    Restart the computer.

    14.

    Delete the following directory:

    If only the OfficeScan client program is installed:
    C:\Program Files\Trend Micro

    If there are other Trend Micro products installed:

    C:\Program Files\Trend Micro\OfficeScan Client

  • Active Desktop Recovery – Object doesn’t support this action

    Posted on July 18th, 2009 admin 115 comments

    Do you face a problem on my desktop for the longest time and I finally decided to look into it yesterday. My desktop had this white background and it said Active Desktop Recovery. Also, there was a button that said Restore my Active Desktop.

    desktophtt2

    Here’s FIX #1

    1. Open an explorer window (open My Computer for example)
    2. Tools
    3. Folder Options
    4. View
    5. Uncheck Hide protected operating system files
    6. Now do a search for desktop.htt…it should be on your C: normally
    7. Delete any desktop.htt files you find (there could be more than one depending on how many user profiles are on the machine)  They should be located in Documents and Settings\User\Application Data\Microsoft\Internet Explorer
    8. Close all windows you have open
    9. Now reboot your PC..Windows will recreate desktop.htt for you and it should work!

    oops…I almost forgot….go ahead a place a check back in Hide protected operating system files

    If the above doesn’t work, try FIX #2!

    1. Go to Run, type regedit and hit enter
    2. Go here HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\SafeMode\Components
    3. Select the value DeskHtmlVersion
    4. Select the Decimal radial button
    5. Change the value of 272 to 0
    6. Most of the time it might take a few seconds for your background to appear and other times…you might need to restart your computer.