Create a custom subclass of the classFileViewapi, overriding any of its abstract methods you need. For this sample program, one has been created calledExampleFileView(see"ExampleFileView"), which looks at a file's extension (for example,.jpg) and returns the file's name and, if the exte...
E.2 Sample Program for Modifying Images or Testing the Image Installation Once you have installed Oracle8i interMedia image, you may choose to run the Oracle8i interMedia image demonstration program. This program can also be used as a test to confirm successful installation. This section contains ...
Program.cs Contains the Main() method–the location where the program begins execution–and the code for handling the command line switches. ScreenSaverForm.cs Contains the main screensaver Windows Form. The images and feed item headlines are displayed on this full-screen form. OptionsForm.cs Cont...
Set Program Access and Defaults (SPAD) MSMQQueue.IsOpen2 Progress Bar Controls Reference Programming for Location Independence Reading Message Examples PROPID_MGMT_QUEUE_EOD_LAST_ACK_TIME Trigger Components Asynchronous Reading Visual Basic Code Example: Sending Msg to a Destination Queue PROPID_M_PRIV_...
rest-http- This sample demonstrates how to send an HTTP request to a Spring Integration's HTTP service while utilizing Spring Integration's new HTTP Path usage. This sample also uses Spring Security for HTTP Basic authentication. With HTTP Path facility, the client program can send requests with...
console.log("-- Sample started --"); // Create the CRM entry intances used by this sample program. Sdk.createRequiredRecords() .then(function () { console.log("-- Working with functions --"); // Bound and Unbound functions // See https://msdn.microsoft.com/library...
Below is a code snippet from RegisterEventHandlers(), where we set up an event handler for the NewWindowRequested event. This event is fired when JavaScript in the webpage calls window.open(). ICoreWebView2NewWindowRequestedEventHandler makes a new AppWindow and passes the new window's ...
Efficiently execute and visualize a compute-intensive simulation using multiple GPUs with a peer-to-peer connection. On multiGPU systems which have an Infinity Fabric Link, this sample uses one GPU to performa a complex simulation and uses the link to transfer data to the other GPU for visualiza...
Step 3: Create the topics for the example programs We need two topics for the example program $ bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic fast-messages $ bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor...
The event types and values will depend on the theme of the application you choose; for example, in a distributed game application, there may be event types such as new-player-arrival and new-game-started. Begin by studying the program code of the sample application publisher and consumer comp...