How to set an ActiveX Property
Hi
I am having problems understanding how I can set a property of an ActiveX control in lookout. Here is what I am trying to do. I have an activex contol that shows a cctv camera's video.The video is showing up properly on my lookout screen. The name of the activex control is IVC_ax1. I need to add a push button to my lookout screen that when pushed sets the property of to: IVC_ax1.PanRight=.05 and when not pressed it should set the property to: IVC_ax1.PanRight=.00. How can I do this I have tried several ways and have not had any luck. Any help you can give me will be greatly appreciated.
Thanks
Rob
All the available properties should appear in Object Explorer after you create that ActiveX object. Then, you just need to edit connections.
Ryan Shi
National Instruments
Similar Messages
-
How to set the item property to restrict the user to not to copy from above
Hi Guru's,
I have a requirement like, There were two items on the form name email Id, Confirm email Id.
I have to ristrict the user to not to copy from email Id item.. make him/her to enter the value into confirm email id item field manually.
How to set the item property to restrict the user to not to copy from above item and paste it in this item.
Please help.
Thanks!!Just an opinion here, but that is about the dumbest requirement I have ever seen.
I am always annoyed by web sites that ask me to enter my email twice. I ALWAYS copy the email address from the original entry and paste it into the second one.
People enter their email addresses so often, it takes a real klutz to not get it right. And what makes you think that if they enter it twice, that they won't enter it wrong both times anyway??? -
How to set the 'text' property of a 'Header' region dynamically?
Hi,
I have a requirement to display the 'text' property of a 'Header' region, based on a query.
So I need to set the text property programatically in CO.
Can I use setText("..") by getting the handler to the 'Header' region?
If so, How to get the handler for the 'Header' region?
Message was edited by:
user594528How to get the handler for the 'Header' region to call the setText()?
OAHeaderBean Header1 = (OAHeaderBean)...........................
Header1.setText("...."); -
How to set UOO(bea_unitoforder) property within BPEL Adapter property
Hi,
In oracle documentation JMS message payload field values can be used as correlation properties.
Correlation property aliases are used to define from which payload field the correlation property value is taken.
I need to set the correlation property value from a JMS message header field instead of payload fields. (=JMS JCA Adapter properties).I have a UOO value set same for all messages.Now I need to set this WL property to JMS JCA Adapter property and then create one single instance for all messages in queue.
Routing a New message to a (New or) Existing Instance:
http://docs.oracle.com/cd/E28389_01/dev.1111/e10224/bp_correlate.htm#CHDDJEAI
How is it possible in BPEL???
Thanks
SouvikHi,
In oracle documentation JMS message payload field values can be used as correlation properties.
Correlation property aliases are used to define from which payload field the correlation property value is taken.
I need to set the correlation property value from a JMS message header field instead of payload fields. (=JMS JCA Adapter properties).I have a UOO value set same for all messages.Now I need to set this WL property to JMS JCA Adapter property and then create one single instance for all messages in queue.
Routing a New message to a (New or) Existing Instance:
http://docs.oracle.com/cd/E28389_01/dev.1111/e10224/bp_correlate.htm#CHDDJEAI
How is it possible in BPEL???
Thanks
Souvik -
Hi how to set the visible property in oracle adf?
Hi,
I am new to oracle adf in my application one of the field is id and it is sequence generated value Whenever I entered remaining values and click on save then only it has to display with sequence generated value before saving it has to be in hide mode. Can any one help me how the approach is.As there are three ways through which you may pass a message to B2B, so there are three ways to set Action name property.
If you are using SCA/Fabric then set below properties -
b2b.fileName
b2b.contentType
If you are using JCA JMS adapter, then set below property -
jca.jms.JMSProperty.ACTION_NAME
If you are using JCA AQ adapter then set -
ACTION_NAME
Regards,
Anuj -
How to set a system property via the config tool?
Hello,
how can I set a system property via the config tool? Before I chose WAS from SAP I used java with option -D<name>=<value> to set the system properties.
Very much thanks in advance.
Regards
CarstenHi Carsten,
WAS config tool is located under
e.g. usr\sap\J2E\JC00\j2ee\configtool
start configtool.bat
there will be opened a configuration tool GUI
Click on the instance_ID.... leaf of the tree in the left pane and then on the server_ID.... leaf.
Java settings will appear in the right pane after this steps.
Best Regards,
Violeta -
How to set clock skew property at client side when invoking web services
Hello,
now we're using weblogic 11g, we want to set the clock skew properties.
in server side, we "Create a Web Service security" to set the "Clock Skew" property, change it value from 60000 to 120000, then we invoke the web service from stand-alone client on another machine, the clock skew between the server machine an client machine is 80000. but it still throw exception:
javax.xml.ws.soap.SOAPFaultException: Message Created time past the current time even accounting for set clock skew+
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:241)+
we think we still need set the clock skew at client side. in webloigc8.1 doc(http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webserv/client.html), we find there's properties such as "weblogic.webservice.security.clock.precision" we can set in client side, but in weblogic 10.3 doc, we can't find these properties.
now how to set the clock skew at stand-alone client in weblogic 11g?
Thanks!
FredHello,
now we're using weblogic 11g, we want to set the clock skew properties.
in server side, we "Create a Web Service security" to set the "Clock Skew" property, change it value from 60000 to 120000, then we invoke the web service from stand-alone client on another machine, the clock skew between the server machine an client machine is 80000. but it still throw exception:
javax.xml.ws.soap.SOAPFaultException: Message Created time past the current time even accounting for set clock skew+
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:241)+
we think we still need set the clock skew at client side. in webloigc8.1 doc(http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webserv/client.html), we find there's properties such as "weblogic.webservice.security.clock.precision" we can set in client side, but in weblogic 10.3 doc, we can't find these properties.
now how to set the clock skew at stand-alone client in weblogic 11g?
Thanks!
Fred -
How to set the target property of hyperlink through formula
Hi guyz,
I have a problem in setting the target property of hyperlink field. I'm using CR XI R2 with asp.net.
I want to set the target property of hyperlink as one of the frame on my webform. how can i do it through formula in crystal report.
I want to set it through CR because i don't have any way to identify the link fields uniquely. these link fields are generated dynamically from data base. I have some other links on my webform. If i try to get all links through javascript and change the target property it may effect some other functionalities, so i'm avoiding using javascript to set the target property of hyperlinks.
your help will be highly appreciated.
Thanks in advance
DeepakYou may want to look at the HyperlinkTarget property of the CrystalReportViewer. If you want all hyperlinks in the report to go to that frame, it should work for you.
-
How to set the cardinality property as 1..n for a dynamically created node
Hi...everybody
I am creating Dropdown by index UI element and the
context atrributes dynamically.To bind multiple data to a dropdown
the cardinality property of the node should be 0..n or 1..n,
But i could not set the property of the dynamically created context node to 0..n ...
can any body suggest me..
I implemented the following code in WDDoModify View
IWDTransparentContainer tc=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
IWDNodeInfo node = wdContext.getNodeInfo().addChild("DynamicNode",null,true,true,false,false,false,true,null,
null,null);
IWDAttributeInfo strinfo=node.addAttribute("Value","ddic:com.sap.dictionary.string");
dbyindex.bindTexts(strinfo);
tc.addChild(dbyindex);
I could successfully display one value in the drop down,by adding the following code before the line tc.addchild(dbyindex);
IWDNode node1=wdContext.getChildNode("DynamicNode",0);
IWDNodeElement nodeElement=node1.createElement();
nodeElement.setAttributeValue("Value","Hello");
node1.addElement(nodeElement);
but when
i am trying to bind multiple values i am getting Exception ,,,,hi
you are getting the exception because of cardinality property.
i.e true,false and
you are trying to add morethan one element.
so,if you want to add morethan one than one element you have to set the cardinality property to true,true (or) false,true.
In your code do the following modification for changing the cardinality.
For 0..n -->false,true
1..n-->true,true
IWDTransparentContainer tc=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
IWDNodeInfo node = wdContext.getNodeInfo().addChild("DynamicNode",null,true,true,false,false,false,true,null,
null,null);
IWDAttributeInfo strinfo=node.addAttribute("Value","ddic:com.sap.dictionary.string");
dbyindex.bindTexts(strinfo);
tc.addChild(dbyindex);
hope this will solve your problem.
In addchild(..) the parameters are
addChild("Name ,
Element class for model node ,
Is singleton? ,
Cardinality ,
Selection cardinality ,
Initialise lead selection? ,
Datatype ,
Supplier function ,
Disposer function);
Regards
sowmya -
How to set the source property of image control dynamically?
Hi,
I have different fxg files which I want to display in a list. For each row in the List, I define which fxg file to be displayed in my database.
I need to know how to set the image1.source = (the fxg path) as a string from database?
Is there any conversion needed in this case? If so, can you please help me how to do this?Hi,
Thank you for your response. I am new to Adobe Flash Builder, Flex and action script. I don't get your answer straight away.
What I basically need is, I need to set image1.source = strFXG. Right now, this does not show the image. I don't understand fxgObject.pathid.source => how to give this?
Moreover, when I did google search, there is somethink like fxg converter which converts the fxg to a component. I thought this is a very simple problem on how to convert the fxg string to an object format. But now, it looks like it might be a big problem. Can anyone help me in this?
import spark.components.Image;
protected function view1_creationCompleteHandler(event:FlexEvent):void
// TODO Auto-generated method stub
var strFXG:String = 'assets.DB_Actief_Graphics';
var image1:Image = new Image();
image1.x = 100;
image1.y = 100;
image1.source = strFXG;
addElement(image1);
Regards,
Chella -
How to set the actionname property in B2B 11g
I have an outbound file sent via AS2 over http. I gather from other b2b forums/documents that for preserving the file name I have to set the actionname property. I have a BPEL process which is setting the fromTP, toTP, document TYPE etc, and then invoking the B2B and sending the document. Can I set the actionname property in the BPEL?
When I am trying to assign a value like "contentType:application/octet-stream;filename:abc.xml", I don't see any actionname property in the "To" side.As there are three ways through which you may pass a message to B2B, so there are three ways to set Action name property.
If you are using SCA/Fabric then set below properties -
b2b.fileName
b2b.contentType
If you are using JCA JMS adapter, then set below property -
jca.jms.JMSProperty.ACTION_NAME
If you are using JCA AQ adapter then set -
ACTION_NAME
Regards,
Anuj -
How to set integer type property using um:setProperty
Using WLP 8.1 .
Can anyone help to set integer type property programmatically.
i tried <um:setProperty> . but it can send only string or object type
not Integer.
tia
MaheshThanks
It worked for me
Mahesh.
Gregory Smith <[email protected]> wrote:
For Numeric properties, I believe you actually need to use a
java.lang.Long object (which extends java.lang.Object so it should compile):
<um:setProperty propertySet="..." propertyName="..."
value="<%=new Long(10)%>" />
Greg
Mahesh wrote:
Using WLP 8.1 .
Can anyone help to set integer type property programmatically.
i tried <um:setProperty> . but it can send only string orobject type
not Integer.
tia
Mahesh -
How to set JMS Header Property without using DynamicConfiguration.
Hi,
My Scenario is: PDF File -->XI -->JMS
I need to send the PDF file as it is to JMS receiver, which shouldn't be a problem. The problem is I need to set the same file name in the Receiver JMS header property.
So to do this I am using DynamicConfiguration in message mapping but when File Adapter picks the PDF file (as it is) I get the run time mapping error which is quite obvious since message mapping expects the data in xml format.
Do you have any idea if I can avoid the message mapping and set the Dynamic Configuration somewhere else (not sure if java mapping can help here) or if there is some Module available to set file name in JMS header.
Note: PDF File name is dynamic.
Thanks!I am on XI 3.0. I am not good in java.. can someone give an example?
Update:-
I have done some changes to my code and now it is working for me. Since I don't have much knowledge in Java (except writing UDFs )so don't know how good this coding is but defiantly this is my first step to learn Java APIs. Thanks to everyone for their comments & suggestions!!
If any improvement in below code can be done please let me know.
package com.sap.xi;
import com.sap.aii.mapping.api.*;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
import org.xml.sax.helpers.DefaultHandler;
public class JMSHeaderMapping extends DefaultHandler implements StreamTransformation{
private Map param;
public void setParameter(Map map)//to access message header data during runtime
param = map;
if(param == null)
param = new HashMap();
public void execute(InputStream in, OutputStream out) //This method is used to run the mapping
throws StreamTransformationException
DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get("DynamicConfiguration");
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
String MyFileName = dynamicconfiguration.get(key);
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageProperty0");
dynamicconfiguration.put(key1, MyFileName);
byte[] inbyte = null;
try {
// convert InputStream into byte stream
int bufsize = in.available();
inbyte = new byte[bufsize];
in.read(inbyte);
// convert byte stream into OutputStream
out.write(inbyte);
catch (Throwable t){
t.printStackTrace();
Edited by: Sarvesh Singh on May 9, 2011 8:47 PM -
How to set my System Property for frmall.jar like !
I have a JAR file named SecAuth.jar in ORACLE_HOME\forms\java\ directory.
I configured this JAR file in ORACLE_HOME\forms\server\formsweb.cfg file archive tag. Like,
archive=frmall.jar,SecAuth.jar
Its working very nice.
Now I need to give a System Property to one of the Class file in the SecAuth.jar !
Actually my System Property is,
-Dproject.system.securityFile=C:\client\security.properties
How can I do this sir ? Can someone help me ?Try looking in the $ORACLE_HOME/opmn/conf/opmn.xml file. You'll see a set of process definitions that correspond to the OC4J instances you have configured. There should be a "start-properties" or some similar element to that, in which you can place your required System property. There should be examples of properties in there already.
When OPMN starts your OC4J process, it will pass it the System property you set (along with all the other ones that were already there).
-steve- -
How to set JMS user property in JMS Adapter.
I am using Jdeveloper and SOA 11g. I want to filter some JMS messages from a topic based on a JMS user property. It is consumed using (JMS Adapter) consumer --> Mediator---> DBAdapter.
My Question is how to define a JMS user property using Jdeveloper 11g.
Thanks
Edited by: user5108636 on 24/06/2010 16:10In Mediator mplan Assign Values use a property expression in the "to" side like:
jca.jms.JMSProperty.XXX
where XXX is the name of the property you would like to have created and populated. In source it will look like:
<Mediator name="A03QueueWFeedMediator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/sca/1.0/mediator"
wsdlTargetNamespace="http://www.oracle.com/integration/b2b/A03QueueWFeedFromB2B/">
<operation name="receive" deliveryPolicy="AllOrNothing" priority="4"
validateSchema="false">
<switch>
<case executionType="direct" name="A03QueueWFeedToJMS.Produce_Message">
<action>
<transform>
<part name="$out.body"
function="xslt(xsl/ADT_AXX_To_ADT_AXX.xsl, $in.body)"/>
</transform>
<assign>
<copy target="$out.body/imp1:ADT_AXX/imp1:MSH/@Type"
value="$in.property.b2b.documentDefinitionName"
xmlns:imp1="NS_64FCBED013AA409D933F624674E67BF220070423183755"/>
<copy target="$out.body/imp1:ADT_AXX/imp1:MSH/@ID"
value="$in.property.b2b.fromTradingPartnerId"
xmlns:imp1="NS_64FCBED013AA409D933F624674E67BF220070423183755"/>
<copy target="$out.body/imp1:ADT_AXX/imp1:MSH/@Name"
value="$in.property.b2b.toTradingPartnerId"
xmlns:imp1="NS_64FCBED013AA409D933F624674E67BF220070423183755"/>
<copy target="$out.property.b2b.conversationId"
value="$in.property.b2b.conversationId"/>
<copy target="$out.property.b2b.documentDefinitionName"
value="$in.property.b2b.documentDefinitionName"/>
<copy target="$out.property.b2b.documentProtocolName"
value="$in.property.b2b.documentProtocolName"/>
<copy target="$out.property.b2b.documentProtocolVersion"
value="$in.property.b2b.documentProtocolVersion"/>
<copy target="$out.property.b2b.documentTypeName"
value="$in.property.b2b.documentTypeName"/>
<copy target="$out.property.b2b.fromTradingPartnerId"
value="$in.property.b2b.fromTradingPartnerId"/>
<copy target="$out.property.b2b.fromTradingPartnerIdType"
value="$in.property.b2b.fromTradingPartnerIdType"/>
<copy target="$out.property.b2b.toTradingPartnerId"
value="$in.property.b2b.toTradingPartnerId"/>
<copy target="$out.property.b2b.toTradingPartnerIdType"
value="$in.property.b2b.toTradingPartnerIdType"/>
*<copy target="$out.property.jca.jms.JMSProperty.conversationId"*
value="$in.property.b2b.conversationId"/> <copy target="$out.property.jca.jms.JMSProperty.documentDefinitionName"
value="$in.property.b2b.documentDefinitionName"/>
<copy target="$out.property.jca.jms.JMSProperty.documentProtocolName"
value="$in.property.b2b.documentProtocolName"/>
<copy target="$out.property.jca.jms.JMSProperty.documentProtocolVersion"
value="$in.property.b2b.documentProtocolVersion"/>
<copy target="$out.property.jca.jms.JMSProperty.documentTypeName"
value="$in.property.b2b.documentTypeName"/>
<copy target="$out.property.jca.jms.JMSProperty.fromTradingPartnerId"
value="$in.property.b2b.fromTradingPartnerId"/>
<copy target="$out.property.jca.jms.JMSProperty.fromTradingPartnerIdType"
value="$in.property.b2b.fromTradingPartnerIdType"/>
<copy target="$out.property.jca.jms.JMSProperty.toTradingPartnerId"
value="$in.property.b2b.toTradingPartnerId"/>
<copy target="$out.property.jca.jms.JMSProperty.toTradingPartnerIdType"
value="$in.property.b2b.toTradingPartnerIdType"/>
</assign>
<invoke reference="A03QueueWFeedToJMS" operation="Produce_Message"/>
</action>
</case>
</switch>
</operation>
</Mediator>
The runtime will see something like:
[2010-09-09T11:48:06.353+10:00] [AdminServer] [TRACE] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@60ddbc76] [userId: weblogic] [ecid: 0000Ifo9olH2zGWjLxmJOA1CY0sg0001jY,0] [SRC_CLASS: oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl] [APP: soa-infra] [dcid: 02d1ff4621073810:26418f01:12af379c141:-7fd3-0000000000000219] [SRC_METHOD: log] Jms Adapter A03QueueWFeed:A03QueueWFeedToJMS [ Produce_Message_ptt::Produce_Message(body) ] XMLHelper_convertJmsMessageHeadersAndPropertiesToXML: <JMSInboundHeadersAndProperties xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/">[[
<JMSInboundHeaders>
<JMSCorrelationID></JMSCorrelationID>
<JMSDeliveryMode>2</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSMessageID>ID:<911867.1283996886119.0></JMSMessageID>
<JMSPriority>4</JMSPriority>
<JMSRedelivered>false</JMSRedelivered>
<JMSType></JMSType>
<JMSTimestamp>1283996886119</JMSTimestamp>
</JMSInboundHeaders>
<JMSInboundProperties>
<Property name="documentProtocolVersion" value="2.3"/>
<Property name="toTradingPartnerIdType" value="Name"/>
*<Property name="conversationId" value="C0A83C0712AF42D840E0000074BA3CCC"/>* <Property name="documentTypeName" value="ADT"/>
<Property name="tracking_conversationId" value="C0A83C0712AF42D866F0000074BA3CD9"/>
<Property name="tracking_ecid" value="C0A83C0712AF42D866F0000074BA3CDA"/>
<Property name="tracking_compositeInstanceId" value="60019"/>
<Property name="documentProtocolName" value="HL7"/>
<Property name="documentDefinitionName" value="QH_ADT_Generic"/>
<Property name="tracking_parentComponentInstanceId" value="mediator:45E076D0BBB411DFAF05817F5F0DD1A1"/>
<Property name="fromTradingPartnerIdType" value="Name"/>
<Property name="fromTradingPartnerId" value="HOMER"/>
<Property name="toTradingPartnerId" value="Self"/>
<Property name="JMSXDeliveryCount" type="integer" value="1"/>
</JMSInboundProperties>
</JMSInboundHeadersAndProperties>
Edited by: Michael.Czapski on 8/09/2010 18:58
Maybe you are looking for
-
Hello, Using the JNI I successfully call CreateJavaVM() and then close the VM after uning it with a call to DestroyJavaVM(). The problem is that after doing so if I want to call CreateJavaVM() again at some point in the same program it fails returnin
-
I realy do not know what to do!!!!
-
When I click Itunes on my ip4s, it links to Itunes U, and it can't reach Itunes Store,neither can see any music. Can any pro guys help me out with my highly appreciation!!!!
-
Copy items to the iPhoto library selection doesn't work?
Hello, I'm new to OS X, and new to Macs in general, so this may be a n00b question . . . In iPhoto '11 (9.5, 902.7), I have cleared the "Copy items to the iPhoto library" entry in Preferences, then imported all my photos. However, the size of the iPh
-
Urgent... LSMW ..for tcode CR01...
Hi.. In LSMW ..for tcode CR01...while creating work center....'m not able to populate the data in KOSTL ( cost center ) field... Please help... Thanks Rudresh