How to execute script VB script at Outlook 2010

Hi,
I need the procedure to execute the script "How to sign or encrypt mail messages programmatically" stated at http://support.microsoft.com/kb/2636465.
Thanks in advance!

Hi SccMadmin09,
There are two way to encrypt emails or messages in MS-Outlook:
1.) Manual
2.) By using VB script (as you shared the needful source)
Now, you are stucking at the point “How to run or execute this VB code in Outlook?”
It’s quite simple, first enable the Developer Tab for your Outlook program by following the given path:
File >> Options >> Customize Ribbon >> Select the Developer box (from the right pane) >> Ok
Now, you will see a new menu having name of “Developer”. Click on it and start creating own VB based macros via making a click on “Visual Basic” button.
There is an interesting article (written by Daine Poremsky):
http://www.slipstick.com/developer/how-to-use-outlooks-vba-editor/
Note:  Also sure about the security factor of Macros while enabling it.
Thanks
Clark Kent

Similar Messages

  • How to execute a sql script in dbms_job?

    how to execute a sql script in dbms_job?

    See my response to Re: how to execute a sql script file in procedure or trigger.
    Cheers, APC

  • How to execute unix shell script from Java ...

    Hi,
    Anyone know how to execute unix shell script from Java?
    Suppose I have several shell scripts written in perl or tcl or bash.
    I just want to catch the output of that script.
    Is there any ready to use module/object for this?
    Please let me know, this is quite urgent for my study assigment.
    Thanks in advance,
    Regards,
    me

    Look up Runtime.exec()

  • How to execute unix shell script in webdynpro?

    hi all,
      We have some iquirement of executing script in unix.If anyone know How to execute unix shell script in webdynpro?
    best regard
    reefish

    Ree,
    1. Find SSH client for windows, then execute SSH with Runtime.exec() on local host with arguments like remote host, auth, command to execute etc.
    2. Get SSH client in Java and execute SSH commands on remote host using pure Java API.
    Don't ask me for links, Google works today, I checked this
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Through a java prog how to execute a unix script ?

    Hi !! I am a Java Developer . I have to work in Unix and Java in combination. Can you plz suggest me a solution for the below queries --
    1. Through a java prog how to execute a unix script.
    2. How to send the o/p of the script to a java prog so that it can be used in the java program to the prupose of display etc..

    Try this
    Process process = Runtime.getRuntime().exec("ps -ef");//write Your command here
                   InputStream in = process.getInputStream();
                   BufferedReader bufReader = new BufferedReader(new InputStreamReader(in));
                   String data=null;
                   while((data = bufReader.readLine())!=null)
                        System.out.println(data);   //do whatever you want to do with the output

  • How to execute a SAP Script Configured in NACE as Output type?

    Hi all,
    I know the Outputtype. How to execute the Script? I have to modify the Script.
    Please help me.
    Thanx,
    Suresh

    After you have run TOAD and connected to Oracle DB, TOAD will open a "SQL Editor" window. If it does not, you can open it by clicking the "SQL" or "Editor" button in the tool bar.
    You can open the script in TOAD's SQL Editor Window like this:
    Press "Open File" button (yellow file icon) from the tool bar [ or from File menu, click "Open File" option]
    Navigate to directory where you script is residing
    select the script file and press "Open" button
    Now you can press the yellow 'bolt' button to execute your script.
    Once you have run the script successfully, click on the "Schema Browser" button [ which is next to the "Editor" button ]. In the schema browser's "Tables" tab, you can look for the table you have created.
    Alternately, you can also use SQLPlus to run your script either after launching SQLPlus and connecting to DB or from the command line.
    >
    i am not that much aware of toad .....
    >
    To get familiar with the tool, you'll have to explore it yourself if you plan to continue using it.
    NOTE
    You do not need "commit" after DDL statements. I noticed "commit" statements in your script. You can remove them.
    HTH

  • How to execute power shell script file inside DSC script resource

    Hi,
    How to execute /call powershell scirpt file inside DSC script resource , some thing like below and capture the status of execution.
    Node $AllNodes.NodeName
    Script ExecuteSQLDeploy
    #SetScript = {powershell.exe .\SQLDeploy.ps1  "param1" "param2" "param3" "param4" "param5" }
    #TestScript= {powershell.exe .\SQLDeploy.ps1  "param1" "param2" "param3" "param4" "param5 }
    #GetScript= { return $true;}
    Basawaraj

    Thanks for reply. 
     Now i am able to execute the power shell script with DSC. I  am getting no error when i run , but the script logic wrote inside  ( deploying sql incremental changes ) not working . I am using SQLCMD in the powershell script to deploy sql
    changes . Can you please elaborate on "script is compatible with DSC" , the script
    should not contain write-host cmdlet.... etc something like that.
    Copying recursively from ****************************** to ************************** succeeded.
    Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
    An LCM method call arrived from computer ************ with user sid **********************************************
    [V-BAKANT]: LCM:  [ Start  Set      ]
    [V-BAKANT]: LCM:  [ Start  Resource ]  [[Script]ExecuteSQLDeploy]
    [V-BAKANT]: LCM:  [ Start  Test     ]  [[Script]ExecuteSQLDeploy]
    [V-BAKANT]: LCM:  [ End    Test     ]  [[Script]ExecuteSQLDeploy]  in 0.1110 seconds.
    [V-BAKANT]: LCM:  [ Start  Set      ]  [[Script]ExecuteSQLDeploy]
    [V-BAKANT]: LCM:  [ End    Set      ]  [[Script]ExecuteSQLDeploy]  in 0.3010 seconds.
    [V-BAKANT]: LCM:  [ End    Resource ]  [[Script]ExecuteSQLDeploy]
    [V-BAKANT]: LCM:  [ End    Set      ]
    [V-BAKANT]: LCM:  [ End    Set      ]    in  0.8810 seconds.
    Operation 'Invoke CimMethod' complete.
    Time taken for configuration job to complete is 0.923 seconds
    Basawaraj

  • How to execute a shell script?

    Hi,
    could someone please tell me the correct way to execute a shell script? For example run.sh located in my resources?
    Thanx in advance!

    Odds are good that Apple doesn't want you running shell scripts on an iPhone, but somebody else might have information to the contrary.

  • How do I open a pdf in Outlook 2010?

    I have Acrobat 7.0 Standard and cannot open pdf documents from Outlook 2010 e-mails.  The error message reads that no valid Acrobat serial number found.  Acrobat quits (after clicking OK).
    Please advise how to fix this problem.

    Lulu_Malaysia wrote:
    Why after so many years, Indesign still couldn't open an PDF????
    I really need this function!
    Hopefully Adobe couldn't solve this problem in future version!
    PDFs are designed to be a FInal file format. They are never intended to be edited in anyway.
    Adobe don't support this function for many reasons.
    InDesign, Illustrator, Photoshop or any other Adobe product is not a multi-purpose PDF editor and you shouldn't be opening a PDF in Illustrator or Photoshop unless that PDF was specifically made with those programs.
    To open a PDF in InDesign you need specialist software as mentioned above.
    The correct workflow is to edit the existing InDesign document.
    If you don't have that original InDesign document, then you need to recreate it from the start.
    If you don't want to do that - then you need to buy the software that Converts the PDF to InDesign.

  • How do i sync iphone 4S with outlook 2010 calendar

    how do i sync iphone 4s with microsoft outlook 2010 calandar ?

    Synchronization of calendars between Microsoft Office Outlook 2007 and your Apple iPhone or iPod touch requires Apple iTunes. You can configure which items are synchronized during a one-time set up process. Good luck with your Mac!
    After the initial setup, each time that you connect your iPhone or iPod touch to your computer, the changes made on your computer or device are synchronized.
    Connect your iPhone or iPod touch to your computer using the cable provided with your device or by placing the iPhone or iPod touch in the Apple Universal Dock.
    iTunes opens automatically when connected to your computer.
    In iTunes, in the source list, under Devices, click the entry for your iPhone or iPod touch.
    Click the Info tab.
    Under Calendars, click Sync calendars from, and then click Outlook.
    Do one of the following:
    To synchronize all calendars, click All calendars.
    To limit the calendars that are synchronized, click Selected calendars, and then click the calendars you want to synchronize.
    NOTE   To select multiple calendars, press CTRL as you click each calendar name.
    Click Apply.

  • How do i sync my iphone with outlook 2010

    how do i sync my iphone 4 with outlook 2010?

    This is a very bad situation... i had multiple contact groups set up in outlook 2007 as per this Tut
    http://www.ehow.com/how_5937574_make-contact-group-iphone.html
    i then installed 2010 and all my contacts got removed from iphone...alot of wasted time later it turns out there is a Glitch somewhere and there seems to be only one workaround (Please if there is a better fix Post it HERE)
    if you have more than a single Outlook profile when you start Outlook choose the plain old "Outlook"  profile then click Contacts on the bottom left. now above that in the far left pane should be Contacts and Suggested Contacts - below My Contacts beyond that depends on additional accounts you have added to this account as Outlook tracks each email adress you send from as seperate ost file.
    The Contacts BELOW My Contacts is the only group that will synch with itunes so add whatever you need to this group and you should be good to go
    if you are having trouble making this work try another profile - but figure out what IS synching then copy the data you need into this group
    like i said its a work around not a fix
    APPLE  help!! Fix this Outlook 2010 synch issue Please!!!

  • How do you preview .dxf files in Outlook 2010?

    Is there something I can install that will allow me to preview .dxf files in my preview plane for Outlook 2010?

    Hi,
    Attachment previewers that come with the Microsoft Office system only allow you to preview the following files in Outlook:
    Outlook/Word/PowerPoint/Excel/Visio documations, Images and text files
    Third-party software vendors may provide their own previewers that support additional attachment file types.
    So for your case (to preview .dxf file in Outlook), please try to check with the vendor of the product that your using and see if they have an existing previewer for their product.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How do i sync apple 4s with outlook 2010 windows 7

    I just switched from Windows XP to Windows 7 - also switched from Outlook 2003 to Outlook 2010 - ITunes just came out with its latest version - don't know the name - it's December 11, 2012 and it just happened. Now I can't sync my iphone.
    I tried downloading icloud and it completely screwed up my outlook calendar. When I removed it my whole calendar and all my contacts disappeared.
    Help!

    Synchronization of calendars between Microsoft Office Outlook 2007 and your Apple iPhone or iPod touch requires Apple iTunes. You can configure which items are synchronized during a one-time set up process. Good luck with your Mac!
    After the initial setup, each time that you connect your iPhone or iPod touch to your computer, the changes made on your computer or device are synchronized.
    Connect your iPhone or iPod touch to your computer using the cable provided with your device or by placing the iPhone or iPod touch in the Apple Universal Dock.
    iTunes opens automatically when connected to your computer.
    In iTunes, in the source list, under Devices, click the entry for your iPhone or iPod touch.
    Click the Info tab.
    Under Calendars, click Sync calendars from, and then click Outlook.
    Do one of the following:
    To synchronize all calendars, click All calendars.
    To limit the calendars that are synchronized, click Selected calendars, and then click the calendars you want to synchronize.
    NOTE   To select multiple calendars, press CTRL as you click each calendar name.
    Click Apply.

  • How to execute a java script from an external app

    Just new to Acrobat SDK,
    Given that I've started Acrobat from external app,
    I can get a JSObject, but how do I get ito execute a script
    e.g., found this in doco
         var pp = this.getPrintParams();
         pp.interactive = pp.constants.interactionLevel.automatic;
         pp.printerName = "Our office printer";
         this.print(pp);

    I was able to get it to work by coding directly in VB, but can you expand on the 2nd part, "pass it as a string to run"
    So, in VB I have
              jsObj = pdDoc.GetJSObject
    I tried
         jsObj = "var pp = this.getPrintParams(); ... "
    but that doesn't seem to do anything

  • How to execute a shell script which is present in remote machine using ODI

    I have requirement of executing a batch (shell script) which is present in the remote machine.
    i have an ODI agent in remote machine as well. I have created agent locally by using the remote machine IP and port.
    I am able to test the agent successfully. But when i am executing the package using that agent it is failing with the following error
    errorODI-1226: Step Execution of the Scenario REMOTE_DEMO version 001 fails after 1 attempt(s).
    ODI-1241: Oracle Data Integrator tool execution fails.
    Caused By: oracle.odi.runtime.agent.invocation.InvocationException: HTTP/1.1 500 ODI-1423: Warning connecting to Agent localagent: work repository WORKREP1 is not bound to the master
    My Work Repository Name is : WORKREP1
    Remote Work Repository Name is:WORKREP_LOCAL.
    Could anyone please help me regarding this.
    I can't download shell script and run it locally this needs to be run on that remote machine only.
    Thanks
    senthilkumar

    This is the code.
    1. we can declare types dynamically
    2. Internal table dynamically
    3. Select querry dynamically
    just copy paste this code
    Here is the code for your question
    DATA:v_fieldname
    TYPE fieldname,
    l_PROG TYPE string,
    v_mess TYPE string,
    l_sid TYPE string,
    wa_ddfields TYPE dntab.
    DATA i_tab TYPE STANDARD TABLE OF string.
    DATA:l_str TYPE string,
    l_str1 TYPE string.
    PARAMETERS matnr type marc-matnr.
    end-of-SELECTION.
    *build the subroutine pool
    APPEND 'PROGRAM subpool.' TO i_tab.
    APPEND `LOAD-OF-PROGRAM.` TO i_tab.
    APPEND `DATA i_tab1 TYPE TABLE OF vbak.`      TO i_tab.
    APPEND `DATA l_rows TYPE i.`      TO i_tab.
    APPEND `select * into table i_tab1 from vbak.` To i_tab.
    append 'DESCRIBE TABLE i_tab1 LINES l_rows.' to i_tab.
    append 'Write :  l_rows .' to i_tab.
    GENERATE SUBROUTINE POOL i_tab NAME l_PROG
    MESSAGE v_mess
    SHORTDUMP-ID l_sid.
    IF sy-subrc = 0.
    PERFORM ('LOOP_AT_TAB') IN PROGRAM (l_PROG) IF FOUND.
    ELSEIF sy-subrc = 4.
    MESSAGE v_mess TYPE 'I'.
    ELSEIF sy-subrc = 8.
    MESSAGE l_sid TYPE 'I'.
    ENDIF.
    Edited by: vijay wankhade on Jan 1, 2009 5:34 PM
    Edited by: vijay wankhade on Jan 1, 2009 5:34 PM

  • How to execute a .SQL script file?

    Hi
    I'm sure this question has been answered already, however I was unable to find an answer using the search tool.
    Using c# I'd like to run a .sql file. The sql file contains multiple sql statements, some of which are broken over multiple lines. I tried reading in the file and tried executing the file using ODP.NET ... however I don't think ExecuteNonQuery is really designed to do this.
    So I tried using sqlplus via spawning a process ... however unless I spawned the process with UseShellExecute set to true sqlplus would hang and never exit. Here's the code that DOESN'T WORK.
    Process p = new Process();
    p.StartInfo.UseShellExecute = false;
    p.StartInfo.RedirectStandardOutput = true;
    p.StartInfo.FileName = "sqlplus";
    p.StartInfo.Arguments = string.Format("xx/xx@{0} @{1}", in_database, s);
    p.StartInfo.CreateNoWindow = true;
    bool started = p.Start();
    p.WaitForExit();
    WaitForExit never returns .... Unless I set UseShellExecute to true. A side effect of UseShellExecute is that you can no capture the redirected output.
    This must be such a common thing to do, I'm hoping someone has a solution to this.
    Thanks
    Rich

    If by "SQL script" you mean run a program that resides outside the database (a file of the format whatever.sql) then the answer is with difficulty. We can use extproc calls to run c libraries or embedded java to execute host-style commands but it's a lot of pfaffing about.
    The easiest solution is to bring the SQL commands into the database as a stored procedure. If you still need to be able to run the script externally then rewrite that to call the same stored procedure. However, if the .SQL file includes OS calls then you will have to choose either Java or extproc, depending on what it is the script actuually does. If you want more focused advice you'll need to give us details.
    Cheers, APC

Maybe you are looking for