Microsoft written application connectin to Database

My application is written in C++ using Microsoft Visual Studio. How would I connect to database &
retrieve information (insert/update/...)?

Most of the requests we get seem to be for connection/migration from Visual Basic. If there is enough demand we will put together some information on C++ migration from accessing another database to Oracle.
If you have to put this information together yourself please post it, or email it to [email protected] So it can be added to our documents (FAQ or white papers) to help other migrators.
Turloch
[email protected]
Oracle Migration Workbench Team

Similar Messages

  • Error creating a new user profile service application: The specified database is not a valid synchronization database

    When trying to create a new user profile service application on a new SharePoint install I get the following error:
    "The specified database is not a valid synchronization database"
    The installation then fails and does not create the third database. 
    I found some threads with similar problems but it involved upgrading an existing db.  In this case we want to create a new one.  Here is the relevant ULS log info:
    Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
    Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
    Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
    The SP15_TEST_ENT_SyncDB database does not exist. 
    It will now be created.
    Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
    Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
    Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
    Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Validate Database: validating sync database
    Validate Database: validation failed: Error code -2
    Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database 
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database  
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
    The specified database is not a valid synchronization database   
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I Tried to create another one under a different name (databases also) and I get the same error. 
    The SharePoint instance has the march mandatory update installed.  The sql instance we are using is an existing SQL cluster for other SharePoint poc's. 
    Has anybody seen this issue before? 

    I had the same problem and could not figure out what was wrong for the longest time.  I then had the idea to check in the model system database to see if there were any extra custom tables in that database.  Any tables that are in the model database
    are put into any new database when it is created.  I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
    the user profile service application again and it worked with no errors

  • Launch Microsoft word application inside AIR

    Hi Guys,
    I am stuck up somewhere not able to find the solution to my
    prolbem.Let me explain the problem in detail.
    I working on an Adobe AIR application and I need to launch
    the microsoft word application to open a particular document which
    a user can then modify.
    This word document are some defined documents stored some
    where in system. The user can then modify the document and can
    store that locally in the database.My concern is to launch the
    microsoft word document in my AIR application and then let user do
    the changes to the document and then i will save the document in my
    database as BLOB.
    Is there any good way of doing this.I hope Adobe has taken
    care of such scenarios and there must be some API's or component in
    Flex builder 3 so that i can use that.
    I am hoping with the finger crossed and waiting for a good
    response from Flex people.
    ~ Hstrong

    I am importing Word documents ( in xml format ) into an Air
    application and storing them in a blob in SQLite. When a user
    selects a document, I export it to a file and submit a URLRequest
    to open it. It launches in IE initially (asking if you want to open
    the document), but when IE sees the xml declares it a Word
    document, IE opens Word.
    To load the file to the database:
    //set up and open the database
    var sqlConnection:SQLConnection;
    sqlConnection = new SQLConnection();
    var dbFile:File =
    File.applicationDirectory.resolvePath("cASM_db.db");
    sqlConnection.open(dbFile);
    //open the file, read, and close (note reading bytes with
    readBytes)
    var fileStream : FileStream = new FileStream();
    fileStream.open(asmModel.newTemplate, FileMode.READ);
    var myBlob:ByteArray = new ByteArray();
    fileStream.readBytes(myBlob); //read the object
    fileStream.close();
    //insert the blob into the database (note use of QUOTE
    function to format blob into hex)
    myStmt.sqlConnection = sqlConnection;
    myStmt.text = "Insert into doctype (" +
    "docname_ch, document_bl) " +
    "values (?, QUOTE(?))";
    myStmt.parameters[0] = asmModel.newTemplate.name;
    //docname_ch
    myStmt.parameters[1] = myBlob; //template_bl
    myStmt.execute();
    To unload the file from the database and open:
    //identify the file to be populated and delete if already
    there (note use of File type and resolvePath function)
    curFile = File.applicationStorageDirectory;
    curFile = curFile.resolvePath("view/version_" +
    asmModel.selectedDocument.VERSION_NU + "_" +
    asmModel.selectedDocument.DOCNAME_CH);
    //if it is there, delete it
    if (curFile.exists)
    curFile.deleteFile();
    //open the database connection
    var sqlConnection:SQLConnection;
    sqlConnection = new SQLConnection();
    var dbFile:File =
    File.applicationDirectory.resolvePath("cASM_db.db");
    sqlConnection.open(dbFile);
    //get the document (now in hex string format)
    myStmt.sqlConnection = sqlConnection;
    myStmt.clearParameters();
    myStmt.text = "Select docname_ch, document_bl " +
    "from doctype " +
    "where docname_ch = ?";
    myStmt.parameters[1] = asmModel.selectedDocument.DOCNAME_CH;
    myStmt.execute();
    myResult = myStmt.getResult();
    //now convert the hex string back to a byteArray (note the
    use of a custom toArray function)
    var myBlob:ByteArray = new ByteArray();
    myBlob = toArray(myResult.data[0].DOCUMENT_BL);
    //now write the document to the file
    var fileStream:FileStream = new FileStream();
    fileStream.open(curFile, FileMode.WRITE);
    fileStream.writeBytes(myBlob);
    fileStream.close();
    //now set up the URLRequest
    var request:URLRequest = new
    URLRequest("app-storage:/view/version_" +
    asmModel.selectedDocument.VERSION_NU + "_" +
    asmModel.selectedDocument.DOCNAME_CH);
    var docType:String = request.url.substr(request.url.length -
    4, 3);
    if ((docType != "pdf") ||
    (HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK))
    navigateToURL(request);
    else
    Alert.show ("You need to upgrade Adobe Reader.", "Error");
    trace("PDF cannot be displayed. Error code:",
    HTMLLoader.pdfCapability);
    Here's the custom function toArray:
    public static function toArray(hex:String):ByteArray {
    hex = hex.substring(hex.search("3C3F786D6C"),hex.length - 3);
    var a:ByteArray = new ByteArray;
    //make sure the string has an even number of characters
    if (hex.length&1==1) hex="0"+hex;
    //change each hex pair to a single int (ascii char code)
    // and place the int in the byte array
    for (var i:uint=0;i<hex.length;i+=2) {
    a[i/2] = parseInt(hex.substr(i,2),16);
    //return the byte array
    return a;
    Hope this helps!
    Steve

  • Microsoft office pro vol 2013 database compare error unhanding message

    Microsoft office pro vol 2013 database compare error unhanding message my operating system windows 8.1 ? but last qus and give a answer looking not my operating system not support Microsoft .NET Framework 2.0Microsoft Report Viewer Redistributable 2008.
    this application pls help as me? error stop?

    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    DatabaseCompare
        Assembly Version: 5.5.0.5
        Win32 Version: 5.5.0.5
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Office/Office15/DCF/DATABASECOMPARE.EXE
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Common.FileUtils
        Assembly Version: 5.5.0.5
        Win32 Version: 5.5.0.5
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Office/Office15/DCF/Common.FileUtils.DLL
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer

  • Uploading the data from Application server to Database

    Hi,
    I am trying to upload tab delimited file from application server into database.
    I have upload the file from presentation to application server by CGZ3
    and i am able to see file in app server with #s and it appers in application server as
    10140#A#E#120#abcd#
    10146#M#P#300#a.b#
    10152#M#P#200#dat123.com##
    140#A#P#300#blicksat123.com#
    10140#A#E#260#cust1at123.com##
    And my notepad records looks like
    10140     A     E     120     abcd
    10146     M     P     300     a.b
    10152     M     P     200     dat123.com     
    140     A     P     300      blicksat123.com
    10140     A     E      260     cust1at123.com
    I am using open data set and read dataset to read the file as shown below
    DATA:
        l_htab      TYPE c,                " Horizontal tab
        l_line(100) TYPE c.                " Content in the file
      l_htab = cl_abap_char_utilities=>horizontal_tab.
    Open dataset
      OPEN DATASET pp_afname FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc EQ 0.
        DO.
    Read dataset
          READ DATASET pp_afname INTO l_line.
          IF sy-subrc EQ 0.
            SPLIT l_line AT l_htab
                       INTO fs_file-carrid
                            fs_file-autoind
                            fs_file-commtype
                            fs_file-resptime
                            fs_file-smtpaddr.
            APPEND fs_file TO pt_afile.
          ELSE.
            EXIT.
          ENDIF.                           " IF SY-SUBRC EQ 0.
        ENDDO.                             " DO.
        CLOSE DATASET pp_afname.
      ELSE.
        MESSAGE 'Problem in opening the App.Server file' TYPE con_msgtyp_i.
      ENDIF.                               " IF sy-subrc EQ 0.
    Load the data to the database
      PERFORM load_data_to_database USING t_afile.
    When i am trying to upload it is taking me to dump and the errpr analysis is like
    "The program attempted to interpret the value "26 0 " as a number, but
    since the value contravenes the rules for correct number formats,
    this was not possible."
    Any suggestions on this
    Regards
    VEnk@

    Hi,
    Thats the line feed character. After reading  the application server file, use this
    data: lv_feed type c value CL_ABAP_CHAR_UTILITIES=>CR_LF.
    loop at itab.
    replace all occurrences of lv_feed in itab-field with space.
    modify itab.
    endloop.
    Vikranth

  • Bug fix for JRC application throws "Unexpected database connector" ?

    Hello,
    I'd appreciate if anyone has information on this particular bug and the expected date for releasing the fix.  I face this issue with Crystal Reports for Eclipse SP4 also.
    Here is the link:
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    Here are the details of the bug in case you'd rather not click the link:
    Symptom
    JRC application throws "Unexpected database connector" error when certain parameter value is selected
    The same workflow with same report works fine in Crystal Reports Designer and Infoview
    Environment
    Crystal Reports for Eclipse 2.0 SP3
    Reproducing the Issue
       1. Create a report with parameter field with several default values
       2. Refresh the report in Crystal Reports Designer and select different parameter value, the report displays well
       3. Develop a JRC application using Crystal Report for Eclipse 2.0 SP3 JAR files to display the above report
       4. JRC application throws "Unexpected database connector" error when certain parameter value is selected
    Cause
    The issue has been identified and logged under Problem Report ID ADAPT01311448
    Resolution
    This issue is scheduled to be addressed in a future Service Pack.

    Ted,
    Thank you very much for your response.  I downloaded Crystal for Eclipse very recently (about two weeks ago) using the URL
    http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/
    My understanding is that I already have the latest service pack that should have the fix for this bug.  Can you help as to why I still see this issue?
    Thank you.

  • How do I create a stack in my dock. I want to stack all of my Microsoft Office Applications.

    I want to stack all of my Microsoft Office Applications.

    Kappy-
    I never though of doing that. I just moved my "iWork" folder into the end of the Dock, since it is already in a Folder and I seldom use Numbers or Keynote. Two fewer Icons in the Dock but still easy access.
    What a good idea!

  • I'm trying to load photoshop elements 12 on my mac os x and when i click setup.exe i get :    You can't open the application "Setup.exe" because Microsoft Windows applications are not supported on OS X.

    i'm trying to load photoshop elements 12 on my mac os x and when i click setup.exe i get : You can’t open the application “Setup.exe” because Microsoft Windows applications are not supported on OS X.  The premiere elements 12 out of the same box loaded just fine.

    An .exe file means you have the windows version. Go get the mac version:
    Download Photoshop Elements products | 12, 11, 10
    but I hope you have a mac serial number.

  • PDA Application Connect to Database

    Hi,
    I want to develop application sit on PDA(like iPAQ) eg.Contact Manager (to keep personal contact). this require a database to keep all these information in the PDA so that can be retrieve.
    Its there any Micro-Database that can be installed into PDA (free?).
    Please show me the link to get this Installaler, JDBC and documentation.
    Please show me also the way to create database and table in PDA. and step to install this micro-db into the PDA.
    It would be more helpful, if someone can give me some simple example of a PDA Application connect to Database.
    Thanks in advance, Regards

    Open source one is :
    http://sourceforge.net/projects/hsqldb
    This one is not absolute free but the price is quite compelling.$995 for unlimited install.
    http://www.quadcap.com/home.html
    http://www.quadcap.com/purchase/index.html
    4. The rights granted pursuant to this Agreement are contingent upon Licensee's payment of the license fees for the QED Software. The License Fee for this Commercial Redistribution License is USD $995.
    Even SQL CE from MS is free, as long as you not use it connected to backend system. so if u could work out other sync implementation or u dont need data sync at all, this might be a choice too. The issue is no official JDBC driver for SQL CE though there is for SQL server.
    However, I have no hand on experience on those 3. We are evaluating Pointbase Micro, thought not free.l

  • The application requires more database privileges than you have currently

    Hi,
    on 10g R2, no one can login to DB Control grid (not sys, not sysman nor system ). We get the following :
    The application requires more database privileges than you have currently been granted. Click on Help to get more version specific information.
    We are sure of password.
    I saw and applied the metalink notes 330682.1 and 363065.1 that says :
    grant SELECT_CATALOG_ROLE to user;
    grant select any dictionary to <user>;
    but no result.
    Any help ?
    Thank you.

    1. What operating system.
    2. What version of Oracle (10gR2 is a marketing label not a version number ... provide all decimal places)
    3. What are the values of the environment variables ORACLE_HOME and ORACLE_SID?

  • Calling application from other database

    It's possible to call an application on another database, without informing user and password again?

    Sorry for being fastidious, but I don't think you can "call" an Apex application as you would call a database procedure for instance. So I assume you mean navigate from one Apex application to another Apex application in a different database.
    If you use single sign-on (SSO), that is a piece of cake.
    If you don't, there is no straightforward way I think. You can use some ingenious ways to get round it though, for instance:
    - In the calling application, using a database link, insert a token in some table in the other database along with the username and a timestamp.
    - Pass that token and the username in the URL as a parameter to an "auto login page" in the other application
    - In the "auto login page" of the other application, check whether the token/username combination is valid and, if it is, auto-login the user using the provided username.
    You also could use other fancier techniques like queues. Maybe others may have other suggestions.
    I hope this helps
    Luis

  • Cannot open Microsoft Office Mac 2011 after migrating to new computer. OS 10.9.1: Microsoft Error Reporting log version: 2.0  Error Signature: Exception: EXC_CRASH (SIGTRAP) Date/Time: 2014-01-19 23:31:24  0000 Application Name: Microsoft Word Application

    Got a new MacBook Pro and migrated my settings and applications from old computer. Reinstalled Microsooft Office from a disk, after I opened a document and it said I was missing some software components. Now when I open any office application, I get:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_CRASH (SIGTRAP)
    Date/Time: 2014-01-19 23:31:24 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.3.9.131030
    Crashed Module Name: merp
    Crashed Module Version: 2.2.4.131030
    Crashed Module Offset: 0x00004422
    Blame Module Name: MicrosoftSetupUI
    Blame Module Version: 14.3.9.131030
    Blame Module Offset: 0x0000e516
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0

    Hi,
    Do you get the error message like "Office <Update version number> can't be installed on this disk. A version of the software required to install this update was not found on this volume. To learn how to fix it this issue, see "I can't install Office
    for Mac updates" at http://www.microsoft.com/mac/help.mspx."
    If it was, please follow the kb to fix the issue:
    http://support.microsoft.com/kb/969065/en-us
    Then, here is a forum for Office based on the Windows operation system, we are lack of the source about the Office for mac, you'd better post your question to Answers forum:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2008?tab=Threads
    Regards,
    George Zhao
    TechNet Community Support

  • Why does 'You can't open the application "setup.exe" because Microsoft Windows applications are not supported on OS X.' pop up whenever i try to download the latest flash player?

    whever i try to access websites, most of them work but facebook, youtube, my school email, sometimes even google, and alot other websites wont work for me and will tell me i need to update the lastest Flash Player. but when i try to download it, it says 'You can’t open the application “setup.exe” because Microsoft Windows applications are not supported on OS X.' what does that even mean?? This happens on safari, google chrome and i downloaded firefox and it worked for a couple of hours and then stopped working again.
    please help, thanks in advance.

    1. Install Adobe Flash Player from Adobe site.
        http://get.adobe.com/flashplayer/
       Download it first. Click Safari in the menubar and select “Quit Safari”.
        Follow the prompts and install it.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.

  • Actually in my project The middle tier was written using RMI.The Database i

    Actually in my project The middle tier was written using RMI.The Database interaction was defined in the middle
    tier itself.My problem is , the queries we post to the database should interact with XML Database which in turn should
    interact with the actual Relational Database from which the XML Database was built.
    Thanks in Advance

    Leave the phone alone and let it cool down.

  • Microsoft Windows applications are not supported on OS X. help

    Im trying to watch a DVD for a health and safety test i need to do and I'm getting "You can’t open the application “RunMe.exe” because Microsoft Windows applications are not supported on OS X."
    Im not very good with computers so any help greatly appreciated 

    You chose a Windows program, what else can you do.
    If you had a Windows machine and the DVD required a Mac you wouldn't be able to run it at all (Winboxes can't run OSX) so at least the Mac gives you the option.

Maybe you are looking for