Cannot run the samples in Flex Builde beta 3

The installation of Flex Builder finished OK. I did choose to
install Flash 9.0 in both IE and FF, but for some reason when going
to the examples it asks me to install Flesh 8.0. Even if I say yes
to th eprompt it doesn't display.
I have even re-installed the flas Active X manually and even
regieterd it as per instructions on the Installation of Flex
Builder 2.0 beta 3 page,, but still no luck...
Any help is appreciated.
Thanks

P.S. I asked Chris Agruss (our build and installer guru)
about some
possible reasons why the Flash player installer might have
failed to
work for IE. I've attached his reply.
Rebecca - Adobe
Here are a few cases I know about where the ActiveX plugin
for FP won�t
be installed normally:
� IE is running at the time, and especially if activeX
has been run
� Outlook, or some other program that runs the IE
engine under the hood,
is running
� Older ActiveX version installed that needs some Dark
Magic, or
explicit uninstallation of some sort
In the first two cases, where IE is in use, the plugin will
normally be
installed after a reboot, but until then it will look as if
the
installation didn�t work.
-ChrisAg
Rebecca Hyatt wrote:
> My guess is that something went wrong with your
installation of Flash
> Player 9 in IE failed for some reason (?), and that you
have IE
> configured as the default browser on your system (so
that's the one that
> FB launches).
>
> Uninstalling/reinstalling (with IE not running) might
fix the IE/Flash
> Player install.
>
> Changing the default browser to Firefox would be an
alternative
> solution... FB would launch to Firefox instead, where
the install seems
> to have worked correctly.
>
> Rebecca - Adobe
>
> mikiM wrote:
>
>> We are stuck and no idea where to go from here.
>> System: Win XP Professional, sp 2 with the latest
patches
>> CFMX Developer Edition 7.01 with updater 1
>> Clean installation of Flex Builder 2.0 beta 3,
finished OK. During
>> the installation Had selected to install the new
flash player 9 for
>> both IE (6.1) and FF (1.5)
>> Flex Builder Opens OK and displays the help properly
>> Clicking on any of the examples asks me if I want to
install Flash 8,
>> Even if I choose yes it doesn't display anything and
if I select
>> another example it will ask me again.
>>
>> Trying to run the same examples in directly in IE
fails, but works in
>> FF.
>>
>> Thanks
>>
>> BTW this is from the installation log
>>
>> Installation: Successful.
>>
>> 484 SUCCESSES
>> 0 WARNINGS
>> 0 NONFATAL ERRORS
>> 0 FATAL ERRORS
>>
>>

Similar Messages

  • How to build/run the SampleVideoPlayers in Flex Builder

    The source for building the Flash Player and AIR Sample Video Players using Adobe Flex Builder 3.2 is located \Sample Video Players\Flash Player\Source and \Sample Video Players\AIR\Source respectively.
    Flash Player Runtime
    (Mac and Windows)
    • Copy the file playerglobal.swc located in the Sample Video Players\Flash Player\playerglobal.swc folder to      <FlexBuilderInstallDir>\sdks\3.2.0\frameworks\libs\player\10 folder.
    • Copy the Player source folder located in \Sample Video Players\Flash Player\Source to your local hard drive.
    • Launch Flex Builder and import the project.
    • Select the SampleVideoPlayer_FP project.
    • Go to Project - Properties - Flex Compiler to make sure you are using the Flex 3.2 compiler.
    AIR Runtime
    (Mac)
    • Mount Mac_AIR_2.0_SDK.dmg.
    • Copy the SDK files using the command:
         ditto /Volumes/AIR\ SDK /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.2.0/
    • Copy the file airglobal.swc located in the Sample Video Players\ AIR\airglobal.swc folder to <FlexBuilderInstallDir>\sdks\3.2.0\ frameworks\libs\air folder.
    • Copy the AIR source folder located in \Sample Video Players\AIR\Source to your local hard drive.
    • Launch Flex Builder and import the AIR project.
    • Select the SampleVideoPlayer_AIR20 project.
    • Go to Project - Properties - Flex Compiler to make sure you are using the Flex 3.2 compiler.
    (Win)
    • Copy the files in Win_AIR_2.0_SDK to to <FlexBuilderInstallDir>\sdks\3.2.0\.
    • Copy the AIR source folder located in \Sample Video Players\AIR\Source to your local hard drive.
    • Launch Flex Builder and import the AIR project.
    • Select the SampleVideoPlayer_AIR20 project.
    • Go to Project - Properties - Flex Compiler to make sure you are using the Flex 3.2 compiler.

    Thanks for  your replies.
    Could  you please  let me know where genarated  AS files  will reside in Flex builder  ?.
    Thanks
    Praveen.

  • Can't download Flex Builder Beta 3

    When I attempt to download Flex Builder Beta 3, I'm
    redirected to
    http://trials.adobe.com/pub/esd/labs/flex2/FlexBuilder2_B3_05-08.exe
    in Firefox and
    http://www.adobe.com/cfusion/entitlement/index.cfm?event=custom&sku=RC00211&e=labs
    in IE. In both cases I get a "page cannot be displayed" or "server
    not found" error. Any suggestions?

    Hello,
    This is being discussed internally. We're working on a
    solution. Sorry!
    - Rob
    "KenichiM" <[email protected]> wrote in
    message
    news:e3uo1j$4ub$[email protected]..
    > When I attempt to download Flex Builder Beta 3, I'm
    redirected to
    >
    http://trials.adobe.com/pub/esd/labs/flex2/FlexBuilder2_B3_05-08.exe
    in
    > Firefox
    > and
    >
    http://www.adobe.com/cfusion/entitlement/index.cfm?event=custom&sku=RC00211&e=la
    > bs in IE. In both cases I get a "page cannot be
    displayed" or "server not
    > found" error. Any suggestions?
    >

  • Flex Builder Beta M4 uninstall failure

    Flex builder beta M4 has expired 53 days earlier than
    promised. But that's little trouble. Awful trouble is that it is
    refusing to uninstall. When I am trying to uninstall, it says this,
    quote:
    quote:
    java.lang.InternalError: jzentry == 0,
    jzfile = 8600112,
    total = 1099,
    name = C:\Program Files\Adobe\Flex Builder 3\Uninstall Adobe
    Flex Builder 3\uninstaller.jar,
    i = 99,
    message = invalid LOC header (bad signature)
    at java.util.zip.ZipFile$3.nextElement(Unknown Source)
    at java.util.zip.ZipFile$3.nextElement(Unknown Source)
    at ZeroGy.d(DashoA8113)
    at ZeroGy.a(DashoA8113)
    at ZeroGy.b(DashoA8113)
    at ZeroGd.g(DashoA8113)
    at ZeroGd.b(DashoA8113)
    at ZeroGd.b(DashoA8113)
    at ZeroGd.b(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.b(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
    Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    Anybody has any idea how to bypass this to get this POS
    (piece of software) out of my system?

    Hi Larry,
    Thank you so much for your reply!
    I am mainly using Flash Builder Beta 2 which like I said does install fine(using the stand alone version). In code mode it does crash sometimes, but is rare, it happens now and then, but what I really want to get working is the design view. i am new to flex, and would really like this to work.
    when I go to the terminal
    java - version
    java version "1.6.0_15"
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
    Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
    I did install java 1.5 for CodlFusion 9, turned out that I don't need it, well I think not. I was thinking about re installing Snow Leopard to see if I could get Flex working, but I have not yet done that. I have heard that others have flash builder or flex  working in snow leopard, can you confirm this?
    My laestest error log FlashBuilder beta 2:
    http://hawaiiflash.net/flashBuilder_error.txt
    for Flex 3:
    http://hawaiiflash.net/flex3_error.txt
    also I have http://hawaiiflash.net/Flex3.txt
    now I did hear from somebody that since I have 2 different versions of java this is causing issue with Flex? should I un-install all prior versions of java and just leave the 1.6 version? I am not sure why this would cause flex to crash when in design mode?
    Thank you so much for your help, I would love to get flex working in design mode, either flex 3 or flash builder`-`
    Johnny

  • Error while running the Sample code

    Hi,
    I am using jdeveloper 10.3 and I was trying to run the sample application that is present in the following url. I didnt change any thing in the code.
    http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/public_html/index.html
    But While running the Test.java I get the following error. Is there any one who can help me in this please?
    javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Please enter more characters]; remaining name 'dc=yourcompany,dc=users'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3058)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
    at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
    at dc.ldap.model.LDAPSearch.executeSearch(LDAPSearch.java:55)
    at dc.ldap.runtime.Test.main(Test.java:19)
    Exception in thread "main" java.lang.NullPointerException
    Thanks,
    Haripriya.S

    Probably you'll get more answers when you post this kinda questions in the JDev forum.

  • Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled.

    Dear Sir,
              While i am calling Excel function through asp.net  using Excel 2003 i  was not facing any kind of issue it's working fine but while i am calling  Excel functions through asp.net using 
    Excel 2010  i am facing an issue even after enabling the micro in settings . issue is 
    "Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled." please solve this as soon as possible .
    Thanks & Regards
      Sanjeev

    // I made a singleton class and calling that class to access Excel functions
    Public Class Singleton
        Private Shared objexcel As Excel.Application
        Private Shared lock As New Object
        Private Sub New()
            System.Console.WriteLine("Instance of Singleton class created at : " & Now())
        End Sub
        Public Shared Function GetInstance() As Excel.Application
            SyncLock lock
                If objexcel Is Nothing Then
                    objexcel = New Excel.Application
                    objexcel.RegisterXLL(objexcel.LibraryPath & "\Analysis\ANALYS32.XLL")
                End If
                Return objexcel
            End SyncLock
        End Function
    End Class
    // Common Function for yield 
    Public Sub CalculateYield( _
               ByVal YTMDate As Date, ByVal FaceValue As Double, ByVal Rate As Double, _
               ByVal NonGovernmentFlag As Boolean, ByVal RateActualFlag As Boolean, _
               ByVal MaturityDate As Date, ByVal MaturityAmt As Double, _
               ByVal CouponDate As Date, ByVal CouponRate As Double, _
               ByVal CallDate As Date, ByVal CallAmt As Double, _
               ByVal PutDate As Date, ByVal PutAmt As Double, ByVal intFrequency As Int16, _
               ByVal strOption As String, ByVal dblResult As Double, ByVal strSemiAnnFlag As String)
            Try
                Dim decMarketValue As Double
                Dim intBasis As Int16
                decMarketValue = IIf(RateActualFlag = True, Rate * FaceValue / 100, Rate)
                decMarketValue = decMarketValue * 100 / FaceValue
                decMarketValue = objCommon.DecimalFormat(decMarketValue)
                MaturityAmt = MaturityAmt * 100 / FaceValue
                MaturityAmt = objCommon.DecimalFormat(MaturityAmt)
                CallAmt = CallAmt * 100 / FaceValue
                CallAmt = objCommon.DecimalFormat(CallAmt)
                PutAmt = PutAmt * 100 / FaceValue
                PutAmt = objCommon.DecimalFormat(PutAmt)
                intBasis = IIf(NonGovernmentFlag = True, 3, 4)
                If strOption = "Y" Then
                    With Singleton.GetInstance
                        If MaturityDate <> Date.MinValue And MaturityDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTMAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTMSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            'End If
                            dblYTMAnn = dblYTMAnn * 100
                            dblYTMSemi = dblYTMSemi * 100
                        Else
                            dblYTMAnn = 0
                            dblYTMSemi = 0
                        End If
                        If CallDate <> Date.MinValue And CallDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTCAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTCSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            'End If
                            dblYTCAnn = dblYTCAnn * 100
                            dblYTCSemi = dblYTCSemi * 100
                        Else
                            dblYTCAnn = 0
                            dblYTCSemi = 0
                        End If
                        If PutDate <> Date.MinValue And PutDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTPAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTPSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            dblYTPAnn = dblYTPAnn * 100
                            dblYTPSemi = dblYTPSemi * 100
                        Else
                            dblYTPAnn = 0
                            dblYTPSemi = 0
                        End If
                    End With
                End If
            Catch ex As Exception
                Throw ex
            End Try
        End Sub
    // call  yield function
    GlobalFuns.CalculateYield(datYTM, decFaceValue, decRate, blnNonGovernment, blnRateActual, datMaturity, decMaturityAmt, _
                                   datCoupon, decCouponRate, datCall, decCallAmt, datPut, decPutAmt, Val(Hid_Frequency.Value
    & ""), "Y", 0, "")
    this code  is working in Excel 2003 but it's not working in Excel 2010
    //Error is
    Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled.

  • Unable to run the form from Form Builder 10g

    HI,
    I am having a problem with running a form with form builder 10g.
    I have create a form with some text boxes to display values in a table.
    When i compile and run the form it does not run The error shown is
    HTTP 403(Forbidden) You are not authorised to view this page.
    The Link used for the above is:
    http://127.0.0.1:1740/sWuCqhMKUT1btA1N5cXLCRshkJzmgKRIlCEUFd9RL520LVq0
    The port number 1740 changes everytime. I dont know why.
    I have started the OC4J instance before starting the Form Builder.
    I have made the changes to the runtime preferences in the form builder.
    http://localhost:8889/forms/frmservlet
    But it doesn't work when i try to run the form from Form Builder.
    ie Program-->Run Form
    The form works properly when using the 'Run a form on the Web Utility' provided with Developer Suite.
    Can anyone please suggest a solution. I have searched the forum but didnot find a solution.
    Thanks
    V.S.

    One of our DBAs has installed the software.
    It was a default installation, I believe, as no configuration was done during the installation except for increasing the virtual memory size.
    Post installation we changed the tnsnames.ora file and the sqlnet.ora file.
    Do i need to configure something ?
    Thanks,
    V.S.

  • I have Macromedia Fireworks 3.0 and the install process doesn´t run! After the installation the message is: fireworks cannot run. the resource files are missing or damaged. I use Windows 8.1

    I have Macromedia Fireworks 3.0 and the install process doesn´t run! After the installation the message is: fireworks cannot run. the resource files are missing or damaged. I use Windows 8.1. Antworten auf Deutsch wären super!

    As far as I know there is no download resource for older Macromedia programs and it is highly unlikely that one as old as version 3 of Fireworks will be able to work on a Windows 8.1 system.  I was unable to get a Studio 8 version installation on a Vista system, and likely even an XP system (cannot remember that far back).

  • Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'

    Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'
    I've been receiving the above error since last week. I've adjusted the macro settings in excel and tried reinstalling the epm addin numerous times and up till now i haven't managed to get it resolved. Really need someone to help me on this. Whenever i check in excel, the epm add-in is already enabled. Please let me know how else can i get to resolve this.

    Dear Rudy,
    Indeed, could you please try the following suggestions:
    In the Internet Explorer, go to : Tools->Internet Options-> Security->Custom Level, in section “Download”, check if the option “Automatic prompting for file downloads“ is enabled
    In Excel, go to Excel Options-> Trust Center-> Trust Center Settings-> Macro Settings: check the
    options “Disable all macros except digitally signed macros” and "Trust access to the VBA project object model"
    Regards,
    Siwar

  • Problem running the sample adf demo

    Hi,
    I'm a new user of JDeveloper and trying to use ADF Faces.
    I followed the instructions to setup ADF faces in JDeveloper.
    While trying to run the sample demo provided(adffacesdemo), I get the following error messages
    Error: "http://java.sun.com/jsf/core" is not a registered TLD namespace.
    Error: Unable to load taghandler class: http://java.sun.com/jsf/core
    Error: "http://xmlns.oracle.com/adf/faces/EA14/html" is not a registered TLD namespace.
    and many more errors of this sort.
    Now I have managed to succesfully run JSF applications in JDeveloper without using ADF faces. No problems with that.
    I have no clue as to why these errors are coming.
    Any help is appreciated.
    thanks,
    Rashmi

    Hi,
    I'm a new user of JDeveloper and trying to use ADF Faces.
    I followed the instructions to setup ADF faces in JDeveloper.
    While trying to run the sample demo provided(adffacesdemo), I get the following error messages
    Error: "http://java.sun.com/jsf/core" is not a registered TLD namespace.
    Error: Unable to load taghandler class: http://java.sun.com/jsf/core
    Error: "http://xmlns.oracle.com/adf/faces/EA14/html" is not a registered TLD namespace.
    and many more errors of this sort.
    Now I have managed to succesfully run JSF applications in JDeveloper without using ADF faces. No problems with that.
    I have no clue as to why these errors are coming.
    Any help is appreciated.
    thanks,
    Rashmi

  • I have installed Lion and Microsoft Office 2011.  I want to uninstall Office 2004, but of course I cannot run the application to uninstall, because I get the "PowerPC applications are no longer supported" message.  Suggestions?

    I have installed Lion and Microsoft Office 2011.  I want to uninstall Office 2004, but of course I cannot run the application to uninstall, because I get the "PowerPC applications are no longer supported" message.  Suggestions?

    Go to this microsoft site http://support.microsoft.com/kb/312172 and/or this microsoft site http://support.microsoft.com/kb/2398768.  I would suggest removing both to start with a clean slate.  I had some problems with installing Office for Mac 2011 over 2008 and found out that by completely removing both and starting from a clean slate provided the best solution.  Kappy is correct but some sniglets do get left behind.  Hope this helps.  Cheers.

  • Cannot run the macro SOLVER.XLAM!MainEx error message

    Ive had this problem for awhile but am now needing to use solver for my schoolwork. 
    Anytime i try to use the solver function under the data tab this error message pops up. 
    I have tried taking off and readding the add-in under options. 
    when i try to access solver in the visual basic panel it asks for a password which i have never set
    Im running excel 2013 on windows 7
    I have tried many things and am exhausted. No solution has been posted to this problem on the site or anywhere on the web 
    THIS IS NOT WHEN IM TYPING MACRO CODE IN VBA. its just when i try to use solver for simple spreadsheet calculations. 
    when i click solver i get the error cannot run module: SolverCode
    when i try to access the solver code in vba a password is required 

    Hi,
    As far as I know,  the Solver add-in code has the password by design, it is protected on purpose and copyrighted. They are designed for use from the spreadsheet only. 
    Then, as the error message:" Cannot run the macro SOLVER.XLAM!MainEx error message." Please try to do the following methods to fix the issue:
    1. Open VBE (Alt+F11)>Click Tools> References>set to SOLVER>Show immediate code pane (Ctrl+G)>Copy/paste (or write): application.run "solver.xlam!auto_open"
    2. Disable the other Excel add-ins, such as
    Adobe PDFMaker.
    3. Repair Office 2013.
    Regards,
    George Zhao
    TechNet Community Support

  • Cannot running the file suddenly

    i can run any file before, but i dont' know why i cannot run the file suddenly. i just running a simple file as follow:
    public class h {
    public static void main(String[] args) {
    // Display "Hello World!"
    System.out.println("Hello World!");
    i compile file successfully, but when i run the file , it display the following error:
    Excepting in thread "main" java.lang.NoClassDefFoundError: h

    bet your h.class file is not in classpath.

  • Cannot open help pages in Flex Builder 2

    I have been working with FlexBuilder2 Beta 3, with no
    problems.
    Today I installed the release version (FB2), with a clean
    workspace. After copying the source files, I can compile/deploy the
    applications. One thing does not work however: the help in FB2.
    Help>Help Contents will open up a new browser, and wait
    forever, showing a white background.
    Help>Search will index the help file, and show results,
    but clicking on any result will again show the blank browser page.
    The
    Flex Start Page shows up correctly. I can run the 3 programs
    under
    Flex Samples and open the
    Restaurant Finder project. However, none of the items under
    How Flex Works can be opened.
    I noticed that they link to some site ending with:
    .../how_flex_works_2.html
    embed=false
    (with the first e in embed underlined).
    I think this sould be: .../how_flex_works_2.html
    ?embed=false (or something similar).
    Can someone indicate how this could be corrected? Maybe it
    can be done in the FB2 installation dir?
    Thanks,
    Rui

    Hi Randy,
    I am using the standalone version: 2.0.143459.
    Help>Dynamic Help and
    Help>Search, both open OK. They have their own view to
    the right of the main edit area. The search works fine, i.e. it
    will find and display results in this view. It is only when I click
    a result, or a dynamic help topic, that the main (internal) browser
    window opens, and starts loading "something".
    I have setup FB2 now such that
    Help>Contents opens in an external browser, and that is
    also working fine.
    My problem now is that I am unable to see result-pages or
    dynamic help topics. That is not working for the moment.
    BTW: When this main internal webbrowser help view opens, a
    progress-bar appears under the views, that shows something loading
    up to about 30%, and then it freezes.
    I'm considering re-installing FB2 again tomorrow, after
    tonights backups have been made. Maybe a fresh install will work
    better.
    Thank you for your assistance.
    Rui

  • Cannot run OCCI sample code.. cant find Dbmanager.h

    Hi , I am trying to connect to my oracle 10g database and i am getting an error. I downloaded instantclient-sdk-win32-10.2.0.3-20061115.zip from
    [http://www.oracle.com/technetwork/topics/winsoft-085727.html| http://www.oracle.com/technetwork/topics/winsoft-085727.html]
    Then I used the following ever so popular code
    #include <DbManager.h>
    #include <iostream>
    using namespace std;
    using namespace oracle::occi;
    const string sqlString("select empno, ename from employee");
    int main(int argc, char **argv)
    if (argc != 2)
    cerr << "\nUsage: " << argv[0] << " <db-user-name>\n" << endl;
    exit(1);
    // Initialize OracleServices
    DbManager* dbm = NULL;
    OracleServices* oras = NULL;
    Statement *stmt = NULL;
    ResultSet *resultSet = NULL;
    try
    // Obtain OracleServices object with the default args.
    dbm = new DbManager(userName);
    oras = dbm->getOracleServices();
    // Obtain a connection
    Connection * conn = oras->connection();
    // Create a statement
    stmt = conn->createStatement(sqlString);
    int empno;
    string ename;
    // Execute query to get a resultset
    resultSet = stmt->executeQuery();
    while (resultSet->next())
    empno = resultSet->getInt(1); // get the first column returned by the query;
    ename = resultSet->getString(2); // get the second column returned by the query
    if (resultSet->isNull(1))
    cout << "Employee Number is null... " << endl;
    if (resultSet->isNull(2))
    cout << "Employee Name is null..." << endl;
    cout << empno << "\t" << ename <<endl;
    // Close ResultSet and Statement
    stmt->closeResultSet(resultSet);
    conn->terminateStatement(stmt);
    // Close Connection and OCCI Environment
    delete dbm;
    catch (SQLException& ex)
    if (dbm != NULL)
    dbm->rollbackActions(ex, stmt, resultSet); // free resources and rollback transaction
    return 0;
    But the problem is I cannot fint find DBManager.h. I read on a certain post we could use <occi.h> instead of dbmanager but then i get an error with the types
    Dbmanager,OracleService and ResultSet. Can anyone please help me out , The code wont even build i am using Visual studio 2010 and i included all the header files.
    Did the i download the wrong package or what am i doing wrong ????

    This website has some sample codes that I want to run, but I'm getting errors. For the very first sample code, I removed ; in line 1 and it reduced number of errors. I can't post image because MS has to verify my account first.
    Someone told me that this is missing MFC and main method. I googled and MFC is like SKD made by users. So, my guess is that I need to find the MFC this person used and include them as like #include ".h" and have int main(). Is this true? If it is
    true where can I get the MFC? and how do I know which MFC this person used?
    MFC stand for  Microsoft Foundation Class Library is a library that wraps portions of the Windows API in C++ classes, including functionality that enables them to use a default application framework. To work on MFC you have to download Visual
    Studio . As you are new to window So i will suggest you to start with VS2008 onward .And Before you start working with MFC have some fundamental of Win32 As well.
    Thanks
    Rupesh Shukla

Maybe you are looking for

  • Manipulating fields in a view

    I have a table with a date and a time and I really need that data in a datetimestamp format.  I'm trying to avoid creating a custom table and a custom program to get this information that already exists in this table. If I put the data in a view, is

  • Error while creating hyperion planning application in 11.1.1.1.0

    Hi All, I am using EPM system 11.1.1.1.0 and i get the following error while trying to create a new application using Hyperion Planning: Unable to find JDBC_CATALOG key for application: ABC1+ Connection to the datasource created successfully.+ in cpp

  • Process Modelling in GP

    I have two questions concerning process modelling in the guided procedures: 1. After designing a process (for example 'my first process') I cannot change a block or an callable object, without generating a new version (which is a feature, I think). B

  • Moving images from library to library WITH Faces information

    Ok. iPhoto 09/faces Can someone out there tell me, first off, is it even possible to move photos from one library to another library WITH all the Faces effort I've put in on those photos (say from my default library on my hard drive to another person

  • Import radio stations from iTunes Radio to Music app.

    Hi. You have the Music app and can listen to radios on iphone5s. While I have some favorite radio stations in the "radio" of itunes on Mac PC, those are not listed on Music app on iphone5s. How do you import radio stations from iTunes Radio to Music