Using select menus in email forms

How would i make an email form mailto from a value in a select list/menu thing?

You would need to use javascript or some other server-side scripting.  What language can you use on your server?

Similar Messages

  • How do I ensure mail is sent from the correct email account?  I have two set up on my iPad, and it seems to choose which one to use somewhat randomly.  This has happened both when using Mail and when emailing form another app.

    I have two email accounts set up on my iPad -- one I use & one I monitor for a disabled person.  On several occasions, mail I have composed and sent from my email account was sent showing the other account as the sender.  This has happened both from within Mail and when emailing from other apps, such as Safari, Photos, etc.  Any idea what is going on and how to prevent this from happening?

    Are you confirming your POP account is selected as the sending email account before the message is sent?
    And regardless if the email is a new email or is replying to or forwarding an email received by the POP account and cofirming the POP acconut is selected as the sending email account, the message is sent by the Gmail account?
    All message sent by the POP account are sent by the Gmail account?
    If so, delete the Gmail account from your iPad and test if a message sent with your POP account which will be the only email account available with the iPad's Mail app is recieved from your POP account/address.
    If not, something else is wrong or on play that has nothing to do with the iPad.

  • Menus and Contact Forms

    I am currently looking for a tutorial on how to create a
    drop-down Flash Menu very similiar to the one found on
    http://www.perseny.com as well as
    a Contact Form listed under their Private Dining section called
    "Request More Info"
    Any and all help is greatly appreciated!
    Mark
    [email protected]

    if you're using as2, flashkit.com has quite a few beginning
    tutorial so it probably has dropdown menu tutorial that would work
    for you.
    if you're using as3, you'll just have to use google.
    flashgods.org has a faq section that shows how to use a
    contact or email form with flash for both as2 and as3.

  • How to create a folder in which email forms are stored which cab be used and usen again

    Hi folks of the free software comunity,
    in the olden days I used to use a mail program made by MARINET in England. This received an sent emails via a sattelite connection an nothing else.
    The program had a feature called pre-formed mails:
    In a special folder lots of pre-written emals where stored - messages that needed to be sent again an again wit slightly changed contens. The address, reference and text fields where already filled.
    If needed you would open one of these pre-written mail, change a few items - say the date, number of item or some such
    Adress an reference would remain the same.
    The SENT the bugger an finished.
    In the SENT folder this mail would be shown with the corrected text.
    In the special folder the not corrected mail would remain.
    The special folder served as a file of mails already written as well as a remainder of what needed to be sent - by looking at the stored mails - an so save the user a lot of work.
    My question:
    How can this be created in THUNDERBIRD ?
    tks n bregards
    i.b.b
    [email protected] (pls copy an answer to this mail address

    Open a new Write message.
    Create the email you want to use as a Template, give the 'Subject' a suitable title so you can easily locate that template email, but do not enter any email addresses.
    Then click on 'Save' as 'Template' OR File > Save As > Template.
    A Templates folder will be auto created and th email will be stored in that Templates folder.
    To use:
    Select Templates folder to see emails.
    Double click on email OR right click on email and select 'Edit as new Messge' to open in a new Write window.
    Edit as required and send as usual.
    The email in the Templates folder will remain as is and can be reused again and again.
    Additional info:
    If you wish to send one personalised email to a group, so each person gets their own personalised email, you could consider an addon called 'Mail Merge' which works with Template email and either a .csv file or an address book.
    * https://addons.mozilla.org/en-US/thunderbird/addon/mail-merge/

  • I have 3 dynamic select menus in form but when submit when error - selection is lost

    Hi does anybody know how to make these select menus stay
    other than using javascript?
    I have looked on the internet for a looooong time for this
    and have no further knowledge.
    I can however get it to stay selected in an update record but
    not in an insert record. I have tried changing the recordset but it
    doesn't work.....
    Help please it is frustrating...........especially for users
    of the form I want them to use...........

    Thanks for your reply.
    I don't use javascript and the error checking I use is php.
    The menus I use are quite large so I have placed them
    dynamically within the form:<select name="stateCode"
    class="textarea">
    <?php
    do {
    ?>
    <option value="<?php echo $row_state['code']?>"
    ><?php echo $row_state['stateCode']?></option>
    <?php
    } while ($row_state = mysql_fetch_assoc($state));
    ?>
    </select>
    There are three of these, one for location, one for category
    and one for industry.
    They aren't connected for a series of dropdowns, just in the
    form.
    Can I please ask you about the <?=$option1;?> I have
    seen this in other forms.
    I was wondering wouldn't you need to have <?php echo
    .$option1;?>.
    Still learning about this fabulous php. I have left it for a
    while do learn other things and now am trying to catch up where I
    left off.
    I don't understand the difference between having
    <?=......?> and <?php echo.....?>
    I have seen some forms use e.g. <?=$add;?> in a
    textarea or checkbox where $add is the variable for error checking.
    Thanks again for your help.

  • Can no longer select text in email template or read only field with mouse using IE or Firefox?

    Hi Guys,
    I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
    Thanks
    Dave
    David Kelly

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If those features work correctly, this points to one of your extensions or custom settings as the problem.
    To also disable plugins, you can use this page:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
    Any change?

  • If my phone service is disconnected, can I still use the number to iMessage? Under my setting in iMessages it only allows me to select my linked emails and the telephone number is there but grayed out and i can't seletect it !

    If my phone service is disconnected, can I still use the number to iMessage? Under my setting in iMessages it only allows me to select my linked emails and the telephone number is there but grayed out and i can't seletect it ! It wont activate. I just recentely got AT&T.  When I had verizon before and my phone got disconnected it allowed me to still iMessage off my number.

    If your phone service is disconnected, it's not your number any more.
    If you "just got AT&T", how can it be disconnected?

  • Using select list as default value in tabular form.

    Hi,
    I am using Application Express 4.1.0.00.32. I have two questions that are related.
    I have a Select item *'P1_SELECT'* and a tabular form My Items.
    Question 1. The My Items tabular form col1 Attributes are set Display As Text Field, and the Tabular Form Attributes are set Default Type = item(application or page item name), Default = P1_SELECT. I have checked the session state value is set on P1_SELECT ie. Fred. What I need to know is, why, when adding a row to the tabular form My Items does col1 not display 'Fred' as the default value from the select item P1_SELECT? I can change col1 of the Tabular form to be Display as Text (save state) and this will work. However that leads me on to:
    Question 2. After adding say 3 rows to the form, I then change the select P1_SELECT value to Bob and Bob is now set in session state on the P1_SELECT item, but when I again add row to the form the value Fred is still the value not Bob. It seems that the tabular form keeps the default value as Fred and not Bob. How can I get this to look or work like:
    col1_
    Fred
    Fred
    Fred
    Bob
    Your help is needed.
    Thanks.

    Howard (DBA in Training) wrote:
    Do you submit the page or set the value after changing the selection? If not, the display value seems to be Bob but the working value is still Fred. That's what you are seeing right? In the "Settings" section, what do you have for "Page Action when Value Changed". I've been using "Redirect and Set Value" because I was staying on the same page after the selection.
    Additional info which might be helpful (or NOT). ====================
    NOTE: I am just a novice's novice with APEX and I had much agony with Select Lists. It was challenging to have the Select List value displayed because there seem to be so many different sources of the Select List value, namely:
    1) the current value in the session state
    2) the value you can specify in "Source value or expression" in the "Source" section of the Select List item
    3) the value you can specify in the "Post Calculation Compution" in the "Source" section of the Select List item
    4) the value you can specify in the "Default value" of the "Default" section of the Select List item
    [Now, if I've misdescribed any of these, remember, this is from a novice's perspective.]
    It's like putting a clock (back) together. Get any of the pieces wrong and it will probably not work right.
    I had an addiitonal challenge in that I wanted the same Select List displayed on multiple pages and for the currently selected value (from the former page) to already be set on the new page when it was displayed. What fun!
    To see what I did here: http://apex.oracle.com/pls/apex/f?p=43250:101 login Dever/Ima9Dever
    Remember, I'm doing many things you will likely not need to do. I iniitalized the Select List for the first time it displayed. I copied the Select List value from old page to new page by storing it in an application item F217_SYS_NIC_NM.
    Best wishes,
    HowardHi Howard,
    You don't have submit the page for just setting one item's session state. you can use a Dynamic Action OR use Page Items to Submit property if available (this is available in various places such as sql region,chart region etc)
    In context to this question you don't have to do any of those..just see my example above
    Thanks

  • Emailing form using something other than outlook

    Is there anyway I get the form to use a different email system other than outlook when using the email button? We used to go through outlook and we could conveniently hit email and the form would attach and be ready to send. We switched email systems and now work in Zimbra. Is there an easy way to configure the email to use Zimbra instead? Thanks

    The form will use the default mail client.
    Jasmin

  • ABAP WD application using Select Options  & Adobe form :Don't see form data

    Hi,
    I am trying to get multiple PDF forms by passing multiple order numbers.I was able to get one PDF form successfully and now I am enhancing this application.
    For doing this I have created nested WD Context .
    1) Created a Node for Selections. ND_SELECT  ,
    Cardinality: 1..n ,
    Selection: 1..n ,
    Intialization lead Selection : Checked ,
    Singleton : Checked
    2) Created a Node for Output Structures ADOBE_DATA
    Properties same as above
    3) As we need Nesting Under ADOBE_DATA node I have created a subnode for Header: HEADER
    Properties same as above
    4) Under HEADER node I have created a items Node : ITEM
    Properties same as above
    As I have used Select-options and I am getting both header and Item data in to button search method .
    DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
      DATA lo_nd_header TYPE REF TO if_wd_context_node.
      DATA lo_el_header TYPE REF TO if_wd_context_element.
      DATA ls_header TYPE wd_this->element_header.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
      lo_nd_header->bind_table( new_items = it_header  set_initial_elements = abap_true ).
      DATA lo_nd_item TYPE REF TO if_wd_context_node.
      DATA lo_el_item TYPE REF TO if_wd_context_element.
      DATA ls_item TYPE wd_this->element_item.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
    * navigate from <HEADER> to <ITEM> via lead selection
      lo_nd_item = lo_nd_header->get_child_node( name = wd_this->wdctx_item ).
    lo_nd_item->bind_table( new_items = it_item  set_initial_elements = abap_true ).
    Could you please tell me where I am doing wrong?
    In adobe form
    Created one MainForm  and its properties are
    Binding : $record.HEADER.DATA[*]
    Repeat subform for each data item Checked , Min Count: 1
    Subform Content : Flowed ,Western Text , Allow page breaks withing Content Checked
    Accessibility /Subform Role: None
    Inside this Mainform I have created a small table ITEMTABLE  with 3 fields and mapped it item data.
    Itemtable properties
    Binding : ITEM
    Uncheck Repeat table for Each Data item.
    I have Itemtablerow inside Itemtable  and its properties are:
    Binding : DATA[*]
    Repeat row for each data item Checked ,Min count: 1
    Accesibility:/Subform Role: Body row
    Row: body row, Check Allow page breaks within content
    Still donu2019t see data on form.here is what i have in Hierarchy tab.
    ADOBE_DATA (no Caption)
    - (Master pages)(no caption)
             Page1
                      Untitled Content Area(no caption)
    - Mainform(no Caption)
                       PSPID {PSPID}
              -ItemTable (No caption)
                      - ItemtableRow (no Caption)
                                   PSPID(no Caption)
                                    CJTDAT(no Caption)
                                    CPERCO(no Caption)
    What could be going wrong ?
    Rgds
    Vara

    Hi John,
    In the WD4A view, there is a button "Show/Hide Layout Preview".
    Click on that button to be able to see the Layout.
    Note that this button is next to the Pretty Print button.
    regards,
    Reema.

  • Email form using radio buttons

    Hello! I hope someone can help me out with this one!! I will
    start off by saying that I don't know too much about action script,
    but i have created a Flash email form with just text fields that
    has worked. Now I need to create a form with three sets of radio
    button groups. I need to pass the variables to a php email script.
    Can anyone guide me through this?

    THanks for you help Rob, but I still can't get it to work
    correctly. I'm not getting any email at all. I have a radio button
    group set up. The groupName is "Group1". Then there is a results
    text area on the screen with a var name of "results_ta". My email
    text area's var = "email_ti". I have a submit button component on
    the screen as well. The instance name is "submit_button". Below is
    the flash code that is on the first frame of my movie:
    var submitListener:Object = new Object();
    submitListener.click = function(evt:Object) {
    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    result_ta.text = result_lv.welcomeMessage;
    } else {
    result_ta.text = "Error connecting to server.";
    var send_lv:LoadVars = new LoadVars();
    send_lv.email = email_ti.text;
    send_lv.radioOne = group1.selection.data;
    send_lv.sendAndLoad("sendmail.php", result_lv, "POST");
    //send_lv.sendAndLoad("sendmail.php", "POST");
    submit_button.addEventListener("click", submitListener);
    stop();
    Next my php code is as follows:
    <?php
    $sendTo = "[email protected]";
    $subject = "My Flash site reply";
    $headers = "From: " . $_POST["email"] ."\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-path: " . $_POST["email"];
    $message = $_POST["radioOne"];
    mail($sendTo, $from, $subject, $message, $headers);
    ?>
    Do you see anything that is off? I think I've lost it,
    because I had an email being sent, it just didn't add any of the
    info, but now I'm not even getting an email sent!! I'm in despair
    because the project is due tomorrow!!!
    thanks!

  • Simple email form not so simple UGH!!! Could really use some help!

    All I need is a simple form for name, email addy and comment.  I've been working on this all day/night and am pulling my hair out!!!
    Any help is appreciated!!
    It is sitting here:   http://loonstyn.com/contact-form.html
    Here is the code I'm using (both pages):
    For the form page:
    <HTML>
    <HEAD><title>Contact Form</title></HEAD>
    <BODY>
    <form method="POST" name="contact_form" action="http://www.loonstyn.com/contact-form-handler.php">
    Enter Name: <input type="text" name="name"> <br>
    Enter Email Address: <input type="text" name="email"> <br>
    Enter Postal Address: <input type="text" name="postal_address"> <br>
    Enter Message: <textarea name="message"></textarea><br>
    <input type="submit" value="Submit"><br>
    </form>
    </BODY>
    </HTML>
    For the handler:
    <?php
    $error_occured = "no";
    $name = $_POST['name']; // getting the value of name
    $email_address = $_POST['email']; // getting the value of email address
    $postal_address = $_POST['postal_address']; // getting the value of postal address
    $message = $_POST['message']; // getting the value of user message
    ////////////////// Data Validation ////////////////
    if($name=="" || $name==" ") {
    $error_occured = "yes";
    echo "Error: You have NOT entered your name. Please click on BACK button of your browser and correct this error to proceed.";
    if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email_address)){
    $error_occured = "yes";
    echo "Error: You have NOT entered the correct email address. Please click on BACK button of your browser and correct this error to proceed.";
    if($postal_address=="" || $postal_address==" ") {
    $error_occured = "yes";
    echo "Error: You have NOT entered your postal address. Please click on BACK button of your browser and correct this error to proceed.";
    if($message=="" || $message==" ") {
    $error_occured = "yes";
    echo "Error: You have NOT entered your message. Please click on BACK button of your browser and correct this error to proceed.";
    if($error_occured=="no") {
    $to = "[email protected]";
    $email_from = $email_address;
    $email_subject = "New Message For you";
    $email_body = "You have received a new message. Here are the details: Name = " . $name . ", Postal Address = " . $postal_address . ", Message = ". $message;
    $headers = "From: $email_from";
    mail($to,$email_subject,$email_body,$headers);
    echo "Your message was sent successfully";
    ?>

    Try this contact form. It may give you some ideas for yours. This form is set up to require 3 additional files, a header file, a menu and a footer file. You can pust what ever you want in them. The header and footer are excellent for any repetitive portions that are needed on multiple web pages. Feel free to remove the includes and inject the necessary code to finish the web page.
    <?php
    $pagetitle='Contact';
    include ('header.inc');
    print '<h1>Contact</h1>';
    include ('menu.inc');
    if ($_POST['B1']!=true) {
    print <<<FORM
    <div class="contact">
    <form method="post" action="{$_SERVER['PHP_SELF']}">
      <p><sup style="color: red; font-size: 150%">*</sup>Name:<br /><input type="text" name="T1" size="30" value="" /></p>
      <p><sup style="color: red; font-size: 150%">*</sup>E-mail address:<br /><input type="text" name="T2" size="30" value="" /></p>
      <p><sup style="color: red; font-size: 150%">*</sup>Subject:<br /><input type="text" name="T3" size="50" value="" /></p>
      <p><sup style="color: red; font-size: 150%">*</sup>Message:<br /><textarea name="S1" rows="10" cols="80" style="vertical-align: bottom"></textarea></p>
      <p style="text-align: center"><input type="submit" value="Submit" name="B1" />        <input type="reset" value="Reset"
      name="B2" /></p>
    </form>
    <p><sup style="color: red; font-size: 150%">*</sup>Required</p>
    </div>
    FORM;
    if ($_POST['B1']==true) {
    $to='[email protected]';
    $ip=htmlentities(trim($_SERVER['REMOTE_ADDR']));
    $name=htmlentities(trim($_POST['T1']));
    $email=htmlentities(trim($_POST['T2']));
    $inputsubject=htmlentities(trim($_POST['T3']));
    $subject="A message from a your website";
    $header='From: your name's Contact Page <[email protected]>';
    $message="Name: " . $name . "\nEmail: " . $email. "\nRemote IP: " . $ip . "\nSubject: " . $inputsubject . "\nMessage:\n" . htmlentities(trim($_POST['S1']));
    if (($name==null)||($email==null)||($subject==null)||($_POST['S1']==null)) {
    print "<h3>Sorry, but you did not provide enough information, Make sure all sections are filled in<br />Please try again</h3>";
    print <<<BACK
    <input type="submit" value="Back" onclick = "history.back()">
    BACK;
    die();
    mail ($to, $subject, $message, $header);
    print "<h3>" . $name . "<br />" . 'Thank you for contacting example.com' . "</h3>";
    print "<p style=\"color: rgb(128,128,255)\"><--- Please use menu to navigate from this page!</p><br /><br /><br /><br />&nbsp<br /><br /><br /><br /><br />&nbsp<br /><br /><br />&nbsp<br />";
    include ('footer.inc');
    ?>
    On your form, a word of warning - Never allow input from a user to be used as a value for the mail header. As this allows someone to inject code including javascript into your email. Forcing you to email someone else with spam. It is best to create you fixed value that you know for the mail header and place their input in your message body where it won't hurt anything. And always use htmlentities to strip their inmput from any html tags.
    Good luck...

  • I am using microsoft outlook for email in firefox. When I select the envelope for email it takes me to a mailto window in outlook which I have to close.

    I am using microsoft outlook for email on latest version of firefox. In the applications window the only selection for outlook is mailto. When I select the envelope it takes me to outlook, however the first page is a mailto page with a link to my home page. I have to close that and get to my email page. How can I skip the mailto and go right to the outlook inbox page? Thank you.

    I may have made a mistaken assumption that you were using Outlook.com (online webmail). If you are using Microsoft Office Outlook, then you actually would need an add-on to put a button for that program on the toolbar. I'm not sure if there is one specific to Outlook, but there is an extension named Custom Buttons that can be tweaked to do a wide range of things.
    * https://addons.mozilla.org/firefox/addon/custom-buttons/
    * forum for getting help with the add-on: http://custombuttons.sourceforge.net/forum/
    But... I 'm not sure it's worth the effort because you usually can switch between Firefox and Outlook pretty quickly using the Windows Task Bar or Alt+Tab (keep holding Alt after you release Tab to see all the open windows and then Tab to the one you want).

  • How to use a custom.dll in forms 6i

    Hi,
    i have made a small dll using a icon-making software, that software has made a .dll of the icon I made in that software
    Now i want to use that .dll in my forms 6i. (client/server)
    the dll contains only one icon named 'Icon1'
    would any one please tell me how can I call that icon in that .dll to view in my forms button at run time..
    is this possible..??
    just for clarification, for security reasons I am not using the .ico of that icon diect from hardisk in my button thats why i made a .dll of that so that the user may not be able copy my icon
    thanks in advance,

    Here is the doc
    Doc ID:      Note:99824.1
    Subject:      How to Display User-Defined Cursors and Icons in Forms
    Type:      BULLETIN
    Status:      PUBLISHED
         Content Type:      TEXT/X-HTML
    Creation Date:      23-FEB-2000
    Last Revision Date:      30-OCT-2002
    PURPOSE
    The purpose of this note is to explain how to display customized
    cursors and icons in Forms 6.0 on Windows platform (32 bits).
    Assumption is made that resources are stored in a DLL, which is
    available in the path at runtime.
    It is mandatory to store the cursor in a DLL to make it available
    with Forms: .cur cursor files cannot be directly loaded from the
    file system.
    On the other hand, icons .cio files can directly be read from the
    filesystem by Forms Runtime. However we will focus on icons which are
    stored in a DLL.
    The article is divided into two main parts:
    - how to build a resource-only DLL with Visual C++ 5.0
    - how to display the cursor and the icon in Forms 6.0
    SCOPE & APPLICATION
    The intended audience needs to have basic knowledge in Forms Builder
    and also in Visual C++ (or any other Win32 compiler).
    A typical environment is Forms 6.0, Visual C++ 5.0 and Windows NT.
    WHAT IS A RESOURCE ?
    A resource can be considered as some extra binary information that can
    be added to an executable file. Windows resources are for example icons,
    cursors, menus, dialog boxes, keyboard-accelerator tables and much more.
    Resources are usually stored in a .rc file, which is compiled by the
    resource compiler in order to provide a .res file. These compiled resources
    can then be appended to a binary executable file or a DLL.
    For instance, Visual C++ 5.0 includes a resource editor which allows you to
    draw your icons and your cursors, and store them in a resource file.
    Part I - BUILDING A RESOURCE-ONLY DLL
    Consider the following setup:
    - myicon.ico: icon file
    - mycur.cur: cursor file
    The objective of this section is to build a DLL called proj.dll which
    contains both the icon and the cursor. This operation requires several steps.
    Step 1: Create a project
    In Visual C++, select menu File->New... In the dialog box, choose the Projects
    tab and pick "Win32 Dynamic Link-Library". Fill the project name (e.g. Proj)
    and the location (e.g. c:\MyProjects). Check 'Create new workspace', check
    Win32 as target platform and click on OK.
    This creates a directory c:\MyProjects\Proj, where necessary .rc and .cpp
    files can be stored. Place the .ico and .cur files in this directory too.
    Step 2: Add a resource file to the project
    Create a proj.rc file, edit it and make sure it contains the following lines:
    testcur CURSOR DISCARDABLE "mycur.cur"
    testico ICON DISCARDABLE "myicon.ico"
    This is the resource file. Using the Project->Add to Project->Files... menu,
    select the proj.rc file and add it to the current project.
    Step 3: Add a dummy C++ file to the project
    Create a proj.cpp file, edit it and make sure it contains the following lines:
    #include <windows.h>
    extern "C"
    BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID)
         return 1;
    This creates an entry-point in the DLL. This function does nothing but is mandatory
    to have a DLL after the build of the project.
    Add the proj.cpp file to the project as described in Step 2.
    Step 4: Choose the target type
    At this moment, you can choose if you need a 'DEBUG' or a 'RELEASE' flavour of
    the DLL. As there is not much to debug in this DLL, the 'RELEASE' flavour is
    recommended. Furthermore, it is much more compact.
    Using the Build->Set Active Configuration... menu, choose the Proj - Win32 Release
    as the active configuration.
    Step 5: Build the DLL
    Now, it is time to compile the resource file, compile the C++ file, link both
    together and build the proj.dll DLL. This operation is performed by using the
    Build->Rebuild All menu.
    After a short time, you should see "Proj.dll - 0 error(s), 0 warning(s)" in
    the Visual C++ message window. This means that the DLL was built successfully.
    Step 6: Place the DLL in the appropriate directory
    The proj.dll file is currently located under the c:\MyProjects\Proj\Release
    directory. Copy it in an appropriate directory which is reachable in the
    runtime environment path.
    Part II - USING THE ICON AND CURSOR IN THE FORM
    At this stage the DLL is created and can be used in the Form application.
    Again, this is a multi-step procedure.
    Step 1: Load the DLL in the Forms Runtime environment
    Assuming the proj.dll DLL is placed in a directory pointed by the
    PATH environment variable, below is the piece of PL/SQL code which loads
    the DLL into the Forms Runtime environment. This code can be placed in the
    WHEN-NEW-FORM-INSTANCE trigger for example:
    declare
         hDLL     ORA_FFI.LIBHANDLETYPE;
    begin break;
         --Preload the DLL so the cursor and Icons can be found.
         -- I'm assuming the DLL is in the path here
         hDLL := ORA_FFI.LOAD_LIBRARY(NULL,'proj.dll');
    exception
         when ORA_FFI.FFI_ERROR then
              for i in 1..TOOL_ERR.NERRORS LOOP
                   message(TOOL_ERR.MESSAGE(i));
              end LOOP;
    end;
    Step 2: Display the cursor stored in the DLL
    Now, you may want to change the cursor when the user clicks on
    a specific button. This is an example of code that could be set
    in the WHEN-BUTTON-PRESSED trigger:
    set_application_property(CURSOR_STYLE,'<proj>TESTCUR');
    <proj> refers to the proj.dll. Please note the < and > signs
    which are mandatory there. TESTCUR is the name of the cursor resource
    as defined in the proj.rc file.
    Step 3: Display the icon stored in the DLL
    You may also want to change the icon of an iconic button after
    some specific end-user action. The appropriate code for that is:
    set_item_property('IBUTTON',ICON_NAME,'<proj>TESTICO');
    IBUTTON is a PushButton, with the Iconic property set to Yes.
    TESTICO is the name of the icon resource as defined in the proj.rc file.
    Asim.

  • Email Form in PDF format

    I've created a form in LC Designer 8.05. I want users to be able to fill out my form and send the data back as a pdf. I've looked over the forum and tried using the an Email Submit Button and editing the XML Source, but then my button doesn't work. I also tried using a regular Button and a Submit control using the mailto: protocol but that's not working either. It only works when I use the Email Submit Button and an XML attachment. Anyone know why these two solutions are working for me? Thanks.

    Hi Cat --<br />I was finally able to resolve my issue.  Here's my notes.<br /><br /> <br /><br />Email buttons<br /><br />Form data is sent in XML format by default.  To change format to PDF, you must edit the XML Source.<br /><br />If you do not see the xml source tab, right click on the 'Design View' tab and select 'XML Source'. The tab should appear.Select the 'Design View' tab, and within the document, select the 'Submit Email' button. Now select the 'XML Source' tab. You should see the line for your email button control highlighted. <br /><br />Start looking down the code from here until you find a line that reads: <submit format="xml" textEncoding="UTF-8" target = "blah blah blah...<br /><br />Change the format from "xml" to "pdf", save the document and test it. It should now send the form as a PDF rather than xml. <br /><br /> <br /><br />Now, open form in Acrobat Professional. Select the 'Advanced' menu option. Select the 'Enable Usage Rights in Adobe Reader', and save the file. <br /><br />Open your file and test again. If you are running the form in Reader, and do not go through this process, you do not have save rights to the form in Reader. This allows the form to be saved, and ultimately, sent as an email. <br /><br />Jenny Fain<br />Windows Administrator<br />City of Roswell IT

Maybe you are looking for

  • IMac 27-inch, Late 2009 Freezes - OSX 10.9.5

    Greetings everyone, Since a few days ago (today is Sept, 25th 2014), after I have applied an update for Safari and iTunes, when I play World of Warcraft for a few minutes, a flick happens and only the mouse pointer moves on the screen. No keyboard re

  • Streams Setup Through Enterprise Manager!

    Dear All, We have 2 stand alone database servers at 2 different gepraphyical locations. Both servers are linux based and database is 11gR1. I want to setup a bi-directional replication among these servers. Replication has to be online. Record inserte

  • Identifying unfulfilled wait steps

    Hi In my Workflow I have a wait step that with the condition %DATUM% >= &X_DAY& AND %UZEIT%   >= &X_HOUR& X_DAY and X_HOUR have previously been calculated. Due to the timings of SWWCOND running, the wait step is not identified as being fulfilled and

  • Blog not displaying properly

    I have created a blog in BC but it always shows up with each section of the page, "Recent Posts", "Tags", "Archives", stacked down the page instead of the "Tags" and "Archive" sections on the right side of the page like most blogs, (and like they sho

  • Problems in asha 311..

    The nokia 311 is an exceptional phone...but although it has 1ghz processor,it has no multitasking...and also the facebook social app is absent .. But there's no solution given by nokia... Is the company working to update a new software where these pr