Integrating Pro*C/C++ files in Visual Studio 2005/2008 with 11g

Hi,
I have already builted application in VS 6.0 and oracle 9i ,which uses .pc file
can you please tell me how should I integrate it into VS 2005/2008 and 11g
I am not able to handle .pc file references and all stuff.

Hi,
VS2008 is not supported with Pro*C and 11g... http://download.oracle.com/docs/cd/B28359_01/install.111/b32301/toc.htm#BGBEEBAD
There is no procui.exe these days, that was done away with back in 10.2. You'll need to use the command line version now (proc.exe)
For custom build options, I've always just figured out the exact command line needed to precompile the particular file, and pasted the whole thing into the command line part of "Pre Build Event".. for example:
proc parse=full iname=sample1.pc oname=precompiledsample1.c include="d:\oracle\product\11.1.0\db_1\oci\include" include="d:\oracle\product\11.1.0\db_1\precomp\public" include="d:\PROGRA~1\MICROS~1\VC98\include" include="d:\PROGRA~1\MICROS~1\VC98\PlatformSDK\include"Hope it helps,
Greg

Similar Messages

  • Visual Studio 2005/2008 and Crystal Reports versions/upgrade questions.

    I've tried posting this question on the MSDN forums and gotten no response. 
    I've downloaded and installed VS 2008 Beta 2.   The versions on the Crystal Reports files included are 10.5.0.1806  
    I'm currently using VS 2005, with the included Crystal Reports.  The versions on those files are 10.2.0.xxxx.  I've created an desktop app (in VB) which stores it's data in a database and uses the CR 10 runtime merge modules to generate a report.
    I was considering upgrading the Crystal Reports version to XI.  I would like to allow customers to modify my delivered report with their own licensed copy of CR XI.  I am not providing any functionality within my app to create or modify the delivered .rpt or use it outside my application.
    Questions:
    Do I need to update the runtime files to CR XI to support rpt files modified with CR XI?  Current runtime files are being delivered with the CR 10 merge module.
    I see a Crystal Reports for Visual Studio upgrade to CR XI. 
    Can I update the merge modules to CR XI and still use the CR for VS2005 for development?
    Does it make any sense to update CR for VS 2005?  Or to get the full CR XI Developer edition?  My usage of CR functionality is very limited.
    Would there be any benefit to waiting for the release of VS 2008?   How does that change the scenario?
    How does Crystal Reports for Visual Studio fit in with the Crystal Reports Lifecycle?  It's not mentioned on Business Objects End of Life Dates page . Crystal 10 has a Patch EOL of 31-Dec-07.   Does this apply to CR for VS 2005?  Where does 10.5 fit in?
    My main concern is allowing customers with CR XI to change the format of my delivered .rpt to run with my app.  Adding their company name, logo, etc.   My testing show a CR XI report still works with my current app.  But, going forward, what should I deliver and what do I need to use to continue development?

    To use Reports designed in XI, you need to use XI or higher runtime, running them in older versions may work, but you may encounter unforeseen issues doing so.
    If you are to use VS2005 for development you need to use XI Release 2 (11.5) runtime.
    If you are going to use VS2008 for development you need to use Crystal Reports 2008 with Service Pack 0.
    The support end of life for versions of Crystal Reports bundled with Visual Studio are linked to what Microsoft's lifecycle for the product is.  Generally if there is a workaround for the issue that is simple enough, there will not be a patch created.
    The changes you are expecting the customer to do can be accomplished with our RAS SDK which is available without using enterprise starting with Crystal Reports XIR2 SP2.

  • T400 ATi Driver, Vista64, Visual Studio 2005/2008 + OpenGL = Application hangs

    Well, the thread title sums it up pretty concisely.
    I develop OpenGL Apps in C++ on my Lenovo T400. My OS is Windows Vista 64 and I use Switchable Graphics. When using ATI Graphics my apps hang since i installed the lastest ATI Driver for the T400 (Release: 2009-04-28) when (and only when) starting the applications in the debugger. When starting the apps directly (either compiled for Debug or Release targets, both 32-bit) however, they work (!).
    As far i can tell it hangs when it tries swapping the buffers (for double buffering). 
    This happens both in Visual Studio 2005 and 2008. When will there be a fixed driver?

    timebits wrote:
    This is really annoying since this is the only driver supporting OpenGL 3.0!
    The current Lenovo driver is Catalyst 8.12 based (8.56 driver release). I thought OpenGL 3.0 support was only added in Catalyst 9.1 (8.57 driver)?
    The next Lenovo driver will be Catalyst 9.3 based (8.59 driver.) It was supposed to have shipped by the end of April but they had problems so decided to ship the Catalyst 8.12 based driver instead (the driver we had before 4/28 was really old -- based on Catalyst 8.8 -- 8.52 driver)
    For the whole saga of Lenovo/ATI's tardiness in making switchable graphics work see this thread.
    If you as a developer are dependent on having uptodate functionality in your graphics driver, you should consider modding the drivers you can download from the ATI site. All the links here are for Vista 32 but I am sure you can find the corresponding Vista 64 links. This means giving up on switchable graphics and setting discrete graphics (and os autodetect off) in bios.
    Starting Catalyst 9.4 (8.60 driver) ATI included switchable graphics in the drivers downloadable from their site. But unless you want to waste a lot of time -- stay with discrete graphics in bios.
    Btw I tried the modded Catalyst 9.4 (8.60 driver) on my Vista 32 T500 but had terrible performance in OpenGL (not 3.0) so went back to my modded Catalyst 9.1 (8.57 driver*) which I have good performance with.
    Message Edited by zilla on 2009-05-20 10:40 AM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

  • Where do I download the crredist*.msi files for Visual Studio 2005 and CR

    I've created a VS 2005 application that uses the CR viewer control.  When I run the application, the app generates an error message.  It states that I need to install the appropriate CR redistributable (crredist*.msi).  Shouldn't this file be on the CR cd's?
    If not, where do I download it?  The development pc has W7 64 bit.  The user pc's will have WinXP.  I'm using VS 2005 and CR XI R2 Developers Edition.
    Thanks,
    DW

    This info was listed in the original post.
    Anyway, I found the solution at the link below.
    The recommendation is to explicitly target 32 bit processers when building your assemblies. Go to Project Properties, Compile, Advance Settings then change the Target CPU from its default "Any CPU" to "X86." Those of you who have been building VS apps on a 64bit machine for a while are probably familiar with the need to explicitly target X86. This article, "Windows & the World of 64-Bit Computing" (http://www.ddj.com/hpc-high-performance-computing/184405994), has some helpful insights on developing .NET apps on an X64 computer.
    http://aspalliance.com/1744_Lessons_Learned_Sorting_out_Crystal_Reports_2008_Versioning_Service_Packs_and_Deployment.all

  • Visual Studio App Wizard won't install with Visual Studio 2005

    When I try run the Visual Studio App Wizard from the Acrobat SDK V8.1 on my PC it tells me 'Please install Visual Studio 2005 before install Acrobat 8 Plugin Wizard'. I have Visual Studio 2005 installed with SP1. I also have the .NET framework 2.0.50727 SP1 loaded. I see this same problem on two different PC's with the same software configuration loaded. Any known issues with that?

    I've never seen this happen. It's been a while since I last installed the
    v9 SDK and it's plug-in wizard, so I don't remember how the installation
    went.
    I do most of my plug-in work on the Mac, where there is no plug-in wizard,
    so I don't use it - not even on Windows. You do not need it to start a new
    plug-in: Just use either the Starter plug-in from the samples, or the
    BasicPlugin project. This will give you something that compiles and runs.
    Then do a few simple text replacements to give things the proper names and
    use that as your starting point. The wizard will give you a few more things
    in regards to HFTs, but it's not complicated or time consuming to do that
    by hand. The good thing about having to do this every now and then is that
    it keeps your memory fresh about how HFTs work.
    If you want to save yourself some time, create your own starter plug-in
    that you mark up with comments about what you need to replace and why - put
    all the stuff in that you usually need and then just use that every time
    you need to start a new plug-in. Setting up a plug-in framework is usually
    a very small portion of the time that you will eventually spent on the
    plug-in development, so using the wizard will not save you much in the
    overall development time.
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    [email protected]
    http://www.khkonsulting.com
    On Sat, Nov 3, 2012 at 12:55 PM, Ramon F Herrera

  • Getting "Couldnot find Installable ISAM" error in script task in SSIS 2005 when trying to open (.xlsx files) Excel 2007-2010 files using VB script in Visual Studio 2005

    Hi Experts,
    I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
    HDR=YES"" in script task.
    When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
    My SQL server version is 2005 SP2 DE
    OS is Windows server 2003 EE SP2
    Could anyone please let me know what is the resolution for this error?
    Thanks and Regards,
    Adesh

    Hi Adesh,
    First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
    reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
    Regards,
    Mike Yin
    TechNet Community Support

  • Unable to open xaml files in visual studio 2013 ultimate

    Hi All ,
    i am getting the following error msg  when i open any xaml files in visual studio .
    "   Exception handling callback for OnAfterOpenProject:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException:
    Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at Microsoft.VisualStudio.ProjectFlavoring.Configuration.PropertyWatch.PropertyListenerProvider.GetActiveConfiguration()
  
    at Microsoft.VisualStudio.ProjectFlavoring.Configuration.PropertyWatch.PropertyListenerProvider.GetActiveConfigurationListener()
   at Microsoft.VisualStudio.ProjectFlavoring.Configuration.PropertyWatch.PropertyListenerProvider.GetListeners()

      at Microsoft.VisualStudio.ProjectFlavoring.Configuration.PropertyWatch.InvalidPropertyWatcher.AttachListeners()
   at Microsoft.VisualStudio.ProjectFlavoring.Configuration.PropertyWatch.InvalidPropertyWatcher.Run()

      at Microsoft.VisualStudio.ProjectFlavoring.Startup.ProjectStartupManager.OnAfterOpenProject(Object sender, OpenProjectEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object
    target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object
    obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.VisualStudio.Shell.Events.EventSource.DispatchCallbacks(IEnumerable`1 callbacks, Object sender, EventArgs eventArgs, String key)

    Hi Them,
    I'd like to know how do you connect to TFS 2010,. When you connect to TFS 2010 via Visual Studio 2013, you have to install Team Explorer 2013 and Connect using the http://server:port/tfs/ProjectCollection url format for on premise servers. Check the
    blog for more details.
    Best regards,

  • Download a Project file for Visual Studio regarding the Kinect for Windows v2? Getting Started with Kinect Development in Visual Studio

    I am currently trying to make an application for Kinect for Windows v2 but I am entirely new to Visual Studio and Kinect development and could use some help getting started. I honestly have no idea where or how to start and I figured the easiest thing would
    be to obtain a simple project file and examine how it works myself, but I have been unable to find one. The easiest thing would be if I could obtain a project file for Visual Studio that is an application which overlays the Skeletal model over people in real
    time, though similar project files would also be appreciated. The app I am making largely involves things similar to overlaying the skeletal model on bodies so this would get me off to a great start and show me how the code is laid out within visual studio
    simultaneously. (I would prefer the code to be in C# if that is possible but other languages also work).
    I have checked out some of the guides for kinect development but they all assume you know how visual studio works so I cannot get very far in them. Thus if you know of a good guide to get me started with visual stuido AND the Kinect then I would be glad
    to here that as well.
    Alternatively, and I know this is not the right place for this, I have Matlab, which I know works for the Kinect v1 but can't find support for it regarding the v2, so if you could point me in the right direction on how to get it to work with the Kinect v2
    THAT would also work incredibly well as I am much more familiar with Matlab.
    I already have Visual Studio Ultimate 2013 installed, as well as the Kinect SDKv2.0, the physical Kinect for Windows v2, and my laptop meets all of the requirements for development so those are not issues.
    Thanks in advance for any advice you can give me!

    Hi Jicnon,
    Thank you for posting in MSND forum.
    Since this forum is discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. About your issue, I think that it is
    more related to the Kinect for Windows v2, so I suggest you can post this issue directly to Kinect for Windows v2 SDK forum:https://social.msdn.microsoft.com/Forums/en-US/home?forum=kinectv2sdk
    ,maybe you will get better support.
    In addition, I find a similar thread about your issue, maybe you will get some useful message.
    https://social.msdn.microsoft.com/Forums/en-US/92b23946-53d2-419c-8624-66e6c390617f/information-to-start-project-with-kinect-for-windows-v2?forum=kinectv2sdk
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Where does "C:\Program Files\Microsoft Visual Studio 8" folder come from?

    This seems like the right forum to ask, Where does "C:\Program Files\Microsoft Visual Studio 8" folder come from, need to find out by what app it was installed.

    Hi Anna,
    Could you please tell us what about this problem now?
    If you have been solved the issue, would you mind sharing us the solution here? So it would be helpful for other members
    who get the same issue.
    If not, please let us know the latest information about it.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Crystal report for visual studio 2005 dblogin problem

    Dear Sir,
    I am using Visual Studio 2005 and crystal reports for visual studio 2005 and sql server 2000.
    When I am running the project from my pc where it was developed and a local server with server authentication, report is opening but from client machine there is a new screen come before opening the report asking for login issue. my reports has subreports
    also.
    I am using dsn file to connect with server from crystal reports where dsn file contains as follows:
    [ODBC]
    DRIVER=SQL Server
    UID=sa
    PWD=sa
    DATABASE=HRISDB
    WSID=S-AGD-PAY01\HRSERVER
    APP=Microsoft Data Access Components
    SERVER=S-AGD-PAY01\HRSERVER
    so it is dynamic bcoz i need change server name sometimes.  my question is when same report want show user from their pc then below screen appears:
    database login
    server Name: C:\program files\HRIS\HRISDB.dsn
    Databse: HRISDB
    user id:
    PassworD:
    Integrated Security: it is checked and a finish button.
    (i am sorry bcoz screenshort is not attaching so I write above what in the diagloag box for you)
    then i need to uncheck the use integrated security and click finish then the reports come. THis is very annoying for my clients.
    Please help me how can I overcome it.
    It is mentionable that I didn't use any dblogin method in my code to like setdbloginforReport(). I think there is no problem bcoz the report show correctly. Just want to know how to overcome this screen.

    You know, this forum is for controls, apis, components for the user interface Windows Forms.
    Unlucky enough, Microsoft does not support Crystal reports anymore for many years.
    Try the Crystal reports forum for .Net
    http://scn.sap.com/community/crystal-reports-for-visual-studio 
    Success
    Cor

  • Error while installing Visual Studio Express 2013 with Update 4 for Windows Desktop.

    When I try to install Visual Studio Express 2013 with Update 4 for Windows Desktop, I
    get the error :
    Microsoft Visual Studio Express 2013 for Windows Desktop.The form specified for the subject is not one supported or known by the specified trust provider.
    Here is what I get when I use the File Checksum Integrity Verifier (NOTE: I couldn't find the SHA Hash for the .iso I downloaded)
    // File Checksum Integrity Verifier version 2.05.
    8ab9b5ff10da1c33bb3f088331a7c8d8 vs2013.4_dskexp_enu.iso
    Here is some Extra Information:
    MY OS: Windows Technical Preview x86ANOTHER OS I TRIED INSTALLING VB ON: Windows 7 Ultimate x86
    DOWNLOADED ISO FROM: http://www.visualstudio.com/en-us/downloadsLINK: http://download.microsoft.com/download/9/6/4/96442E58-C65C-4122-A956-CCA83EECCD03/vs2013.4_dskexp_ENU.iso
    LOG FILE: http://m.uploadedit.com/b044/1421425243589.txtSHA HASH OF THE RECEIVED ISO: 8ab9b5ff10da1c33bb3f088331a7c8d8
    ====================================================NOTES:
    #I ran the setup as an administrator.
    #I do not know the SHA Hash for the ISO so please check if it matches the SHA Hash of the actual file.#Please don't recommend to use the Web Installer.#I tried both extracting the ISO and Mounting the ISO to run the Setup.
    Thanks. :D

    Solved.   The ISO is corrupt.
    The SHA 1 Hash of the ISO was 57CF28106EA096758AD6AB909F226A3468D95A49
    and the downloaded one returned 8ab9b5ff10da1c33bb3f088331a7c8d8.

  • 156" width Crystal Report with Visual Studio 2005

    Post Author: kunchesm
    CA Forum: .NET
    Hi,
    I have a requirement to design a 156" width report (for exporting to Excel). And naturally i dont have printers to support this huge width reports (as these reports are not used for printing but just for exporting to Excel).
    One of the option which i have tried to design these reports is -
    - Installed MIcrosoft XPS Document writer and
    - Created a new server form (in Printers&Faxes>File>Server Properties) and assigned my custom width & Height for the paper size as per my requirement
    - Used this printer and form in my crystal report
    Now, my question... is there any better alternative or option to design huge width Crystal reports in Visual studio 2005? Any help in this regard is highly appreciated!
    Thanks & Regards
    ksm

    Hi Ganesh,
    So it all depends on how you created your WEB Project. If it was a CR Web App then no issues, if it was a WEB Form app then no issues except you need to copy the whole folder: C:\inetpub\wwwroot\VS2013WebsiteCR\aspnet_client
    to your app folder, maybe...
    If it was an empty WEB app then it may be an issue with permissions ( more on this soon once we do some testing, R&D may have provided a work around to get IIS Express to work, not sure about using IIS directly.
    Also search on Sessions and PostBacks, to get the second page you need to keep the session open/active. If not you may get nothing ot the same page everytime.
    Don

  • How to get string value from database table using Visual Studio 2005?

    Hi,
    Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
    Im using the below code to get the values from database table
    bool Table::Get(char* FieldName,int& FieldValue)
        try
            _variant_t  vtValue;
            vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
            FieldValue=vtValue.intVal;
        CATCHERRGET
        sprintf(m_ErrStr,"Success");
        return 1;
    Im using the below code to get the values.
    AIErr getProjects()
        char buf[5000];
        int i;   
        std::string  catName;
        ::CoInitialize(NULL);
        Database db;
        Table tbl;
        errno_t err;
        err = fopen(&file,"c:\\DBResult.txt","w");
        fprintf(file, "Before Connection Established\n");
        //MessageBox(NULL,CnnStr,"Connection String",0);
        if(!db.Open(g->username,g->password,CnnStr))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        fprintf(file, "After Connection Established\n");
    if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        int ProjectID;
        int UserID;
        int ProjectTitle;
        char ProjectName[ProjectNameSize];
        if(!tbl.ISEOF())
            tbl.MoveFirst();
        ProjectArrCnt=0;
        for(i=0;i<128;i++)
            buf[i]='\0';
            int j=0;
        while(!tbl.ISEOF())
            if(tbl.Get("ProjectID",ProjectID))
                fprintf(file,"Project ID: %d ",ProjectID);
                ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
                sprintf(buf,"%d",ProjectID);
                //MessageBox(NULL, buf,"f ID", 0);
                j++;
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            //if(tbl.Get("ProjectTitle",ProjectName))
            if(tbl.Get("ProjectName",ProjectName))
                MessageBox(NULL,"Inside","",0);
                fprintf(file,"ProjectTitle: %s\n",ProjectName);
                //catName=CategoryName;
                ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
                //sprintf(buf,"%s",ProjectName);
                MessageBox(NULL,(LPCSTR)ProjectName,"",0);
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            ProjectArrCnt++;
            //MessageBox(NULL, "While", "WIN API Test",0);
            tbl.MoveNext();
        //MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
        ::CoUninitialize();
        //sprintf(buf,"%s",file);
        //MessageBox(NULL,buf,"File",0);
        fprintf(file, "Connection closed\n");
        fclose(file);
        for(i=0;i<ProjectArrCnt;i++)
            sprintf(buf,"%i",ProjectInfo[i].ProjectID);
            //MessageBox(NULL,buf,"Proj ID",0);
            //MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
        return 0;
    In the above code im geeting project D which is an integer value. But not able to get the project name.
    Please some one guide me.

    As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.

  • Visual Studio 2005, embedded Crystal Report problem

    I am very new at .NET, and this is my first post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.  I set the report as the ReportSource for a CrystalReportViewer on the main form.  I can see data in the report in design view when I right-click on any of the fields and click "Browse Field Data".  But when I preview the report, or run it in the application, all I see are the column headings and report title.  I am hoping I am leaving out something obvious.  I've researched this for two days without success. 
    The report's detail section is NOT suppressed, btw.
    FYI (although I think it might not be relevant, because I don't see the data when I preview it in Visual Studio either) the report is displayed in the application when a button is clicked, as follows:
        Private Sub cmdRunLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRunLog.Click
                CrystalReportViewer1.DisplayToolbar = True
                cmdRunLog.Text = "Hide Run Log"
                cmdUpload.Enabled = False
                cmdReports.Enabled = False
                cmdManualRun.Enabled = False
                CrystalReportViewer1.Visible = True
                CrystalReportViewer1.Height = 600
                CrystalReportViewer1.Width = 1000
                CrystalReportViewer1.Left = 10
                Dim strReportSQL As String = "Select * From dbo.PositivePayRunLog"
                Dim DA As New SqlDataAdapter(strReportSQL, conPP)
                Dim DS As New DataSet
                'Variable to assign the report name
                Dim strReportPath As String
                DA.Fill(DS)
                strReportPath = "c:\Positive Pay\PositivePayRunLog.rpt"
                If Not IO.File.Exists(strReportPath) Then
                    _ErrorText = "Unable to locate report file:  " & strReportPath
                    ' Throw (New Exception("Unable to locate report file:" & vbCrLf & strReportPath))
                    GoTo cmdRunLog_Click_Error
                End If
                Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDocument.Load(strReportPath)
                rptDocument.SetDataSource(DS.Tables(0))
                rptDocument.Refresh()
                CrystalReportViewer1.ShowRefreshButton = False
                CrystalReportViewer1.ShowCloseButton = False
                CrystalReportViewer1.ShowGroupTreeButton = False
                CrystalReportViewer1.ReportSource = rptDocument
    end sub
    I'm hoping that this is a common problem with an easy answer
    Thanks,
    John Sandin

    >
    Jason Everly wrote:
    > Did you design the report using OLEDB or ODBC instead of against the schema of the dataset you are passing?  It could be seeing data from the database when browsing.
    >
    > Technically you should design the reports against the schema of the dataset you are going to be passing, not against ODBC or OLEDB.
    >
    > You can usually get away with passing datasets to a report created against OLEDB, but if issues occur then you need to redesign them against the ds schema.
    >
    > Jason
    I have done both, but I was currently using OLEDB.
    I redesigned the report to use a dataset containing the correct data.  Now,  when I browse the fields, I see nothing.  When I preview the report, I see what appears to be dummy data (a list of colors, etc).
    But the GOOD news is:  When I run the report in the application, I see the correct data!
    Thanks!  I think I'm good to go now.  I will also apply the other suggestions, and try to simplify things.

  • Crystal Report Dll problem with Visual Studio 2005

    I am using Crystal Reports with Visual Studio 2005. At one time there were two different version of Crystal Decision Dll in Global Assembly Cache (GAC). So I uninstalled both the versions and then only installed 10.2.3600.
    I am facing the following error when building my application in visual studio.
    The type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\arms website\301a5b02\e03ad7d9\assembly\dl3\c30f5560\00f92427_3857ca01\CrystalDecisions.CrystalReports.Engine.DLL'
    and
    'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.2.3600.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
    I have only installed it in .Net Framework. For some reason it appears in the temp folder. I cannot delete it and when I renamed it after the next compile it came back again.
    I would appreciate any help.

    Thanks for the tip.
    I installed CR XI R2 with SP2 and 2.1
    There are few reports in the system they use to run fine but now when I try to run them I get the following error:
    Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. C:\DOCUME1\SSheikh\LOCALS1\Temp\ZGA370 {71BFCD35-F652-48C8-896D-B93229A4D2C2}.rpt Details: [Database Vendor Code: 4060 ]
    I understand that these reports run ok independently and on production machine as well; however when I try to run them from my development machine I get the above error.
    I would appreciate help to resolve this. The code of the report is with report developer and I need to know what settings do I need to change where to be able to run the reports. Also I use my machine for deployment of application on the production server.
    Thanks.

Maybe you are looking for

  • How do I transfer the data on my Lacie FW HD firewire to my New MacBook Pro

    I recently purchased a new MacBook Pro because my original PowerBook was stolen. A few years ago I bought and external Hard Drive with firewire ports. I went to transfer the data from the firewire external HD to the MacBook Pro and discovered that I

  • Another 4:3 to 16:9 Question

    Greetings from Down Under. I am a new Mac user and also new to FCP. My clips are shot on a Sony PD150 on the 16:9 setting. After capturing the footage and then setting up a new project in FCP, my Viewer window and Canvas are 4:3 Pillar Boxed? I am gu

  • How to configure boe.properties file in ACTool for SAP BO Distributed environment

    Hi , I am trying to configure the ACTool for SAP BO distributed environment (dedicated BOE Server, Tomcat and Explorer) servers. I have installed SMD Agent, Host Agent and ACTool without any issues in the BOE server(CMS), but I am unable to run the A

  • Avid Format Compressor Export for Pro Tools

    Pro Tools now has support for Avid Media Files - to play out their I/O Box - The Mojo. Unfortunately, they have to be in a proprietary format; near as I can tell, MXF, AAF, or OMF. I can DL the Avid Codecs, and Compressor can use these, but is there

  • Unlimited minutes after 9?

    Do unlimited minutes after 9pm on weekdays include all networks or just verizon?