Possible to do in Forms app?

Hello!
I would like to add a realtime peak meter system to my EqAPO GUI's.
Peak meter should be able to
- read the peaks from system audio output (as does here in an example:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd316561(v=vs.85).aspx
- show the result realtim (few ms delay from reads) in GUI without disturbing the usage of GUI.
I transferred the example code (above link) into Forms project and then tried to get it work using background worker (peak reading + simple box drawing/painting to certain location of GUI) but, maybe I don't know how to deal with that component
since GUI ended up waiting the thread ending (peak meter is in infinite loop :)) -->  problem is how to get the peak meter thread just live its own life there ? I had all the peak meter functionality in ::DoWork() and also was ::RunWorkerCompleted()
in use. As the GUI has lots of things ongoing when something's been changed (slider move/value updating, chart drawing, file writing) I don't want to make it sticky so putting the GUI functionality in peak meter loop maybe isn't possible (I have not tried
this though).
Could it be possible/easier to make it working by prepareing a peak meter control, which reads the peak values and shows results graphically)?

While I'm sure you could make it work with background worker, I think you'd be better off using a separate thread for interacting with audio and using the Invoke method to update the GUI when needed.
WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

Similar Messages

  • How to close open cursors in a forms app

    All,
    I'm not a forms developer. I'm a database administrator so I'm asking this question from that perspective. I know nothing about forms development.
    We have several forms applications that appear to hold many SELECT cursors open when they run. I've asked my forms developers about this and they are giving me the idea that they don't have much control over this. I have no idea myself so I'm asking here.
    When one issues selects from a form, do those selects remain as open cursors while the form runs? Is it possible to close those select cursors from within the form so that the application does not keep so many cursors open simultaneously?
    I am typically seeing a forms application with 70-100 open cursors. And we have hundreds of end users each running the forms application which is causing a lot of problems with the sheer number of open cursors.
    I've already bumped the database OPEN_CURSORS parameter but it's my feeling that developers should be doing a better job of closing cursors from within the form.
    Can anyone give me some guidance here or point me to some documents that describe how to reduce the number of open cursors to the database from a forms app?
    Thanks,

    There are several ways Forms use cursors. In the standard default method, users enter a query where condition and then execute the query. This process opens a cursor on the server, and the form fetches a few (20 or so) rows and displays on the screen (in a base-table "block"). If the user scrolls down, more rows are fetched from the cursor. This can go on and on if the user keeps scrolling down through the data. I am not sure when the cursor gets closed -- there is no Forms command to close this one. Only closing the form, or else re-executing the query process would close such a cursor.
    In the PL/SQL code, where the developer has control, a cursor can be opened, rows fetched, and then closed. This can be done either with Open-Fetch-Close or in a For... Loop. The developer can explicitly close this cursor, or PL/SQL theoretically closes the cursor when the block of code is exited.
    There is of course the SQL Select into, but that only works in PL/SQL for single-row selects. I doubt this is a major problem.
    And finally, there are the record groups, where Forms runs the select to draw all the data into an array in the form. These should be closed automatically, I believe.
    Now... if you can determine which tables the cursors are remaining open, maybe your developers can zero in on the forms, and maybe clean up some things. However, I am doubtful much can be done. It seems to me that if the open cursors are causing some database sluggishness, then maybe adding more memory on the server is the best option.

  • Connectiong Visual Studio 2010/2013 to SQL Database and Running VS Windows Form App in the Windows Azure Cloud

    Hi, good day
    Im going to have a little presentation before I finished my OJT and the topic that was given to is cloud computing. One of the task I need to do is to set up an application where in it can run and access real time on the "cloud". Now my prob is
    I already have windows azure account, made my database, BUT don't know how to connect it to my Visual Studio 2010/2013 (which is more preferable?), and if I ever connect it when my Windows Form is made can it run on the cloud also, how? Please help. Thank
    you so much.
    PS: I will be discussing this with people who doesn't know much about computing can you send me tips what to discuss? Double Thank You. :)

    Thank you for the help.. Another thing can I run my Windows Form App also on the cloud? Like if I present is it possible that the application that I will be doing can be uploaded and accessed on the cloud by the audience and can be used by many at the
    same time? Can you tell me how? Or give me a source how to do it? I downloaded the azure tools but I don't how to use it. I checked and tried activating and fixing my IIS and enabling support for ASP but still nothing, when I try to do cloudservice it says
    "get azure tools" even though I already have it installed in my laptop, and when I try to right click and upload the project to azure I don't see the usual option 'Upload to Microsoft Azure'. My app is a simple phonebook app with add, edit, delete and search
    function. Thanks again..

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • Is it possible to download ÿōür purchased app into ÿōür other device by signing in iTunes?

    Is it possible to download ÿōür purchased app into ÿōür other device by signing in iTunes?

    yes. But I would recomend using Icloud. If you have purchaed the app or ownloaded it you can serch it on any of your other devices app store and you will se a different icon where the download button is  suposed to go. Like a cloud. Click it and you will get it.

  • Is it possible to transfer my purchased app from itunes account to another?

    is it possible to transfer my purchased app from itunes account to another?
    i have been using my companies email as my iTunes ID and did some purchases on this account.
    now, i created new account with my own personal email ID, and did purchase another apps.
    i want to transfer my purchased items from old iTunes accout to my new iTunes account.
    is that possible? how?
    please advise.

    ihashem wrote:
    but still if i have the license then i should be able to give it away.
    Not necessarily...
    You would need to check the Terms and Conditions for the Mac App Store and possibly iTunes for clarity on that assumption...
    http://www.apple.com/legal/itunes/appstore/ph/terms.html#SERVICE
    http://www.apple.com/legal/itunes/ww/

  • It´s possible to use the "Remote" app with Itunes and a Nokia E72 with Joikuspot installed only? Or I´ll need to buy a modem Wifi?

    It´s possible to use the "Remote" app with Itunes and a Nokia E72 with Joikuspot installed only? Or I´ll need to buy a modem Wifi?
    I was using "remote" with a D-link modem, that works fine at my iPad. But now I´m using only the cell phone as modem 3G, and don´t want to intall a router to put new cables at my notebook.

    What?
    You want to control iTunes on your computer using the Remote app on your iPad?
    And you want to connect the iPad and computer through your Nokia?
    No, this will not work.
    Just create a network with your notebook.

  • Is it possible to transfer one single App from my iTunes onto my iPad, without losing the Apps that are already installed on my iPad?

    I originally had the app (FilmOn.TV) on my iPhone, so it is backed up in my iTunes on my PC. It's no longer available in the App Store and I would really like to have it on my iPad. When I read up on this, it seems to say that if I sync any apps from my iTunes onto my iPad, that any Apps currently on the iPad will be deleted.
    Can anyone tell me, please, is it possible to bring one single App across onto my iPad, without losing all of my existing ones.
    Thank you in advance.
    Brian.

    Do you think you could email me the Filmon .ipa file? I lost mine the other day, and it would be very handy.
    <Edited by Host>

  • Is it possible to re-download the app store for my macbook pro?

    is it possible to re-download the app store for my macbook pro?

    If it has been deleted, installing the latest combo update should restore it.
    Install new MAS app -
    OS X Mountain Lion 10.8.2 update combo
    http://support.apple.com/kb/DL1581
    OS X Lion 10.7.5 update combo
    http://support.apple.com/kb/DL1583
    OS X Snow Leopard 10.6.8 v1.1 update combo
    http://support.apple.com/kb/DL1399

  • Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    Is it possible for deleting all the apps from the appstore which are showing up in the apps not on my phone section. Before I was able to delete them from itunes but now I am not able to find that option.

    You can hide them via your computer's iTunes : iTunes Store: Hiding and unhiding purchases - Apple Support
    The 'x' might not show on their top left corner (it might be invisible), but clicking where it should be should hide the app.

  • Is it possible to print a form in APEX 2.1?

    Hi,
    Is it possible to print a form in APEX 2.1? I'm able to export a report in cvs, but not a form.
    Thanks.

    If you're just looking to export a single row via CSV, then yes, you can add that functionality to your Form page in any release of APEX.
    Have a look at a blog post I made quite some time ago:
    http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Using this, you could limit the query to only bring back the row that is displayed in the form.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com
    http://www.sumneva.com

  • Is it possible to make a form in iWeb for people to fill in

    Is it possible to make a form in iWeb for people to fill in for people to subsribe

    There  are two possible form types that you can add to your website.  One is using a 3rd party form provider that, when filed in and sent, goes directly to you.  Expamples of them, JotForm and Wufoo can be seen here: Add Form
    Further down that page is the second type,  Form action forms, that use the visitors email application to send the response.  That may put off responders.  Take a look at both types.
    OT

  • Is it possible to display Oracle form as a region in OAF Page?

    Hi
    Is it possible to display Oracle form as a region in OAF page something like a master detail relationship such that Master information is displayed in OAF UI but detail information below is displayed in Oracle forms?Is there a tag that lets one do that specific for Form.
    One way could be do to embed applet in OAF page which would call and display oracle form but not sure if using javascript/applet in OAF would violate OAF coding standards or create some session management issues.
    Regards
    Preeti

    Thanks for your reply.I have seen an implementation that uses Adf and able to display form on same page as in inlinefraame in .jspx page using inlineFrame tag
    <af:inlineFrame inlineStyle="height:700px; width:1380px;"
    id="inlineFrm1"
    source="#{gofDrillback01.targetURL}"/>
    But I guess OAF doesnt have a similar tag to support forms.Thoughts?
    Regards
    Preeti

  • Is it possible to mailmerge a form letter to recipients identified in a database (names, addresses, etc.)?

    Is it possible to mailmerge a form letter so that the mailmerge process produces separate pdf files, one for each recipient identified in a database (names, addresses, etc.)?
    Or is is  it possible to mailmerge a form letter so that the mailmerge process produces one big file that contains a copy of the form letter for each recipient identified in a database?

    Hi marceepoo,
    If you're using Word for Windows, you sure can. See Adobe Acrobat X Pro * Create PDFs from Word mail merges
    Best,
    Sara

  • Form Designer Form. Is it possible to delete a form after it is created?

    Hi
    Is it possible to delete a form once its created in the system?
    Regards Glenn

    GlennA wrote:
    Hi
    Is it possible to delete a form once its created in the system?
    Regards GlennIn case you are interested, following can be done at database:
    Say, if you want to delete UD_ABC form (Process Form/Object Form/Parent Form/Child Form)
    delete from FUG where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from OSI where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from UNM where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from MSG where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from MST where MIL_KEY in (Select MIL_KEY from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from RML where MIL_KEY in (Select MIL_KEY from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from RSC where MIL_KEY in (Select MIL_KEY from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from MIL where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from ODF where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from OIU where ORC_KEY in (Select ORC_KEY from ORC where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC'));
    delete from ORC where TOS_KEY in (select TOS_KEY from TOS,SDK where TOS.SDK_KEY = SDK.SDK_KEY and SDK_NAME = 'UD_ABC');
    delete from TOS where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from SDC where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from SDL where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from RAV where SRE_KEY in (select SRE_KEY from SRE,SDK where SRE.SDK_KEY=SDK.SDK_KEY and SDK_NAME='UD_ABC');
    delete from SRE where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from SDK where SDK_KEY in (select SDK_KEY from SDK where SDK_NAME='UD_ABC');
    delete from WIN where WIN_KEY in (select WIN_KEY from WIN where WIN_WINDOW_NAME = 'tcfrm' || 'UD_ABC');
    delete from SEL where DOB_KEY in (select DOB_KEY from DOB where DOB_NAME LIKE '%UD_ABC');
    delete from DOB where DOB_NAME LIKE '%UD_ABC';
    drop table UD_ABC;
    Disclaimer: Oracle does not recommend deleting forms.

Maybe you are looking for

  • After switching to the iPhone 6, half of my purchased songs won't sync over.

    I Have managed to sync over half of the songs backed up on my Mac to my new iPhone 6, but the other half of the songs show they are on the computer but are faded with dashed circles next to them. Every time I hit sync it will popup saying I'm syncing

  • Error on IDM 6.0 fresh install on Tomcat 4.1

    I just installed IDM6.0 on Tomcat 4.1 - the installation completed with no errors . Loading of init.xml went through fine. I can login into the admin UI and perform most operations (such as creating a resource adapter instance, provisioning users , c

  • Column name problem

    Hi all.... I have a little strange problem.. I hope you all can help me in solving this. for brief intro, I have an web application on MySQL written entirely in JAVA. Now we want to migrate from MySQL to Oracle... We have used Oracle Migration Workbe

  • LiveCycle Designer ES2 Software

    Designer used to be bundled with Acrobat Pro, but with the new Acrobat X, I don't see any mention of Designer under the  "Version (features) Comparison" here   -  http://www.adobe.com/products/acrobatpro/buying-guide.html Does Designer come with Acro

  • Error .dmp

    i am developing a new page, The page consists of link buttons and click of these link buttons it’s taking us to new form, on double click of the values in matrix in new form it’s giving the error .dmp file is created and please contact support for fu