DirectMusic in Visual Studio 2010 on a 64 bit Windows 7

I Have a Visual Studio 2010 VB programme using DirectX 11 DirectMusic, for playing MIDI audio files which I created on a Windows XP 32 bit machine, I have now moved it to a Windows 7 64 bit machine.  The programme does run OK but the problem I have
though is it takes at least 2 minutes to load. It loads straight away on the XP 32 bit machine.   In debug stepping through it is the get port information of the output port that is delaying it, code below
Do
dwPortCount = dwPortCount + 1
COutPort.GetPortInfo(dwPortCount, PortInfo)
Loop While 0 = (PortInfo.dwFlags And DMUS_PC.SOFTWARESYNTH)
'Debug.WriteLine("Selected output port: {0}", PortInfo.szPortDescription)
COutPort.SetPortParams(0, 0, 0, [SET].REVERB Or [SET].CHORUS, 44100)
COutPort.ActivatePort(PortInfo)
It goes through this loop three times and each time it stops at the line "COutPort.GetPortInfo(dwPortCount, PortInfo)" for quite a while, or the third time after a wait it does continue and loads the form.
Any Ideas how to sort this problem?
David

Hi Dave-OLW,
As your issue is related to DirectX 11, We have a specilized forum for disscussing the problems about DirectX 11:http://xboxforums.create.msdn.com/forums/76.aspx
You could post it in the forum for better supports, Thanks.
Best regards,
Youjun Tang
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.

Similar Messages

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

  • Visual Studio 2010 Upgrade - Unable to view some reports

    I converted an application that had been developed in VS2005 so that it would run in VS2010.  The application contains several Crystal Reports.  Now when I debug the application I can only view some of the reports.  With the others I get an exception with the message "Unable to find the report in the manifest resources.  Please build the project and try again." 
    The ones that work and the ones that don't all have the Build Action set to Embedded Resource.  I have tried removing a report from the project and then adding it back, but that made no difference.  A new report displayed fine. 
    Does anyone have any ideas about what could cause some of the reports to throw this exception?

    OK, here is the link to the thread I am replying to Visual Studio 2010 Upgrade - Unable to view some reports
    And here is what I posted to start the thread that I am replying to:
    I converted an application that had been developed in VS2005 so that it would run in VS2010. The application contains several Crystal Reports. Now when I debug the application I can only view some of the reports. With the others I get an exception with the message "Unable to find the report in the manifest resources. Please build the project and try again."
    The ones that work and the ones that don't all have the Build Action set to Embedded Resource. I have tried removing a report from the project and then adding it back, but that made no difference. A new report displayed fine.
    Does anyone have any ideas about what could cause some of the reports to throw this exception?
    As you can see, I have described the exception that occurs when I try to view some, but not all, or the reports while debugging.  I have also tried deleting a report and adding it back in but it made no difference.
    Is this enough information?

  • Problem when adding ABAP custom webservice with Visual Studio 2010

    Hi All,
    After creating a webservice for a custom RFC function developed in a ECC6.0 SAP machine, I tried to add it to a Visual Studio 2010 windows aplication (through a web reference connection).
    The sequence I've done is:
    - Create RFC in ABAP, with testing ok
    - Create a WEBSERVICE with the ABAP editor
    - Configured the webservice with SICF with:
         Procedure: Standard
         Logon data: standard R3 user
         Security requirement: Standard
         Authentication: Standard SAP User
    Then, in SOAMANAGER I copied the webservice URL and tried to add it to Visual Studio 2010, but it keeps asking me the user and password. I try to supply the R3 username and password but if fails.
    Why is ECC6.0 asking the user and passord if I've defined a SAP user for the login process?
    Is there any way to disable this?
    Thanks,
    Manuel Dias

    Hello Manuel,
    You can use the following code:
    CredentialCache cache = new CredentialCache();
          cache.Add(new Uri("WEBSERVICEURL:PORTNUMBER/"), "Basic", new NetworkCredential("USERNAME", "PASSWORD"));
    SAP needs a password.
    Kind regards,
    JK

  • Deploing a BDC Model project to SharePoint Foundation 2010 usinging Visual Studio 2010

    Hello,
    I am tring to deploy external content type to Sharepoint 2010 foundation using Visual studio 2010 and I followed this:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx
    after completing procedure I have tried do deploy solution but I always get this exception:
     Error 1 Error occurred in deployment step 'Add Solution': Access denied by Business Data Connectivity.
        Error was encountered at or just before Line: '0' and Position: '0'.
      0 0 BdcModelProjectTest
    I have tried to grant myself permissions in Sharepoint central administration (
    http://blogs.msdn.com/b/ericwhite/archive/2010/06/11/access-denied-by-business-data-connectivity.aspx ) but when I click ok I get this exception
    No windows identity for damain\username. 0a193cf4-3811-4aa8-a657-0de3b8be3793
    07/04/2011 16:46:46.31  w3wp.exe (0x0828)                        0x1414 Business Connectivity Services Business Data                
     g0k9 High     Access Denied for User '0#.w|damain\username, which may be an impersonation by damain\username
    I am really hopeless, can anyone help?

    Hi,
    It seems that an account are you using to deploy solution doesn't have sufficient permission in the BDC Metadata Store. In order to assign permission you should open Central Administration->Application Management->Manage Service Application->Business
    Data Connectivity Service->Click Set Metada Store Permission on the ribbon->Set Permission you need and tick the checkbox "Propagate permission to all..."
    Dmitry
    Lightning
    Tools Check out our SharePoint tools and web parts

  • Visual Studio 2010 and SharePoint Foundation 2010

    From a development perspective, if I have a Windows 2007 Operating System and download Sharepoint Foundation 2010, can I develop web parts using Visual Studio 2010?  Are there other components I need?
    When we convert to SharePoint Server 2013 in production, is there a version of VS that will allow me to remotely access that server? 

    Hi,
    If your server have already installed the SharePoint Foundation 2010, we can develop web parts using Visual Studio 2010/2012/2013.
    If you want to convert to SharePoint Server 2013 in production, you need use Visual Studio 2012/2013 and install Microsoft Office Developer Tools for Visual Studio 2012 which can be found here:
    http://www.microsoft.com/visualstudio/eng/office-dev-tools-for-visual-studio (direct install :
    http://aka.ms/OfficeDevToolsForVS2012).
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Crystal Report 13 Visual Studio 2010 SQL Server 2008 R2 ODBC Problem

    Hi Everybody,
    I am new in Crystal Report.
    I developed a web application in Visual Studio 2010, and my Database is SQL Server 2008 R2.
    I created reports using Crystal Report 13 in Visual Studio and my Operating System is Windows 7 32-Bit.
    I used ODBC Connection System DNS for my application.
    It is running fine even after Hosting on my local PC.
    But it creates problem when hosted on my Team Leader PC and Test Server.
    Their Configurations are same but only difference is "SQL Server 2008" Not R2
    The Error I am getting is "Failed to open the connection".
    When I Host the same on my another team member PC, I am getting the error like
    "Failed to open the connection. Details: [Database Vendor Code: 4060 ] Database Connector Error: ' [Database Vendor Code: 4060 ]' Failed to open the connection. Failed to open the connection. TestVr {CE268132-D2BD-43EC-BE45-0BCD847FBCDA}.rpt Details: [Database Vendor Code: 4060 ]"
    I tried various solution to fix this bug.
    But i am unable to do this and not getting any idea to fix this issue.
    If anyone can guide I will be thankful to him.
    All suggestions are appreciable.
    Thank you

    Hi,
    Please use the top right search box. for ex below search which will return many useful kb's, articlea and forum threads where simillar issues are discussed.
    [http://www.sdn.sap.com/irj/scn/advancedsearch?query=failedtoopentheconnection|http://www.sdn.sap.com/irj/scn/advancedsearch?query=failedtoopentheconnection]
    Most probably the issue is missing database client driver / provider.
    Install the driver used to connect the rpt to the db on the server and then create a 32 bit DSN with the same name as the dev machine..
    Hope this helps,
    Bhushan.

  • Crystal Report  not listed Add New Item for Visual Studio 2010

    I just finished installing cryestal report for visual studio 2010.
    During the installation a visual studio error dialog popped up "Operation cannot be completed. Access Denied", the crystal report installation continued and was informed that the installation was successful.
    But on opening my visual studio project to add new item,  crystal report item is not listed there.
    Is there anything that needs to be done to get it listed in the Add New Item dialog for visual studio?

    I wonder what file you ran to install CRVS2010? Was it the MSI as opposed to the actual install file?
    The link to the correct install is here:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe
    Is that the file you ran to install CRVS2010? E.g. as opposed to:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    - Ludek

  • Crystal report for visual studio 2010 data source object is not valid error

    Hello,
    I receive an "data source object is not valid" error when I want to print one CR document after setting an ADODB.Recordset on SetDataSource method of my report.
    On my developer station, this operation works without problem but on client station, I get this error.
    The redistributable package for client is installed on client side (CRRuntime_32bit_13_0_1.msi).
    Can someone help me?
    Thank you.

    Thank's for your answers
    Dim rsPkLst As ADODB.Recordset = Nothing
    Dim report As New crPickingList
    ' Fill ADODB.Recordset with SQL Statment
    If rsPkLst.RecordCount > 0 Then
          report.SetDataSource(rsPkLst) ' Error : The data source object is invalid
    EndIf
    This error appears during  "report.SetDataSource(rsPkLst)" instruction.
    ADODB drivers are already installed and my ADODB.Recordset is filled with good records.
    This project is an updated project from Visual Studio 2003 to Visual studio 2010 and the old version was running fine.
    Developer and client station runs under Windows XP SP3.
    On developer side I install CRforVS_13_0_1 (BuildVersion=13.0.1.220.Cortez_CR4VS).
    On client side I install CRRuntime_32bit_13_0_1.msi.
    Both stations use Microsoft .Net Framework 4.
    Move to ADO.NET is a solution but, for the moment, I do not have the time to change all applications from my company.
    (I get this error from all application updated from VS 2003 to VS 2010 developed since 2005)
    David.

  • Crystal Reports Visual Studio 2010 SP2 Fixed issues

    Hi All,
    Here is the list with fixed issues in Crystal Reports Visual Studio 2010 SP2
    http://www.crystaladvice.com/crystalreports/crystal-reports-2010-sp2
    The following list with issues is fixed:
    1566763 - CRVS2010 WPF Viewer error; "System.NullReferenceException was unhandled" PageControl.OnMouseMove
    1540637 - Error: External component has thrown an exception. Launching the Database Expert in the embedded Crystal Reports designer in Visual Studio
    1544675 - Error; 'Object reference not set to an instance of an object' when using the CR WPF viewer in VS2010
    1578823 - CRVS2010; "Load Report Failed" error when Report is open in any full version of the CR Designer
    1638191 - Using RTL language (Arabic) the CR viewer Group Tree Panel does not display RTL
    1631283 - Error; 'Failed to load database information' when reporting off of file system data
    1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    1299185 - Error: Operation not yet implemented or Failed to Export, when exporting a Crystal Reports to Text format
    1451960 - Null or empty values are not surrounded with delimiter when exported to CSV format
    1659185 - The special Crystal Reports field, 'File Name and Path' shows temp path and temp name when viewing a report
    1452648 - Dynamic Cascading Parameter prompts two times when using the Crystal Reports in VS .NET
    1580338 - When refreshing a report that contains a linked subreport report takes long time to execute
    1659111 - GCHandle left in memory for each open and close of a Crystal Report in VS2010 application
    1356672 - Crystal Reports special field "File Path and Name" displays incorrect information in a Visual Studio .NET application
    1593658 - Impersonation of database Log On credentials failure in report generation when set at runtime in a .NET application
    1661239 - Summary fields are converted to String fields
    1661276 - Using the Crystal Reports SetTableLocation method in VS .NET causes long report processing delays
    1661200 - Not able to copy text from report objects using the Crystal Reports WinForm viewer for VS .NET
    1631722 - Date function in a Selection Formula is removed when running a report in a VS .NET application
    1525822 - Exception "Object reference not set to an instance of an object." thrown when clicking on Parameter Panel button in Crystal Report .NET Windows Form Viewer
    1603082 - Cross-tab background colors not retained when exporting a report to PDF format
    1603154 - Shared variable display the incorrect value in Crystal Reports
    1427747 - Why does a CR .NET SDK web app have problems running on IIS 7 in integrated pipeline mode?
    1545536 - Alignment set to Justify causes broken underline
    Source: Resolved Issues in Service Pack 2 for Crystal Reports for Visual Studio 2010
    With kind regards,
    Pieter Jong
    Crystal Advice
    http://www.crystaladvice.com

    Many thanks for the link Pieter.
    I recently created a wiki that lists all of the fixes, their tracking numbers, associated Kbase numbers, Kbase titles and links to the kbases:
    http://wiki.sdn.sap.com/wiki/x/tgK3Dw
    It's 90% complete. I think I have a few Kbases to do to complete it.
    Now that I think about it, I'll also add the link to the [sticky thread|SP 2 for Crystal Reports for Visual Studio 2010 released!; re. SP2 release.
    - Ludek

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • Crystal Report in Visual Studio 2010

    Hello,
    Our company is using Crystal Report XIR2. We are going to migrate our applications using Crystal Report to Windows Server 2008 (64-bit), we have to upgrade the Crystal Report too as current version does not support 64-bit version. Which version of Crystal Report will be bundled in Visual Studio 2010? CR 2008 or a newer version?
    Many thanks,
    Peter

    "Unknown". Certainly, at this time the info is not available publicly. It may even be the CR is not part of future builds of .NET (?). On the other hand, going by how these bundles have gone in the past, I'd suspect if there is a CR bundle or an add on of some sort, it will be what ever will be the current version minus 1. Will it be as fully featured as the currently shipping CR 2008? Again, go by past bundles. (E.g.; if there is something like CR 2010 out there, the bundle would probably be some variation of CR 2008). Will it be 64 bit? Again, consider the history; bundles that come with .NET 2005 and .NET 2008.  
    Disclaimer:
    These are my personal speculations and conclusions and are not meant to be interpreted as the "official" word from SAP.
    Ludek

  • Sap business one studio 9.0 for microsoft visual studio 2010

    Hi Experts,
    After added a new project, Sap business one 9.0 Add-on Project, that project can't be loaded in Visual Studio 2010.
    When try to re-load the project in the Solution Explorer, the project stays as (unavailable), and the next line says, The project file was unloaded.
    I'm using :
    - Windows 7 professionnel 64 bits. (With no virtual machine)
    - Sap business one studio for Microsoft studio 32 bits. (Visual Studio  2010)
    - Sap business one studio 32 bits. (PL12)
    I've already tried to :
    -  Reload the project in the contextual menu.
    -  Run Visual Studio as Administrator.
    So VisualStudio, B1, DI-API and SBO Studio are all on the same version. (32 bits)
    [I've installed before B1 64 bits, but it did't work with visual studio 2010, because visual studio 2010 is available just in 32 bit version. so i uninstalled everything]
    NB  : I'm still in evaluation period of SAP Businness one 9.0.
    Can u please help me to solve this problem.
    Thank you a lot.
    Regards,
    Amine

    Hi, everyone
    I'm also having issue with SAP B1 for Microsoft visual studio. I've tried creating a project sap b1 add-on using b1s file still indicating unavailable.
    please help...

  • How to Install Visual Studio 2010 on a PC with Microsoft Office 2013 with 64 bits

    I am with problems to have acess to the link: http://www.microsoft.com/en-us/download/details.aspx?id=12187
    Why?
    I want do install Visual Studio 2010 on a PC with Microsoft Office 2013 with 64 bits. How can I do it?
    Thanks.

    Hello Carla Sofia,
    Visual Studio installation do not depends on Microsoft Office 2013. They do not have relationship here. I think your problem is that you cannot find the link to install Visual Studio 2010.
    In order to know why, please see here:
    https://support.microsoft.com/en-us/lifecycle/search/default.aspx?sort=PN&alpha=Visual%20Studio%202010&Filter=FilterNO
    The mainstream support for Visual Studio 2010 is already expired and that is why you cannot open any link about Visual Studio 2010 Setup.(I cannot verify whether that link is about VS2010 Setup.)
    I think you need to think about the following:
    1. If you need Visual Studio 2010, you may have to consider some other channels. For example, official site you can try use MSDN Subscription. For non-official site. Sorry I cannot provide any place for you
    2. You can use other latest version of Visual Studio, for example, we have Visual Studio 2012, 2013, 2015 for you to use. You can also use Visual Studio Express 2010 version. It is still available for download.
    Best regards,
    Barry
    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.

  • Creating Proxy Classes in Visual Studio 2010 from SAP ES

    I am having problems with Microsoft's Visual Studio 2010 creaating a proxy class when importing a WSDL file from SAP's Enterprise Services.  
    When attempting to define the proxy class by pointing it to the endpoint WSDL, the import seems to work OK but the proxy class is not created.    I don't have this problem with other WSDL's from non-SAP sources.   There seems to be something "special" about the ES endpoint WSDL.
    Is anyone else having this problem?

    not always the 18th. For me it is the 14th. I think it is because I have  some buttons hidden already. But seems like it is always the last one.
      // The SAP Crystal Report logo is the last item on the 4th control.
    System.Windows.Forms.ToolStrip oToolStrip = (System.Windows.Forms.ToolStrip)crystalReportViewer.Controls[4];
                    oToolStrip.Items[oToolStrip.Items.Count-1].Visible = false;

Maybe you are looking for