record

Are there any downsides to passing in an Erlang record as a function argument?

Are there any downsides to passing in an Erlang record as a function argument? ...

Selected event not raised for ObjectDatasource when enable-caching is true

I've a Gridview control using an ODS(ObjectDataSource) to fetch data. For the best performance and efficiency, I've turned-off the view state of Gridview (i.e. EnableViewstate = "false". And I've also enabled caching in the associated Objectdatasource. This eliminates as much as 50-60% performance optimization because it eliminates the ...

Call Oracle Storage Procedure with a record as parameter

Hi everyone, is it possible to call an oracle storage procedure with a record type as IN parameter. In Oracle I have a record definition: TYPE R_InData_tab IS RECORD ( ... ); TYPE InData_tab IS TABLE OF R_InData_tab INDEX BY BINARY_INTEGER; Now I want to set this record type as parameter: PROCEDURE myProcedure (inRecord IN myPackage....

Audio recording and playback in Silverlight

I have a Silverlight 4 application that records user's voice through the mic. Now, as soon as the recording is completed, I need to play the recorded voice back to the user before posting it to the server. Is it at all possible to play it back to the user without getting into format conversions etc? Any ideas are welcome. Thanks! ...

Record file error

Hello. I am using Delphi 2007 and I am trying to make record type file. In Delphi 7 there were no problems for me. Type Kompiuteris = record ... end; Failas = file of Kompiuteris; But in Delphi 2007 I get problem. Error says that: Type "Kompiuteris" needs finalization. So, what is wrong? ...

What's the syntax for including methods in a variant record?

I have the following record definition E3Vector3T = packed record public x: E3FloatT; y: E3FloatT; z: E3FloatT; function length: E3FloatT; function normalize: E3Vector3T; function crossProduct( const aVector: E3Vector3T ): E3Vector3T; class operator add( const aVector1, aVector2: E3Vector3...

Get latest update from two tables

I have read so many posts and tried so many alternatives but I just can't work out the best way to achieve the following : I have four tables, issues, issuestatus, customers and customerupdates Issues IssueID StatusID CustomerID IssueDetails IssueStatus StatusID Status Customers CustomerID CustomerName CustomerUpdates Update...

How to record audio running out of iphone speakers?

Hey, I'm a new developer in Objective C. I'm trying to record the audio running out of iPhone speakers. I can capture the audio by mouth speaker and record it. But I cannot record the audio producing from my iPhone. Please help me. ...

How to Record piano voice in Android

Hi, I want to make piano application in Android phone, I want to record piano voice, How i record own phone voice. ...

AVAudioRecorder Memory Leak

I'm hoping someone out there can back me up on this... I've been working on an application that allows the end user to record a small audio file for later playback and am in the process of testing for memory leaks. I continue to very consistently run into a memory leak when the AVAudioRecorder's "stop" method attempts to close the audio...

How to monitor screen updates?

I am trying to write a program that monitors when the screen has been redrawn. Meaning if any part of any window is redrawn, then the program is notified. As far as I understand I should use a journal record hook like at http://www.vbaccelerator.com/home/vb/code/libraries/Hooks/Journal_Record_Hooks/article.asp However, I do not unders...

SHAREPOINT 2007 - Record Read Only

Hi All, In a "Issue" list, I have a mandatory field called "Status", to control the status (Identified, implemented, postponed, etc.). I need to control the behavior of each record based on that field content. For certain status the record should became read only, and only admin users should be able to edit / change it. Is there a way t...

Building Active Record Conditions in an array - private method 'scan' called error

Hi, I'm attempting to build a set of conditions dynamically using an array as suggested in the first answer here: http://stackoverflow.com/questions/1658990/one-or-more-params-in-model-find-conditions-with-ruby-on-rails. However I seem to be doing something incorrectly and I'm not sure if what I'm trying is fundamentally unsound or if I...

PHP next MySQL row - how to move pointer until function checks true?

I have a PHP script which takes a value from a row in my MySQL database, runs it through a function, and if it determines it's true returns one value, and if it's false, it needs to go to the next value in the database and check that one until eventually one returns true. I think I need to use mysql_fetch_assoc, but I'm not really sure i...

Is it possible to open and edit 2 or more RecordStores at the same time in j2me?

Hi, I was wondering if it is possible in j2me to have 2 or more recordStores open at the same time. I basically want to be able to add/remove records from 2 different recordStores in the same execution of the code. Is this possible? If so, how would you do it? At the top of the class, you do something like 'private RecordStore rs;' wou...

Create Audio file on iPhone/iPad from many other audio files (mixer)

I am trying to create something similar like Piano app on the iPhone. When people tap a key, it play a piano note. Basically, there will have only 7 notes (C) at the moment. Each note is a .caf file and its length is 5 seconds. I do not know if there is any way to save the song user played and export to mp3/caf format? The AVAudioRecord...

insert and modify a record in an entity using Core Data

I tried to find the answer of my question on the internet, but I could not. I have a simple entity in Core data that has a Value attribute (that is integer) and a Date attribute. I want to define two methods in my .m file. First method is the ADD method. It takes two arguments: an integer value (entered by user in UI) and a date (curr...

How to use Joomla to allow users to create/update data on my site?

Right now Im using an extension called chronoforms but Im open to anything that works. I can make forms just fine, and it saves the submitted data to a table. Where I am stuck is, how do I then allow my front end users who filled out and submitted the form to go back, view their old answers, change them, and resubmit them or resave them....

Java Micro Edition (J2ME) - Delete element from Record Store

Hi there, I have a record store which holds a list of shopping items i am currently serialising the data like so ** (inside) ItemClass ** ByteArrayOutputStream byteOutputStream = new ByteArrayOutputStream(); DataOutputStream dataOutputStream = new DataOutputStream(byteOutputStream); dataOutputStream.writeUTF(getOwner()); d...

Java Micro Edition (J2ME) - Update Record using recordstore enumeration

Hi there, I have a record store of items which have (name, quantity, owner, status) Now when the user triggers an event i want to set the status of all items in my recordstore with "purchased" re = shoppingListStore.enumerateRecords(null, null, false); while (re.hasNextElement()) { // read current...