How to use Microsoft DateTime Picker ActiveX control in Forms 6i?
Does anyone have idea on how to use Microsoft Date-Time Picker ActiveX component in Forms 6i? Please give me coding examples for using this control to retrieve & store date at the backend.
Regards
when u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
im also check the same it is working
sorry i saw it on design time
kansih
Edited by: Kanish on Apr 28, 2009 2:54 AM
Similar Messages
-
How can I install Microsoft Remote Desktop ActiveX Control
I am trying to connect to my pc at work from home. This is the message I get.
This portion of the Remote Web Workplace requires the Microsoft Remote Desktop ActiveX Control. Your browser's security settings may be preventing you from downloading ActiveX controls. Adjust these settings, and try to connect again.
I have looked through all the add-ons available and can't find it to add on. Nor can I find a relevant security setting to change.
I am running firefox 28.0 on Windows 7 Professional.ActiveX controls are specific to Internet Explorer.
* https://en.wikipedia.org/wiki/ActiveX
You can try opening Internet Explorer inside a Firefox tab with the following add-on.
* https://addons.mozilla.org/firefox/addon/ie-tab-2-ff-36/ -
How to use radioButton(s) and image controls on windows phone 8.1
how to use radioButton(s) and image controls on windows phone 8.1
Hi aspirantme,
>>how to use radioButton(s) and image controls on windows phone 8.1
Which version of your app is? Runtime or Silverlight?
For Runtime version, please see the following articles:
#RadioButton class
https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.radiobutton(v=win.10).aspx
#How to add radio buttons (XAML)
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868200.aspx
#Image class
https://msdn.microsoft.com/library/windows/apps/br242752.aspx
For Silverlight version, please refer to the following documents and guidelines:
#RadioButton Class
https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.controls.radiobutton(v=vs.105).aspx
#RadioButton control design guidelines for Windows Phone
https://msdn.microsoft.com/en-us/library/windows/apps/hh202881(v=vs.105).aspx
#Image Class
https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.controls.image(v=vs.105).aspx
#Quickstart: Images for Windows Phone
https://msdn.microsoft.com/en-us/library/windows/apps/jj206957(v=vs.105).aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Using activex control in forms 6i
hi all,
I want to use activex control in my form. (e.g Spreadsheet.11) . how to set the cell property (value,colour,border etc..)
i have created activex control in form and imported ole libraries, run time i am able to see the control .Ii want to set cell properties . any suggestion/help/code greatly appreciatedwhen u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
im also check the same it is working
sorry i saw it on design time
kansih
Edited by: Kanish on Apr 28, 2009 2:54 AM -
Color palette problems using Toolbar and ImageList ActiveX Controls
I'm using Toolbar and ImageList ActiveX controls to implement toolbar functionality in a top-level VI.
I designed the icons used in the toolbar with a 256 color palette. When I initially added the icon images to the ImageList control and ran the VI, the icons were properly displayed in the toolbar, as expected. After saving VI, exiting LabVIEW, and reloading, it appears that a different palette has been applied to the images in the ImageList control. I'm attaching a screenshot of the problem as well.
Has anyone encountered this type of problem before? Any suggestions you provide will be greatly appreciated.
Thanks,
Zach
Software Engineer
OnWafer Technologies, Inc.
www.onwafer.com
Attachments:
icon.zip 3 KBI'm using Toolbar and ImageList ActiveX controls to implement toolbar functionality in a top-level VI.
I designed the icons used in the toolbar with a 256 color palette. When I initially added the icon images to the ImageList control and ran the VI, the icons were properly displayed in the toolbar, as expected. After saving VI, exiting LabVIEW, and reloading, it appears that a different palette has been applied to the images in the ImageList control. I'm attaching a screenshot of the problem as well.
Has anyone encountered this type of problem before? Any suggestions you provide will be greatly appreciated.
Thanks,
Zach
Software Engineer
OnWafer Technologies, Inc.
www.onwafer.com
Attachments:
icon.zip 3 KB -
How to use Draw documnet wizar to a user form?
Hi all,
I have created one form with matrix.I want to get a copy of sales quotation's data in my form. How to get through coding.
(How to use Draw document wizard through coding)
My form using UDO.Just like In my form i have created one button .If i click that button the list of sales quotations for the particular cutomer has to be displayed.
From that i have to select one quotation,that data has to be filled in my form.
Please help me.How to do that?
What is the menu ID for Draw document wizard.If i get that how can i link it with the my form having datas using UDO.
Please help me to solve this problem
Regards
V.RangarajanHi,
If you want to search for a specific menu ID you only have to activate the "System Information" with the B1 menu View -> System Information. After that when you use the Menus in the top of B1 application (all menus included the same ones as in the Modules form) you will be able to ee the MenuIDs in the bottom of B1 application.
If you want to open a document form with information inside it I will say to better create a grid with the list of documents you want to show everytime (please have a look to UI API Grid item in help file, there is also a sample in the SDK UI samples) and make one of the columns a LinkButton, when the user will click in the link button the document form will open automatically. You have also many posts talking about how to create a link button in a grid, please use the search capabitility of this forum.
Hope it helps
Trinidad. -
How to use multiple table in single control file?
Hi,
How to use multiple table and data file in sigle control file? I have a four table and four csv file i mean data file for that. I am running concurrent program to load the data from csv file to custom table. based on my input data file name, it has to take automatically from one control file.
Can anyone share with me how can i acheive this?
ThanksHi,
Can't we acehive like below. I don't this exactly corrcect.
OPTIONS (SKIP=1)
LOAD DATA
INFILE << file name 1 >>
APPEND INTO TABLE XXCZ_VA_SAMPLE1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
PARENT_ITEM "TRIM(BOTH FROM :PARENT_ITEM)"
LOAD DATA
INFILE << file name 2 >>
APPEND INTO TABLE XXCZ_VA_SAMPLE2
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
ITEM_NUMBER "TRIM(BOTH FROM :ITEM_NUMBER)"
)Edited by: orasuriya on Sep 14, 2009 3:03 AM -
How to use SetRotate with a AcroPDF control and VB6?
I'm creating a program in VB6 that has an Adobe Reader control (using AcroPDF.dll version 9.0) on the form that allows the user to open and view PDF files and I need to know how to use the SetRotate command programmatically to set the view of the PDF to a different angle (the view angle, like 90, 180 degrees, etc.).
According to the API reference, you use AcroPDPage.SetRotate but some how I need to tell it which control to apply it to and that is what I don't understand. If I just create a new instance of AcroPDPage and try the SetRotate or even GetRotate it gives me a 'object variable not set' error, which I understand since PDPage is supposed to be part of another object (such as a view control of some sort).
My question is, how do I get or create a AcroPDPage object that is part of the AcroPDF control on the form so that I can use GetRotate and SetRotate methods and apply it to the PDF view control (AcroPDF)? Although this is the prefered method of solving this problem, I guess if I could just get the AcroPDF control to show the view menu, that would be good enough.
I'm using the AcroPDF.dll version 9.0 and have Adobe Reader 9.0 installed on a XP SP3 machine. Again, I'm writing this program in VB6.
As you can probably tell, I'm fairly new to programming, especially using references to other program components like Adobe Reader.
Any help is appreciated, thanks.Set1 = ...
Set2 = ...
Set1.addAll(Set2);
addAll(Collection<? extends E> c)
Adds all of the elements in the specified collection to this set if they're not already present (optional operation). If the specified collection is also a set, the addAll operation effectively modifies this set so that its value is the union of the two sets. The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress. -
Using activex control in forms 6i(OWC11.Spreadsheet.11 control)
Hi all,
I want to use activex control OWC11.Spreadsheet.11 in forms6i
does any one used this component in form6i ?
any help/suggestions would appreciatedwhen u load activex (spreedsheet) the corresponting menu also u can see when u run through which also you can set the attribute values
im also check the same it is working
sorry i saw it on design time
kansih
Edited by: Kanish on Apr 28, 2009 2:54 AM -
How to use Microsoft Word's Find and Replace with HTML tags?
Hello to all!
I'm trying to figure out how to use the find and replace function in Word to replace html tags. I'd like to be able to change something like this:
<span class="B01-K-ITAL">random text</span>
To something like this:
<em>random text</em>
I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly.
Anyone able to lend a hand?Here is my latest regular expression with Perl. I think it matches the spirit of the request in the original post.
Note, this isn't as easy as you think. You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.
perl -0660pe 's^<[sS][pP][aA][nN]\s+class="B01-K-ITAL"\s*>(.*?)</[sS][pP][aA][nN]>^<em>$1</em>^gs' i.html >|o.html
input text
<html> <head>...</head> <body>I'd like to be able to change something like this: <span class="B01-K-ITAL">#1 one line</span> I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly. <p>note, this isn't as easy as you think. You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.</p> <span class="B01-K-ITAL">#2 don't be greedy</span> <span class="B01-K-ITAL">$3 multiline text</span> <span class="B01-K-ITAL">#4 multiline tag. I believe html allow a carriage return in white space of tags</span> <span class="B01-K-ITAL">#5 split after the class tag. optional white space</span> <sPan class="B01-K-ITAL">#6 mixed case tag</Span> <p>no text #7</p><span class="B01-K-ITAL"></span> <!-- Apparently, this is valid http://www.positioniseverything.net/articles/cc-plus.html --> <!--[if IE]> <div id="IEroot"> <![endif]--> <p id="IE">This browser is IE.</p> <p id="notIE">This browser is not IE.</p><!--[if IE]> </div> <![endif]--></body> </html>
output text
<html> <head>...</head> <body>I'd like to be able to change something like this: <em>#1 one line</em> I want to replace the open and close tags without changing or interfering with the text between the tags. I'm pretty sure I should use wildcards, but I can't figure out how to use them properly. <p>note, this isn't as easy as you think. You need to code up the complete set of html rules in you implementation. You need to allow for a certain amount of mal-formed html.</p> <em>#2 don't be greedy</em> <em>$3 multiline text</em> <em>#4 multiline tag. I believe html allow a carriage return in white space of tags</em> <em>#5 split after the class tag. optional white space</em> <em>#6 mixed case tag</em> <p>no text #7</p><em></em> <!-- Apparently, this is valid http://www.positioniseverything.net/articles/cc-plus.html --> <!--[if IE]> <div id="IEroot"> <![endif]--> <p id="IE">This browser is IE.</p> <p id="notIE">This browser is not IE.</p><!--[if IE]> </div> <![endif]--></body> </html> -
How to use single element as both control as well as indicator in labview
Hi All,
I need to use single element for both control and as an indicator.
I need not want to use its value property os shift register.Hi pmg,
I think this thread will be helpful to you.
http://forums.ni.com/t5/LabVIEW/Using-a-control-as-both-an-indicator-and-control/td-p/1113158
Thanks as kudos only -
How to use Ajax Get Multiple Values in Tabular form?
Hi All-
I am trying to use AJAX to get multiple values in tabular form by using Denes Kubicek's example in the following link -
http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606::NO:::
Basically, I want to use the drop down list to populate rest of the values on the form.
I have created the example(Ajax Get Multiple Values, application 54522) on Oracle site -
http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
Workspace: iConnect
login: demo
password: demo
I was able to duplicate his example on page 1 (home page).
However, I want to use system generate tabular form to finish this example, and was not able to populate the data correctly.
Page 2 (method 2) is the one that I am having trouble to populate the column values. When I checked application item values in Session, and the values seems to be populated correctly.
This is what I have done on this page:
1. Create an Application Process On Demand - Set_Multi_Items_Tabular2:
DECLARE
v_subject my_book_store.subject%TYPE;
v_price my_book_store.price%TYPE;
v_author my_book_store.author%TYPE;
v_qty NUMBER;
CURSOR cur_c
IS
SELECT subject, price, author, 1 qty
FROM my_book_store
WHERE book_id = :temporary_application_item2;
BEGIN
FOR c IN cur_c
LOOP
v_subject := c.subject;
v_price := c.price;
v_author := c.author;
v_qty := c.qty;
END LOOP;
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<body>');
HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
HTP.prn ('</body>');
END;
2. Create two application items - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2
3. Put the following in the Page Header:
<script language="JavaScript" type="text/javascript">
function f_set_multi_items_tabular2(pValue, pRow){
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
if(pValue){
get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
get.add('T_ROWNUM2',pRow)
}else{
get.add('TEMPORARY_APPLICATION_ITEM2','null')
gReturn = get.get('XML');
if(gReturn){
var l_Count = gReturn.getElementsByTagName("item").length;
for(var i = 0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
var l_ID = l_Opt_Xml.getAttribute('id');
var l_El = html_GetElement(l_ID);
if(l_Opt_Xml.firstChild){
var l_Value = l_Opt_Xml.firstChild.nodeValue;
}else{
var l_Value = '';
if(l_El){
if(l_El.tagName == 'INPUT'){
l_El.value = l_Value;
}else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
l_El.parentNode.innerHTML = l_Value;
l_El.parentNode.id = l_ID;
}else{
l_El.innerHTML = l_Value;
get = null;
</script>
Add the follwing to the end of the above JavaScript:
<script language="JavaScript" type="text/javascript">
function setLOV(filter, list2)
var s = filter.id;
var item = s.substring(3,8);
var field2 = list2 + item;
f_set_multi_items_tabular2(filter, field2);
4. Tabular form query:
select
"BOOK_ID",
"BOOK",
"SUBJECT",
"PRICE",
"AUTHOR",
"QTY",
"BOOK_ID" BOOK_ID_DISPLAY
from "#OWNER#"."MY_BOOK_STORE"
5. In Book_ID_DISPLAY column attribute:
Add the following code to element attributes: onchange="javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#');"
Changed to -> onchange="javascript:setLOV(this,'f03');"
Now, T_ROWNUM2 returns value as f03_0001. But, TEMPORARY_APPLICATION_ITEM2 returns as [object HTMLSelectElement]...
Please help me to see how I can populate the data with this tabular form format. Thanks a lot in advanced!!!
Ling
Updated code in Red..Ling
Lets start with looking at what the javascript code is doing.
function f_set_multi_items_tabular(pValue, pRow){
/*This will initiate the url for the demand process to run*/
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
if(pValue){
/*If there is an value than submit item name with value*/
get.add('TEMPORARY_APPLICATION_ITEM',pValue)
get.add('T_ROWNUM',pRow)
}else{
/*Else set the item TEMPORARY_APPLICATION_ITEM to null*/
get.add('TEMPORARY_APPLICATION_ITEM','null')
/*Submit the url and te returned document is of type XML*/
gReturn = get.get('XML');
if(gReturn){
/*There is something returned*/
var l_Count = gReturn.getElementsByTagName("item").length;
/*For all elements of the tag item*/
for(var i = 0;i<l_Count;i++){
/*Get the item out of the XML*/
var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
/*Get the id of the item*/
var l_ID = l_Opt_Xml.getAttribute('id');
/*Get the element in the original page with the same id as
**the item we have in the XML produced by the ondemand process
var l_El = html_GetElement(l_ID);
/*Now get the value of the item form the XML*/
if(l_Opt_Xml.firstChild){
var l_Value = l_Opt_Xml.firstChild.nodeValue;
}else{
/*There is no value*/
var l_Value = '';
if(l_El){
/*There is an element with the same id as the item we are processing*/
if(l_El.tagName == 'INPUT'){
/*The element is an input item just set the value*/
l_El.value = l_Value;
}else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
/*If it is a span elment and has the class grabber
**Then set the innerHTML of the parent to the value
**and the id of the parent to the id
l_El.parentNode.innerHTML = l_Value;
l_El.parentNode.id = l_ID;
}else{
/*Else set the value as innerHTML*/
l_El.innerHTML = l_Value;
get = null;
Now where it went wrong in your initial post
The XML that was returned by your XML process would be something like
<body>
<desc>this xml genericly sets multiple items</desc>
<item id="f02_1">CSS Mastery</item>
<item id="f03_1">22</item>
<item id="f04_1">Andy Budd</item>
<item id="f05_1">1</item>
</body>
When you don't use apex_item to create your tabular form a item in the table will look like
<input id="f02_0001" type="text" value="CSS Mastery" maxlength="2000" size="16" name="f05" autocomplete="off">
Notice the id's f02_1 and f02_0001 don't match.
So to make it work the XML would have to look like
<body>
<desc>this xml genericly sets multiple items</desc>
<item id="f02_0001">CSS Mastery</item>
<item id="f03_0001">22</item>
<item id="f04_0001">Andy Budd</item>
<item id="f05_0001">1</item>
</body>
To do that simply use lpad in the ondemand process like
HTP.prn ('<item id="f02_' || lpad(:t_rownum,4,'0') || '">' || v_subject || '</item>');
HTP.prn ('<item id="f03_' || lpad(:t_rownum,4,'0') || '">' || v_price || '</item>');
HTP.prn ('<item id="f04_' || lpad(:t_rownum,4,'0') || '">' || v_author || '</item>');
HTP.prn ('<item id="f05_' || lpad(:t_rownum,4,'0') || '">' || v_qty || '</item>');
Keep in mind that the above is based on your original post and #ROWNUM# not being lpadded with zero's.
Nicolette -
How to use add row button of a tabuler form.
Hi all,
I have created a Tabuler form in my application.Could you please tell me 'How can i use the add row button of this form' as When i click the button "NOTHING HAPPENS".
Thanks
Regards,
NehaHi,
If you edit the button, the button name has to be 'ADD'. You can make the text / label whatever you like. On the form edit page, the button should appear with this text next to it: submit as "ADD".
HTH -
How to use advanced PL/SQL concepts in oracle forms/reports
Hi all,
Can any one suggest me how to use the advanced PL/SQL Concepts(nested tables,PAA,Varrays,Objects...) in Oracle forms.
Actually i Created a Table having column of Varray datatype. now i want to create a item in oracle forms on this field. can any one suggest me the way to do this.
Thanks,
KumarHello,
Have a look at this one:
http://sheikyerbouti.developpez.com/tutoforms10g/tutoforms10g.htm
particularly the chapter about block that contain a collection (2.3.3). The sample is built around a nested table but you have the idea to adapt it to work with a varray.
Kind regards,
Alex
If someone's answer is helpful or correct please mark it accordingly. -
How to use one boolean button to control many boolean buttons?
I would like to create a LabView control interface with boolean buttons.
As my attachment picture shown, there are four boolean buttons.
The button1 is the main power, if I press ON button1, other three
buttons also turned to ON at the same time.
How do I build up the LabView program in the block diagram?
What should I do???
Attachments:
booleans.bmp 722 KBControls and indicators function as variables. In a text based language, you could just write the name of the variable again. In LV, since each control only has one terminal, you need local variables to do this. To create a local variable, right click on the control and from the popup menu select Create>>Local Variable. You can have a local as read or write. Create a local for each of the buttons and wire the data coming out of the first button into the locals.
There is something that is very important to understand here - when you use locals, you can disrupt the dataflow nature of LV and create race conditions. For example - if, after fixing your code, you were to click on one of the buttons, to set it to F, it would immediately be set back to T by the running code. This can be very dangerous. Also, I see you're using the continuous run mode. You should use a loop instead. Try looking for some LV by searching google for "Labview tutorials. Also, here's one you can start with.
Try to take over the world!
Maybe you are looking for
-
Public user sees old content of items in content area/portlets
I have items in my Content Area, as pl/sql folders, text and pl/sql items. These are all published as portlets. Access is set to public. The content of these items have been altered a couple of times during development, and they work as they should w
-
Third party tool for burning MP3 CDs?
Hi, Are there any third party tools for burning MP3 CDs from an iTunes library? The iTunes functionality is not sufficient for me for two reasons: *) I have ALAC files in my library and iTunes won't convert them for putting them on the CD. I know I c
-
My iphone 5 just stopped working
My Iphone 5 just stopped working this morning. Worked fine last night, put it on the charger and now it does not come on.
-
I am running 9ias release 2. When I start the http server from the OEM WEB interface the httpd server is started as root. I would like the httpd binary to come up as the user oracle and not root. The httpd binary is has the following permissions: -rw
-
Difference between compatible.rdbms in asm and compatible parameter in database
Hi Gurus, Here i have small doubt. What is the difference between compatible.rdbms and compatible parameter in database. We are having 2 node rac on solaris. When i checked at ASM instance level i found compatible.rdbms is set to 10.1.0.0.0 and compa