record

How to transform a XAML/WPF file to a video (AVI, WMV, etc.)

I have a simple WPF (XAML) file that has some animated shapes and text. The animation has no interactive behavior. I want to record this animation as a video file that I later intend to use as the "intro" screen to a screencast. What I think I need: C# code that takes an input XAML file and spits out a high quality WMV at (for example a...

Understanding how Ada serializes a record

I would like to be able to predict what will be in the resulting binary when I call Write in Ada to serialize a record. Do you know where I can look this up? I have some legacy Ada software that produces a binary file by Write-ing a record, and I need to debug a C++ program that is supposed to write a compatible binary file. So, I would...

Ajax keep=alive a good idea?

I'm currently working on a simple CRUD application. One requirement is preventing users from editing things concurrently. In order to do this I "lock" records to see if they're being edited, to prevent other users from editing at the same time. I was thinking a good way of implementing this might be to use an AJAX keep-alive to see if th...

How to simulate bit-fields in Delphi records?

I would like to declare a record in Delphi that contains the same layout as it has in C. For those interested : This record is part of a union in the Windows OS's LDT_ENTRY record. (I need to use this record in Delphi because I'm working on an Xbox emulator in Delphi - see project Dxbx on sourceforge). Anyway, the record in question is...

Physical or Logical Delete of Database Record

What is the advantage of doing a logical delete of a record (i.e. setting a flag stating that the record is deleted) as opposed to actually or physically deleting the record? Is this common practice? Is this secure? ...

WebOrb to record from my webcam

Can WebOrb record a video (flv) streaming using the webcam as a source? How? ...

MS Access Moving records into fields

I have an ODBC connection to a database I don't own and can't change. What I am looking to do is to make related records merge into one record. The relationship is a 1 to many. I have a student managment system and want to export a call out list which feeds an automated callout service (charged by Call). I want to be able to call a ...

How to record voice in a browser?

I need users to record their voice on a browser and then automatically upload the resulting mp3 to a webserver. I am thinking the user presses a big fat start record/stop record button to do this. This would then save a file on the users hard disk. Then it would be efficiently compressed and automatically ftp'd up to a website. Is it ...

PL/SQL: Best practice for fetching 2 or more joined tables from a cursor?

I've heard that it's a good practice to define your records in PL/SQL by using the %ROWTYPE attribute. This saves typing and allows your package to continue functioning even when a column is added or deleted. (Correct me if I'm wrong!) However, when I am fetching from a cursor that involves a join, I find that I have to fetch into a pro...

Storing results into a record trouble

Hi I am parsing an XML file and storing the results in a record, but am having some trouble. Im trying to store the results (content of my XML tags) into the fields of my record.. My record (at the moment there is only 1 set of XML elements). I think that the Parser.curconten is causing the problem... Type TXMLAlert=Record alert...

Delphi Component Saving

How best could I save this component and all internal variables? Examples of code would be appreciated. TSmall = record fName: string[30]; fAge: integer; fID_Number: string[30]; end; TRec = record ArraySmall: array[1..10] of TSmall; end; TBigComponent = class(TComponent) private fSmallArr: TRe...

Unique record in Asp.Net SQL

I asked this question previously but the answers weren't what I was looking for. I created a table in Asp.net without using code. It contains two columns. YourUserId and FriendUserId This is a many to many relationship. Heres what I want: There can be multiple records with your name as the UserId, there can also be multiple record...

Querying Many-To-Many relationship with Hibernate Criteria API

I've the following many to many relation: File 1 --- * File_Insurer * --- 1 Insurer. I'm trying to query this relation using the Criteria API (Active Record) to get Files that meet ALL specified Insurers (Get all Files where Insurer.Id == 2 AND Insurer.Id == 3). Mapping files (parts): File [HasAndBelongsToMany(typeof(Insurer), Table =...

oracle6i form

I have to design the a form in oracle 6i. The form is as follows- the form has 5 field. they are: 1.patientid 2.visitid 3.babyid 4.examination 5.plan For a particular baby,patientid and visitid is unique. But for that patientid and visitid of a baby,there are multiple record in examination and plan field. I design the form and crea...

How to render WPF animation as a video frame by frame?

I've created a nice effect that I like in WPF, I'd like to be able to "record" this effect. But it is choppy during run-time. Is there a way I can convert it to a frame-by-frame process and save it as a video myself instead of trying to record it during playback? Basically I'd like to render WPF as a video, or list a series of frames s...

Why do these record types conflict?

Hi, Considering the following record types: type drCode1Body = {DrCode : byte ; Name : string ; Timestamp : DateTime ; Size : uint32 ; Options : byte} type drCode2Body = {DrCode : byte ; LastBlock : byte ; BlockNumber : uint16 ; BlockSize : uint16 ; BlockData : array<byte>} type drCode4Body = {DrCode : byte ; Name : string ; Timestamp ...

When should I use enhanced record types in Delphi instead of classes?

Delphi 2006 introduced new capabilities for records, making them more 'object-oriented'. In which situations is the record type more appropriate for a design than a class type? Which advantage does it have to use these record types? ...

Moving to new record on Collection

I'm just getting started with collections (ObservableCollections) and I've hit a wall that I assumed would be easy. I'm sure it is easy but I'm just not finding the answer. I have a WPF screen with a DataGrid to the left and TextBoxes to the right of the screen. The DataGrid is bound to the ObservableCollection (Activities) and I can c...

Why does compacting a Access 2000 db changes the order of records in a table?

As the question says. The table has no primary key defined. Other tables in the database do not change after compacting, and have as well no primary key defined. ...

SSIS transactional data (different record types, one file)

An interesting one, we're evaluating ETL tools for pre-processing statement data (e.g. utility bills, bank statements) for printing. Some of the data comes through in a single flat file, with different record types. e.g. a record type with "01" as the first field will be address data. This will have name and address fields. A record ty...