How to write VBA code that is compatible DEP

Hello

We have a number of VBA macros, Excel. Some users report an error

After some research, I believe that it is related to the Microsoft Data execution prevention feature. I presume our adds that something that does not like the DEP. Is there a guide on how to write/re-write macros to avoid problems with DEP?

Thank you

Emmet

This issue is beyond the scope of this site and must be placed on Technet or MSDN

http://social.technet.Microsoft.com/forums/en-us/home

http://social.msdn.Microsoft.com/forums/en-us/home

Tags: Windows

Similar Questions

  • I am a newbie to this and I was wondering how to write CSS Code for text, text color, size text and text effects...

    Please keep in mind that I am a newbie. For the moment, I don't know how to write code, so I use Muse to try to build a Web site that is not super fancy writing know, then improve or build or create a new site later. I called Adobe and they said someone in the forums may know how to write code and that he could help me. That said, if someone could answer my questions and help me somehow, I'd be really grateful.

    1. How can I write code, what code should I write to

    Text?

    Color of the text?

    Text size?

    Text/Font Style

    Text effects (such as fly in or fly out, bounce in and out bounce, spin in and spin out, fade in and fade out, etc)?

    Direction of text effect?

    Time that the effect occurs, if it is applied, initiated, comes in? example fly in or fade?

    Time than the last.

    After the effect stops, turns off? example: fly away or fade out?

    2. how to enter the code Muse?

    3. should I have a program to write the code?

    4. is there a function I could use on my computer, such as Notepad, to write the code, copy and paste it into Muse?

    5. What is the best book or books to learn how to write css, code and everything I need to do to be able to do the above and more?

    6. is there anything else I need to know or do to be able to do these things with the text?

    You can find more information on the style of your text (paragraphs, titles, etc. in some of the tutorials here: TUTORIALS |) Adobe Muse CC

    You can also check out tutorials on this page for scrolling effects that can do some of the other effects you need. Without exactly knowing your use case it's hard to give specific advice.

    Basically if it is not covered undressed under the text, scrolling Effects tutorials or in a third party widget already made, then you will need to create it yourself using CSS. You will need to use some sort of browser Firebug like developer tools in Firefox to find the ID of the element you want to add the CSS to write the CSS code and insert it into the head section of the page properties.

  • How to write a program that allows an HTTPs connection to the APACHE TOMCAT server in blackberry JDE

    Hello.. I am very new to the blackberry JDE environment. But then, I have a project in which I should write a program that will make an HTTPs connection to the apache tomcat server using blackberry JDE. The simulator which I use is 8330-JDE.

    Here is my code...

    import java.io.IOException;

    Import java.io.InputStream;

    Import javax.microedition.io.Connector;

    Import javax.microedition.io.HttpsConnection;

    Import net.rim.device.api.ui.UiApplication;

    Import net.rim.device.api.ui.container.MainScreen;

    public class Httproto extends UiApplication

    {

    public public static void main (String [] args)

    {

    Httproto instance = new Httproto();

    instance.enterEventDispatcher ();

    }

    public Httproto()

    {

    pushScreen (new HttpsConnectionScreen());

    }

    }

    final class HttpsConnectionScreen extends screen

    {

    public HttpsConnectionScreen()

    {

    HttpsConnection c = null;

    InputStream is = null;

    int rc;

    try {String url =

    "https://192.168.2.3: 8443/cit/j_acegi_security_check? j_username = sanogo & j_password = redhat;

    c = (HttpsConnection) Connector.open (url);

    c.setRequestMethod (HttpsConnection.POST);

    System.out.println ("connection is open with the server");

    Get the response code is open the connection,

    Send the request and read HTTP response headers.

    The headers are stored until asked.

    RC = c.getResponseCode ();

    System.out.println ("response from the server" + rc);

    if (rc! = HttpsConnection.HTTP_OK) {

    throw new IOException ("HTTP response code:" + rc);

    }

    is = c.openInputStream ();

    Get the ContentType

    The string of type = c.getType ();

    The length and process data

    int len = (int) c.getLength ();

    if (len > 0) {

    int actual = 0;

    int BytesRead = 0;

    byte data = new byte[len]; while ((bytesread! = len) & (real! = - 1)) {

    real = is.read (data, bytesread, len - bytesread);

    bytesRead += real;

    }

    } else {}

    int ch;

    while ((ch = is.read (())! = - 1). {

    }

    }

    } catch (ClassCastException e) { throw new IllegalArgumentException ("not a HTTP URL");}

    }

    catch (IOException ioe) {}

    finally {

    Try

    {

    if (is! = null)

    is. Close();

    if (c! = null)

    c.Close ();

    }

    catch (IOException ioe) {}

    }

    }

    }

    When I run this program in the Simulator, I can do nothing. Please correct me if I'm wrong in coding.

    As I am new to this blackberry JDE environment, ideas and suggestions on how to write and run the sample applications in the blackberry are more welcomed.

    Concerning

    Hinduja

    Make sure that your MDS starts when the Simulator starts.  In the JDE will in Edition > Preferences > Simulator > General and click the checkbox "launch Mobile Data System connection with Simulator Service.

  • How to write efficient code in pl/sql using case

    Hi all

    For all variables specified in the procedure, I have to do if the conditions as... one you suggest effective way of coding using case...





    Thank you / kumar

    Published by: kumar73 on August 17, 2010 05:56

    Published by: kumar73 on August 17, 2010 05:58

    Published by: kumar73 on August 17, 2010 09:55

    Hello

    Sorry, I don't know of anyway to avoid making all these instructions IF, or their equivalents.
    You can make the code easier to write, debug and maintain by putting common code in a function, like this:

    CREATE OR REPLACE FUNCTION  zero_out (in_num     IN     NUMBER)
    RETURN       NUMBER
    DETERMINISTIC
    IS
    BEGIN
         IF  in_num  NOT IN (-8E14, -7E14, -6E14, -5E14, -4E14, -3E14, -2E14, -1E14, -1E9)
         THEN
              RETURN  in_num;
         ELSE
              RETURN  0;
         END IF;
    END     zero_out;
    

    See below for an example of how to call it.
    Note that there is no point in trying to "in_num IS NULL"; the expression NOT IN never returns TRUE if in_inum is NULL.
    This will probably not everything faster than you do now, but it will probably not significantly slower, either.

    If you want to make the procedure faster, try to use the COLLECTION in BULK.
    Combine loops nested one. If you set the slider as

    ...     CURSOR  finc_csr
         IS     SELECT     finc.*
              FROM     pqr.finc
              JOIN     abc.fmly     ON     finc.famid     = fmly.famid;
    

    then you can use it like this:

    ...     FOR  rec  IN  finc_csr
         LOOP
              v_temp_unemplx   := zero_out (rec.unemplx);
              v_temp_unemplbx  := zero_out (rec.unemplbx);
              v_temp_compsensx := zero_out (rec.compsensx);
              ...
         END LOOP;
    
  • How to stop the code that adds video clips

    Hello

    I have a code simply adding video clips. Video clips are on the same time move along the stage.

    The first clip is already on the scene and the code should add three more. Clips of three film set with the instructions if are added correctly (for positions origX and origY).

    But after adding the three, he keeps adding them. And not at all defined first x and y, but x = 0 and y = 0.

    How can I stop it after you add the three?

    The code is in a separate class file.

    Thanks in advance!

    Duck/public class extends MovieClip

    {

    var origX: number;

    var origY: number;

    var i: int;

    var newDuck: party;

    public void Duck()

    {

    origX = this.x;

    origY = this.y;

    this.addEventListener (Event.ENTER_FRAME, moveDuck);

    }

    function moveDuck(event: Event): void

    {

    This.x += 0.25;

    If (this.x is origX + 50)

    {

    addDuck();

    }

    If (this.x is origX + 75)

    {

    addDuck();

    }

    If (this.x is origX + 100)

    {

    addDuck();

    }

    }

    function addDuck(): void

    {

    newDuck = new part();

    parent.addChild (newDuck);

    newDuck.scaleX = 0.55;

    newDuck.scaleY = newDuck.scaleX;

    newDuck.x = origX;

    newDuck.y = origY;

    }

    }

    You operate Duck() instanciates an enterFrame function that actually creates instances the duck on the scene. Once started, there is nothing to say things to stop creating new ducks. You can add a loop for which counts the number of ducks you want and then kills the enterframe function. I don't know why your x and y values are reset to 0.

  • How to change a file that is compatible with Windows Movie Maker? I have .webms, and those who are not compatible.

    Trying to complete a school project, all Web sites have huge watermarks covering 1/4 of the video. Thought Movie Maker moght help, but none of my Webms are compatible with

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand that you are trying to achieve a school project in Windows Movie Maker and I'll be happy to answer your query.

    From now on, I would like to ask to refer to the advice given in the article below and verify the information.

    Can what types of files I use in Movie Maker?

    See also: getting started with Windows Movie Maker

    I hope this information is helpful and good luck for your project.

  • How to write request for that given information?

    I have table (employees) like this

    Hire_date Salary
    4 January 19912000
    05-mar-19911300
    12 sep-19912400
    February 19, 19923000
    17 Apr-19921000
    November 23, 19921200
    January 25, 19931000
    June 6, 19931200

    I want to get an output like this

    Hire_date Salary Years in the range total
    4 January 19912000
    05-mar-19911300
    12 sep-199124001 January 1991 to 31-dec-19915700
    February 19, 19923000
    17 Apr-19921000
    November 23, 199212001 January 1992 to 31-dec-19924200
    January 25, 19931000
    January 6, 199312001 January 1993 to 31-dec-19932200

    Give me a few ideas guys

    Hey Gopi,

    This is the final query.

    SELECT res.employee_id

    res.salary

    decode(res.rnum,1,res.total_sal)

    decode(res.rnum,1,res.years_in_range)

    FROM (select e.employee_id

    e.salary

    , TRUNC (hire_date, 'YYYY'): ' to ' | (add_months (TRUNC (hire_date, 'YYYY'), 11) + 30) years_in_range

    Salary on (partition of to_char (e.hire_date, 'YYYY')) total_sal

    row_number() on rnum (partition by to_char (e.hire_date, 'YYYY') order by ASC e.salary)

    e employees) res

    See you soon,.

    Suri ;-)

  • Write the VBA code or cmd to refresh essbase planning app db

    Hi all

    Someone trying to write VBA code or cmd to refresh essbase planning app db?

    OS: Windows 2003
    Planning version: 921
    Essbase EAS:921

    All auto refresh essbase db planning app ideas?

    THX

    Hello

    There is a CubeRefresh.cmd utility which refreshes planning to Essbase. You can find it in planning > Bin directory (whose location varies depending on which version you use). Take a look at the doc to help below:

    [http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/frameset.htm?ch11s06s01.html]

    Hope this helps
    Stuart

  • Question 1: How do I add or use jQuery in folder level Adobe Javascript.  Question 2: How to write normal Javascript in file level Adobe Javascript ie., getElementbyid etc...  Please find the below code that shows what I am referring

    Here's my level Javascript file, which comes as a Pop up when I click on a created custom button in a PDF reader on your...

    I created a Test.js file and then pasted the code below into it. Then I copy paste this file in the following path: C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\JavaScripts

    Now I want to know How to add jQuery Code or the Normal Javascript in the code below. Please give an example.

    Note: I do not use forms Javascript here. It is an ACROJS Javascript folder.

    Beginning of the Code

    app.addMenuItem ({cName: "PERSONAL INFORMATION", cParent: "File", cExec: "helloWorld()"});

    helloWorld = app.trustedFunction (function () {var

    app.beginPriv ();

    Dialog1 var = {}

    Description:

    {

    elements:

    [

    {

    type: "cluster."

    name: "invisible."

    align_children: 'align_left,

    elements:

    [

    {

    type: 'static_text. "

    name: 'First Name '.

    },

    {

    type: 'edit_text. "

    alignment: "align_fill",.

    Width: 300,

    height: 20

    }

    ]

    },

    {

    alignment: 'align_left,

    type: "ok_cancel."

    ok_name: "Ok."

    cancel_name: "Cancel".

    }

    ]

    }

    };

    app.execDialog (dialog1);

    app.endPriv ();

    });

    End of the Code

    Let's take a step back and understand what is 'normal' JavaScript. Normal to you probably means browser based, but it is only your point of reference. Any implementation of JavaScript includes at least the core JavaScript language, and that's what you have in the two Acrobat JavaScript, but also browser JavaScript. Things like the JavaScript syntax are dealt with in this part of the language, how are managed types (numbers, strings, arrays, classes,...), but also a number of items of library like for example the Date object. In addition to this basic language, almost all JavaScript implementations have a second part, which is the specific application. In the browser, you deal with HTML and windows and other things that have no meaning in the browser environment. In Acrobat, you work with PDF documents, annotations, form fields and more. The specific web browser Javascript is no more or less 'normal' that the implementation in Acrobat. It takes some getting used to a different environment, and what is the Acrobat JavaScript API reference. You will find all the specific objects in Acrobat and methods described in there. What makes things a little more difficult for you, is that you probably don't know corresponding to the line between the core language and browser-specific extensions, so you'll have some re-learning the language in front of you.

  • Does anyone know of a VI or how to write one that will stop the computers time be disabled if an application is run.

    Does anyone know of a VI or how to write one that will stop the computers clock be turned off if an application is run. The time and date can be reset normally while an application is running by clicking on the time in the lower right of the screen of the computer. I have an application that runs over several days and it is essential that the time and date of the computer not be changed. Is there an easy way of this lockout the user? Note that I am what I consider a beginner advanced in LV

    Thank you

    Chuck

    This isn't something that you can from LabVIEW, because this is an operating system operation, and it will depend on the operating system you are using. Under Windows, you can use Group Policy to control this. Please Google on "prevent changing the date and time of windows."

    Also, please try to refrain from stuffing your message in its entirety in the block of material. Keep short, but descriptive enough topic so we can understand what you're asking basically. Thank you.

  • How can I be sure that if I write a frame on the bus with success?

    Hello

    I use XNET to write and read the structure. I wonder how can I be sure that the writing frame on the bus is successful? I mean without using the XNET-monitor or something. Are there any screws or propertynode to set after the XNET Write.vi to let me know if I really write an image in the bus or not?

    THX.

    It's been a while since I looked, but I vaguely remember that (at least with the C of FPGA OR-CAN-modules of the series) there is a function/method/configuration setting that allows to configure the module echo all the (or just the error frames) sent executives to the side of the reception.

    Also, I think you're supposed to be able to assume that if you get an error when writing, she has been sent successfully. (But even I'm not convinced...)

  • How do I step manually in code that uses a structure of the event, when I want to select a particular event?

    I use an architecture of producer/consumer for an application with a structure of the event in the upper loop. Events are triggered by the user from the control panel using Boolean switches that are "change when you press on" and "release switch. My question is how can I manually step through the code using various events? It doesn't matter what I'm still not in the same event.

    Thank you.

    You can view the code? Is what event still enter? I did have problems step by step in code that uses a structure of the event. You must be patient, but because the application is slowed down a bit and it can take a while to get into the case of the specific event depending on what events you deal. Usually, I place a breakpoint in the case I am interested and run the application as usual. Once I hit the breakpoint is when I turn on highlighting of execution.

  • Could someone tell me that I have a laptop that is compatible with the adapter wireless Athreos in it and it catches an unsecured, network shown as next (automatic) for the SSID (network name). Please tell me how to connect...

    Could someone tell me that I have a laptop that is compatible with the adapter wireless Athreos in it and it catches an unsecured, network shown as next (automatic) for the SSID (network name). I tried parameter as point of access, AD-hoc, Connect automatticaly etc but will not connect... Please tell me how to connect...

    Hi Sumit and thanks for posting.

    Your Athreos has never connected? If it has connected then it not only connects it to insecure networks? Also after can trying to connect you do the following?

    Start, run, CMD, OK to open a command prompt:

    Type the following command:

    IPCONFIG/ALL

    [Note that there is no space between the oblique and ALL bar].

    Right click in the command window and choose Select all, and then press ENTER.
    Paste the results in a message here.

    I hope this helps. After the back if you have any questions.

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How can I download CS3 version 'later' and make it work on a newer computer? (I have the activation code that I bought in 2008)

    How can I download CS3 version 'later' and make it work on a newer computer? (I have the activation code that I bought in 2008)

    An idea that MAY work to install or run some programs in Windows 10 old... works for some, not for others

    -http://www.tenforums.com/tutorials/15523-compatibility-mode-settings-apps-change-windows-1 0 - a.html

    - or run as Administrator http://forums.adobe.com/thread/969395 to assign FULL permissions can help... said yet, but sometimes it is necessary for all Adobe programs (this is same as using an administrator account)

  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

Maybe you are looking for