How to fire event in VS C# when QuickTime sees a marker.
I am using Visual Studio 2005 C# to run QT with ActiveX. I have set markers in the video file that show up in the window at the bottom of a QT movie. I want to be able to capture that marker with an event handler and tell a microcontroller to do something when that marker is hit. I've done a lot of research and can't find a way to extract the marker name or even find an event handler that will fire when the marker is hit. Since QT shows the name in the window I'm thinking there has to be a way to get that information to a C# application.
Any help would be appreciated,
Steve
hi,
You can create a method from the methods tab in your view controller. Write the code for populating your combo box in this method. Now in the doInit you can call this method. In the action handler of the button also call this method.
hope this helps you.
regards,
Rahul.
Similar Messages
-
How to fire event to generate insert message for the child objects?
We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
We have the following problem:
For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
We dicided that we want to connect the Object_2 as child to the Object_1.
The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
Thanks,
Dmitry
Edited by: 955827 on Aug 29, 2012 11:57 AMHi,
integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension. -
How to fire event on panel in coverflow?
Hi,
I have cover flow.Inside that 10 panels(created dynamically) will be present.
when u run application we will get coverflow.My requirement is when i click on first panel i have to
fire event.similarly when i click on remaining panels(ie first click it will show to user(panel1) and second click on the same pane1(panel1) event
will be fired.for suppose second click on panel2(not panel1),then i dont want fire event).How to do that?
Regards
D.Mahesh BabuHi Sarah,
Looks like you are talking of exactly what I want!
I have attached a sample VI to try achieve what I want. But it still has some issues which are:
1) I am unable to configure a Plot Attribute Change Event. I have used a mouse leave event instead. How does one configure a Plot Attribute Change Event?
2) Is there no single property which will transfer all the settings of plot legend from one graph to plot legend of another graph? In my sample VI, I have to read each property of the master graph and feed it into the slave graph.
Kindly note I am using LV FDS 7.1 on Win2000
Thanks,
Gurdas
Message Edited by Gurdas on 03-27-2006 11:51 PM
Gurdas Singh
PhD. Candidate | Civil Engineering | NCSU.edu
Attachments:
Graph_PlotLegend_Event.vi 45 KB -
How to fire event with parameter?
Hi folks,
does anyone know how to use the event parameter functionality?
My idea is to fire an event within the richisland and pass a parameter value. As I recognized the function
var myParameter:Number = new Number();
FlashIsland.fireEvent(this,"myEvent",myParameter);
On WD side in ROOTUIELEMENTCONTAINER I created a child element of type GACEvent, named myEvent. This event has a GACEventParameter named myParameter.
But running the app I am getting a dump:
WebDynpro Exception: ERROR: GAC_EVENT_PARAMETER 'myParameter' missing (GAC_EVENT='myEvent')
Any idea of how to fix this?Hi,
I solved it now. The correct syntax is:
FlashIsland.fireEvent(this, 'myEvent', {myParameter:myValue});
Hope it helps you too.
Greets -
How to fire event in view controller from component controller.
I have a component usage that fires an event wich i have subscribed in the component controller.
iv_usage->subscribe_event( iv_event_name = 'TAKE_IT'
iv_handler = me ).
After the event the method IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT in the component controller is called.
method if_bsp_wd_event_handler~handle_event.
endmethod.
The usage component is opened as a popup window. After pressing a button, the data is transfered via context node binding to the calling component. But now i want to close the popup.
My intension is to fire a event for the view controller in the IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT method that closes the popup.
Is this possible?
Or let me explain it this way:
I want to close a popup after a button in the popup is pressed.
best regards
JürgenHello Juergen
I am assuming your target pop-up is of type ref to IF_BSP_WD_POPUP.
1.Make this a view controller class attribute.
2. After the code to create the pop-up, you can add the following block :
gv_target_popup->set_on_close_event( iv_view = me iv_event_name = 'CLOSEPOPUP').
3. Now define event handler EH_ONCLOSEPOPUP where you can write the logic for on_close.
You can access the same reference gv_target_popup at the event handler level as well.
Hope this helps.
Regards
Nisha -
How to fire event to a textarea?
Hi all!
I am developing a small chat application where the data typed at the client on a textarea should be reflected in the textarea at the server. I can send data through the network and append it at the client. But if I want to handle the special keystrokes like backspace and all, I need to manually identify the code for that particular key and then do that operation on the server textarea. But what I am trying is I will send the TEXTEVENT object through the network and using information in it, I will construct a new TEXTEVENT object by changing the source object alone. Then I want to fire that on the textarea. We have a method processTextEvent in TextComponent(base of textarea). But it is protected and so even if I try to extend the textarea and do it, I don't have access to that method.
Can anyone help me out!
Thanks in advance.
Bye
VijayHere's some code that works in Window$, but fails badly in Solaris 9. In Solaris it doesn't display the characters and produces an "unexpected exception in code outside the JVM".
Here's the client
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.LinkedList;
public class TestEC extends Frame implements KeyListener
TextField input;
Socket sock=null;
boolean connected = false;
InputStream is = null;
ObjectOutputStream oos = null;
Thread recvThread = null;
Thread sendThread = null;
Queue sendQueue = null;
TestEC()
input = new TextField(30);
addWindowListener(new WindowAdapter()
{public void windowClosing(WindowEvent evt){System.exit(0);}});
add(input);
input.addKeyListener(this);
pack();
private boolean connect(String address, int port)
try
sock = new Socket(address, port); // try to connect to port 9999 on my Solaris system
is = sock.getInputStream();
oos = new ObjectOutputStream(sock.getOutputStream());
sendQueue = new Queue();
recvThread = new Thread(new Runnable(){public void run(){doRecv();}});
recvThread.start();
sendThread = new Thread(new Runnable(){public void run(){doSend();}});
sendThread.start();
connected = true;
catch(IOException e)
System.out.println("failed to connect to: "+address+":"+port);
sock = null;
connected = false;
return connected;
public void keyPressed(KeyEvent e){sendKey(e);}
public void keyReleased(KeyEvent e){sendKey(e);}
public void keyTyped(KeyEvent e){sendKey(e);}
private void sendKey(KeyEvent e)
sendQueue.push(e);
public static void main(String[] args)
String address = "127.0.0.1";
if(args.length > 0)address = args[0];
TestEC tec = new TestEC();
if (tec.connect(address,9999))tec.show();
else System.exit(0);
// read and discard until close seen, then shutdown
private void doRecv()
int last = 0;
try{while(connected && -1 != last){last = is.read();}}
catch(IOException e){e.printStackTrace();}
connected = false;
try
sock.close();
sendThread.interrupt();
catch(Exception ce){ce.printStackTrace();}
private void doSend()
Object obj;
while(connected)
obj = sendQueue.pop();
if(obj != null)
try{oos.writeObject(obj); oos.flush();}
catch(IOException e){e.printStackTrace();}
// a simple queue class between two threads
class Queue
LinkedList q = new LinkedList();
public synchronized void push(Object obj)
q.add(obj);
this.notify(); // tell pop to run with it
public synchronized Object pop()
if(q.isEmpty())
try{this.wait();}
catch (InterruptedException e){return null;}
return q.remove(0);
} And here's the server
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
public class TestES extends Frame
TextField output;
Socket sock=null;
boolean connected = false;
ObjectInputStream ois = null;
Thread recvThread = null;
Thread listenThread = null;
TestES()
output = new TextField(30);
addWindowListener(new WindowAdapter()
{public void windowClosing(WindowEvent evt){System.exit(0);}});
add(output);
pack();
private void start()
listenThread = new Thread(new Runnable(){public void run(){doListen();}});
listenThread.start();
private void doListen()
ServerSocket ssock = null;
try
ssock = new ServerSocket(9999); // listen on port 9999 on this host
sock = ssock.accept();
ois = new ObjectInputStream(sock.getInputStream());
recvThread = new Thread(new Runnable(){public void run(){doRecv();}});
recvThread.start();
connected = true;
catch(IOException e)
System.out.println("listen failed");
sock = null;
connected = false;
public static void main(String[] args)
TestES tes = new TestES();
tes.start();
tes.show();
// read and process events from socket
private void doRecv()
Object obj;
while(connected)
try
obj = ois.readObject();
postEvent(obj);
catch(Exception e){e.printStackTrace(); connected = false;}
try
sock.close();
catch(Exception ce){ce.printStackTrace();}
private void postEvent(Object obj)
output.requestFocus();
output.dispatchEvent((KeyEvent) obj); -
JTable: how to prevent events?
Hello friends...
Does somebody know how to prevent a JTable to fire events at certain times when selections are made?
In this case, the selection can be made externally to the table, by a lot of objects at the same time. The goal is to fire an event ONLY when I really need it...
ThanX in advance for any help...Hello again...
ThanX for your answers, I used a mix of both.
I used the method .setValueIsAdjusting() in ListSelectionModel that considers all coming events as one and I used a flag to enable changes.
The problem now is, I get a big array of values the table has to handle. Since it handles it as one unique event, it should be OK. But I fear that if the array is really monstruous, the method .setValueIsAdjusting() enters in "wait" mode (multi threads and all the stuff) and the flag is set to true (changes possible) without changes being made to table... Perhaps, there would be no problem at all...
Is it possible to force .setValueIsAdjusting() to do his job immediately?
ThanX a lot for your time... -
How to Fire ondisconnect event when network disconnect suddenly
Hello Friends
can any body tell me how to clear the client entry from Adobe flash Media server 3.5. when net disconnect.
i was expecting that on netdisconnect from the client side end(which is connected to FMS) its onDisconnect event fire similarly as it fire for browser close.But when internet disconnect ondisconnect event not fires at FMS side is there any way to overcome this or any other event fire at that stage?
if it is possible to get any event on network disconnection at client sidetahn i can solve the issue.
Thanks and Regards
Vineet oshoYou must be getting the "NetConnection.Connect.Closed" as info.code in the onStatus for the NetConnection.
See http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDoc s_Parts&file=00000742.html
nc = new NetConnection();
nc.onStatus = function(info){
if (info.code == "NetConnection.Connect.Closed")
// Netconnection has closed. -
How to fire an event dynamically in JSF Page
Hi All
How to fire an event dynamically in JSF Page?
Thanks
SudhakarHi,
Thanks for the response. I mean to say, if I create the components dynamically then how can I fire events for those components.
In otherwords,
If I create the Button dynamically with particular ID being set to that component, then how can I call button action event when the button is clicked??
Hope you understand
What is the role of MethodBinding mechanism here??
Thanks
Sudhakar Chavali -
How to fire another event handler for postprocess stage
Hi All,
I have 3 custom event handlers for postprocess stage, for modify action on user object. The problem is tah only one event handler is executed - I use EntityManager API to modify user object. How to fire another event handlers? Do I have use UserManager API?
best
mpAs Bikash stated, used a single event handler. You can put if statements in there to identity the operation, as well as if statements if the parameter is found i the list of attributes being modified. This way you will only perform the action when necessary.
-Kevin -
How do i get my events to change colors when i add new ones in my calendar
How do I get my events to change colors when I add a new event in my calendar?
When you add an event and you see the heading "Calendar", do you see a name to the right of it such as "Work"? If you tap on the heading "Calendar" does it show you a list of calendars?
I'm basing this on my experience using iCal on a Mac to sync with my iPad. I created a number of calendars on the Mac and assigned them different colors. Those appear on my iPad. I don't know how to create additional calendars on the iPad alone - I must create them in iCal or MobileMe then they show up on the iPad. Are you using a Mac or MobileMe? -
How can I see all photo miniatures when I open a photo album or an event in iphoto?
How can I see all photo miniatures when I open a photo album or an event in iphoto?
Note the zoom slider at the bottom of th iPhoto Window - drag it left.
-
I made a video series on one time line and now want to copy paste sections into other tiemlines so I can separate the series into distinct videos to upload. How do I get new timelines? When I go to new event it asks for import footage.
You seem to be new to this software, so I highly recommend that you take some time to learn it using some great tutorials available online - it will pay off to invest the time, if you follow through, for example the great (and free) introductory tutorial at izzyvideo.com.
This is an amazing piece of software, and you'll have a lot to learn, but it's well worth it. -
How to Process event when select ALV mark ?
Hi.
The Screen have ALV data.
How to Process event when select ALV mark ?
Regards.
LY.EVENT
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_events[]
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE it_events WITH KEY name = slis_ev_top_of_page
INTO it_events.
IF sy-subrc = 0.
MOVE t_formname_top_of_page TO it_events-form.
APPEND it_events.
ENDIF.
ALV
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = it_fieldcat
it_events = it_events[]
i_callback_program = sy-repid
is_layout = gs_layout
i_save = g_save
is_variant = gx_variant
TABLES
t_outtab = i_data[]. -
How to get event when app is minimized.
How to get event when app is minimized in only windows app, not phone version.
Hi,
Suspending Event will be called when a windows store app is minimized. It will not hit the Suspending Event when minimised while debugging, So you need to trigger it manually from the VisualStudio Toolbar.
Also Read
Application Lifecycle for windows apps
Pradeep AJ
Maybe you are looking for
-
How to print a photo onto A4 paper NOT photo paper
How do I print a photo onto A4 paper from my ipad using an air printer INSTEAD of onto photo paper? I can't find anywhere to change the settings.
-
Implementing Webservices in Flash CS5
Hello I am looking for a walkthrough for implementing a call for a webservice from an swf file, I cant find any..
-
Hi friends, My requirement is i need to download a tab delimited text file. i am using the below coding but i am able to download a file but it is not coming with delimited. CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename
-
Hello, does anybody have an idea, how to activate PPRs for Service Orders. I can customize them for Service Contracts, this is fine, but I also need them in Service Orders (which are not linked to a Service Contract). I checked the possibility of Pro
-
Embedding a displayable form in enums?
Hi, Java coding best practices suggest that enum values are spcified in upper case. Something like: public enum WeekDay { SUN, MON, TUE, WED, THU, FRI, SAT; };However, when displaying a single value you would normally want to display in a prettier wa