components

Setting variables during component initialization in Flex

I am loading a component which makes a HTTPService call to get data that will then be used to set certain variables in the component. I make the HTTPService call in an init() function (for the initialization event) and then set the variables according to the data received in the HTTPService result handler. However, the variables are st...

How to invoke on the UI thread of a WinForm Component?

I'm coding a WinForm component where I start a Task to do the actual processing and trap the exception on a continuation. From there I want to show the exception message on a UI element. Task myTask = Task.Factory.StartNew (() => SomeMethod(someArgs)); myTask.ContinueWith (antecedant => uiTextBox.Text = antecedant.Exception.Message, ...

CakePHP, Email Model and Email Component. I've done somthing stupid.

Hi. I've been silly. I have a model called Emails, which I have build alot of functionality for, however now I have come to actually send emails in the emails controller and have hit a wall. The email component clashes with the model, they are both referenced with $this->Email. My question is how can I rename the component (going bac...

vb6: looking for activeX audio component (load/play/display wav)

hi, i'm looking for an activeX component which allows loading .wav files, displaying + playing it - and also is capable of displaying/setting the current playing position. any ideas? thanks ...

Sink JSF 2.0 Composite Component Event in Parent Page Backing Bean

Hi All, I have a conceptual mind-block around the use of a JSF 2.0 composite component within a parent page. I understand how to implement an ActionListener (and others) for a composite component's action but how is this wired-up for the parental page to consume? For example, I want my login composite component to perform authentication...

Windows Forms program runs smoth on win7 but on previous os's give the "Index was outside the bounds of the array" Error?

I have a Windows Forms program that runs smooth on win7 but on previous version of windows give the "Index was outside the bounds of the array" error in the imageList call when setting the key-image of the component. Why this can be hapening? PS: This only occur when running the .exe, not when debugging. ...

How can I display Joomla modules within a component?

I have a component with several categories of games and I want to display a different banner depending on the category. I need the banner (and link) to be customizable so it's not simply a case of showing categoryX.jpg or whatever. I saw this Joomla help page on another question, but it only seems to display a module type, not one speci...

What's a good way to manage a lot of loosely related components in F#?

I'm trying to translate an idea I had from OOP concepts to FP concepts, but I'm not quite sure how to best go about it. I want to have multiple collections of records, but have individual records linked across the collections. In C# I would probably use multiple Dictionary objects with an Entity-specific ID as a common key, so that giv...

WCF Service vs. Referenced Component?

We have a multi services application. We have moved a method that involves a DB access to a separate component that is exposed by a WCF endpoint. We have more than one service that need to use this method. The dilemma is what to use: A WCF call to the method. Call directly to the method, resolved by our DI engine. The system perfor...

How to impliment a stringlist property in a custom delphi component?

I am creating my first custom Delphi component. Its basically a custom Tpanel with header and lines text displayed on it. I want to be able to add multiple lines text using a stringlist. When testing the component I cannot get the text lines to display on the panel when adding lines: NewLinesText.add('line1 text') It does however wo...