How to create a dialog for use by an Excel AddIn?
I know the basics of Excel AddIns, but have no idea how to design, implement and later display an internal dialog.
The "Smart Quote Paste" function below is done, and it does not need any parameters. The function corresponding to the "New Project" button, however, needs to create a number of spreadsheets, provided by the user.
TIA.
Hello Travis,
For example:
const string message =
"Are you sure that you would like to close the form?";
const string caption = "Form Closing";
var result = MessageBox.Show(message, caption,
MessageBoxButtons.YesNo,
MessageBoxIcon.Question);
// If the no button was pressed ...
if (result == DialogResult.No)
// cancel the closure of the form.
e.Cancel = true;
If you want to customize it on your own, you can add a new Windows Form to the project and then add the required controls. After creating an instance of the form in the code you may show it using the Show or ShowDialog methods.
Similar Messages
-
How to create SDA file for using AXIS Framework in the SOAP Adapter
Hi experts,
I have the following question:
How I can create the SDA file aii_af_axisprovider.sda for using the AXIS Framework in the SOAP Adpater described in http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm ?
I have downloaded the files axis.jar, commons-discovery-0.2.jar, commons-logging-1.0.4.jar, commons-net-1.0.0-dev.jar and wsdl4j-1.5.1.jar. But how to create the SDA file aii_af_axisprovider.sda? Which tool I have to use for this? It is enough to compress these 5 jar-files in the sda file or need I further files with further information (meta information etc.)?
Thanks and best regards
ChristopherHi Christopher,
Check this discussion if you have not checked already.
Re: NTLM Authentication dosent work with XI ?
Regards,
Ravi -
How to create a BOM for use in purchasing
Hello Experts
We are a University, and I have been asked to create something similar to a bill of material for using on a purchase order.
We purchase light bulbs from a supplier, but each bulb also incurs a 15p disposal charge and this charge has to be shown as a separate line item on the purchase order. So we want to create a material that when used pulls through an additional line for the disposal charge. Also the light bulbs are held in stock and are issued out to departments, therefore the cost of the light bulb and disposal charge must be charged out too.
ThanksHI,
Bills of material are best used when there are components that are relevant. They CAN be used for things like you mention here but I am not sure that it will help your business requirements.
I would suggest that you consider adding the charge as a new pricing condition.
That way the total cost of the item will be the price plus the disposal charge. If you use a separate line on the PO the cost of the disposal will not be connected to the cost of the bulb and so when you issue any they will use the cost without the disposal charge.
SO I would create an info record and enter the details of the price and then add in a surcharge condition type (for the disposal cost).
That ay whenever you order these bulbs from this vendor, the system will propose the cost including the disposal cost.
Steve B -
iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad? If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account. I've seen reference to the "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app. I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for. I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air. Any help would be greatly appreciated.
If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.
-
How to create Presentation variable for columns and to use it in Narrative?
Hi All,
Anybody know how to create presentation variable for a column (i.e., i need to create it in edit formula section itself). And then, I should use it in Narrative section to display that column value. Is it possible? Or do i need to use any other variable for this requirement? If so please let me know, how to create it? This is very urgent requirement.
Thanks in Advance
ThenmozhiHi Satya,
I just want to create a table that should horizontally display the values like below:
SUID Tag # :123456 Year Mfg: 2007
Description: computer corporation FA ID#: 4576
Model Number: 4569 hESC: #ert
Serial Number: 78945 Flags: c
Department: Hematology
User: thenmozhi
Database: OLAP
I think we can create this type of report using either Narrative or Static Text. But I am not sure whether it is possible or not? And also another thing is that sectioning is applied for SUID Tag # column. So, depending on the dashboard prompt if the SUID Tag # retrieves two or more values.
Then the first value for example 123456 and the values for the other columns related to this SUID Tag # value should display in the first page (i.e., page 1). And if the next value of the SUID Tag # for example say 678901 then the values should move to second page that is like this:
SUID Tag # :678901 Year Mfg: 2008
Description: Computer Manufacturing FA ID#: 4577
Model Number: 4570 hESC: #eth
Serial Number: 78946 Flags: G
Department: Hematology
User: Rehman
Database: OLAP
Thanks
Thenmozhi -
How to create an instance for RemoteSession without using create() method
How to create an instance for RemoteSession without using create() method?
What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?
-
How to create transport request for standard text created using SO10.
Hi,
How to create transport request for standard text created using SO10?
Regards
Ramakrishna LHi,
For the Standard text created in SO10,
please go to transaction SE78 -> FORM GRAPHICS->STORED AS TEXT->STANDARD TEXTS->
Double click on ADRS or ST or what ever your type of text->
Enter your standard text name
Click on transport button->SHIFT+f6-> It will ask you for a transport request.
Best regards,
Siva -
how to create apple id for mac app store without using credit card and there is no any option for payment none. please tell how to download free apps from mac app store
my problem solve by me
first create apple id
fill credit card details
and complete your account creating process.
than go to app store or itune store
login your acount
click right side - account button
than again login for account setting
next go to payment information and click edit button
when u enter payment infomation
click none button in payment method and click done button.
than ur credit card has been removed.
but rs. 60 will deducted in your account when u doing this process. -
How to create volume slider for flash cs 5 using action script 2.0?
how to create volume slider for flash cs 5 using action script 2.0?the output should like if user want to hear sound in slow pitch,medium pitch or high pitch(slow to high pitch anything).i have attach this sound to button with using this code:
stop();
mySoundBtn.onRelease = function () {
mySoundC = new Sound(this);
mySoundC.attachSound("mySoundClip");
mySoundC.start(0, 10); //10 represents the number of loops
gotoAndPlay(2);
This sound plays till 3-4 scene ahead.
Can anyone help me?Hey thnx Ned.
this sites are really helpful.but,i have used sound through button.so how it is possible to attavh the link with slider.i have created slider also.
Below is my slider code for sound.
onClipEvent (load) {
mySound1 = new Sound();
mySound1.loadSound((myScale)+"/"+(myTanpura)+"/"+(myTanpuraSwar)+"/"+(myTanpuraTempo)+".w av", true);
mySound1.onSoundComplete = function() {
mySound1.start();
mySound1.start(0.058,999);
onClipEvent (enterFrame) {
downloaded = mySound1.getBytesLoaded();
total = mySound1.getBytesTotal();
if (downloaded != total) {
_root.dl = "You have to buy this software...";
} else {
complete = 1;
_root.dl = "";
mySound1.setVolume(ratio * 2);
This code is working for slider.I mean it scrolls the slider.but it dosent make any effect to sound.
Below is my button code.
stop();
mySoundBtn4.onRelease = function () {
mySoundC = new Sound(this);
mySoundC.attachSound("mySoundClip4");
mySoundC.start(0, 300); //10 represents the number of loops
gotoAndPlay("play1");
this is on button's frame.not exactly on button.
Button and Slider both are on diffrent scene.
Can you plese help me out? -
How to create an Invoice for the sales order using the T-Code VF01
Hello Experts,
How to create an Invoice for a sales order using the T-Code VF01?
Thanks in advace,
Sumahi,
Make the following settings-
1. Create sales document and billing type
2. assign billing type in sales document type config VOV8
3. Activate itemcategory as sales order related billing
4. Maintain copy control header and item level between sales order and billing
5. Maintain pricing procedure for sales order and billing
6. Define Output procedure in case to print invoice
Regards
Goutham -
How to create an dialog "SAPoffice express info" in ABAP?
Hi all,
We would like to create a dialog "SAPoffice express info" to remind the relevant user that he must immediately check his new SAP mail in inbox.
We see SAP system sometimes send a dialog "SAPoffice express inof" for this same purpose. For example:
"Express document "Cannot be sent: Send Mail from ABAP Program." received from author "SAPUSER"".
So we would like to create a dialog "SAPoffice express info" for our cas.
If anyone know how to create a dialog "SAPoffice express info" in ABAP, please help us?
Thanks a lot,
Vinh voTry with function module SO_NEW_DOCUMENT_SEND_API1. using this you can send express message to sap office.
RECEIVERS-REC_TYPE = 'B'
RECEIVERS-REC_ID = (user id) " SAP user id for whom you want to send
RECEIVERS-EXPRESS 'X'
a® -
How to create custom infotype for training and event management
hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
PS No PA0000-> PERNR
Name - PA0001 -> ENAME
IS PS.No. PA0001-> PS no. of Immediate Superior
IS name PA0001 -> ENAME
thanx in advance
afzalHi,
Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
If you wish to create a PD infotype, use transaction PPCI to create the infotype.
But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
If you wish to create a PA infotype, use transaction PM01 to create the infotype.
But before that you may be required to create a strcuture PSnnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
Regards,
Srini -
How to create a substitute for requester in SRM 7.0
Hi,
do you know how to create a substitute for requester?
we have groups of 2 people and we want that they can see and edit shopping carts one of each other. Do you know how is it possible? it will be necessary for all SCs.
Thanks.
Regards,
NelsonYou can use the "Team Cart" feature introduced in SRM 7 for your requirement.
Take a look at this wiki page for more information http://wiki.sdn.sap.com/wiki/display/SRM/Team+purchasing
Edited by: Jay Yang on Mar 31, 2011 10:47 AM -
How to create the sales order using BAPI's ....?
Hi Guru's,
could you please provide how to create the sales order using BAPI's .....i need step by step process and please provide the details from scratch....basically i don't have basic knowledge on this....please provide required inputs ....:)
thanks in advance
Srinivas......Hi Guru's thanks for your inouts and your valuble time...
please find the program logic below...
*& Report ZAREPAS30
REPORT zarepas30.
DATA : gs_vbeln TYPE vbak-vbeln,
gs_order_header_in TYPE bapisdhd1,
gs_order_header_inx TYPE bapisdhd1x,
gt_order_items_in TYPE STANDARD TABLE OF bapisditm,
gwa_itab1 TYPE bapisditm,
gt_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
gwa_itab2 TYPE bapisditmx,
gt_order_partners TYPE STANDARD TABLE OF bapiparnr,
gwa_itab3 TYPE bapiparnr,
gt_return TYPE STANDARD TABLE OF bapiret2,
gwa_itab4 TYPE bapiret2.
Sales document type
PARAMETERS: p_auart TYPE auart OBLIGATORY.
Sales organization
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
Distribution channel
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
Division.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
Requested Delivery Date
PARAMETERS: p_edatu TYPE edatu OBLIGATORY.
Sold-to
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
Ship-to
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
Material
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
Quantity.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
Plant
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
gs_order_header_in-doc_type = p_auart.
gs_order_header_inx-doc_type = 'X'.
Sales organization
gs_order_header_in-sales_org = p_vkorg.
gs_order_header_inx-sales_org = 'X'.
Distribution channel
gs_order_header_in-distr_chan = p_vtweg.
gs_order_header_inx-distr_chan = 'X'.
Division
gs_order_header_in-division = p_spart.
gs_order_header_inx-division = 'X'.
Reguested Delivery Date
gs_order_header_in-req_date_h = p_edatu.
gs_order_header_inx-req_date_h = 'X'.
gs_order_header_inx-updateflag = 'I'.
Partner data
Sold to
gwa_itab3-partn_role = 'AG'.
gwa_itab3-partn_numb = p_sold.
APPEND gwa_itab3 TO gt_order_partners .
ship to
gwa_itab3-partn_role = 'WE'.
gwa_itab3-partn_numb = p_ship.
APPEND gwa_itab3 TO gt_order_partners .
ITEM DATA
gwa_itab2-updateflag = 'I'.
Line item number.
gwa_itab1-itm_number = '000010'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
Line item number.
gwa_itab1-itm_number = '000020'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = gs_order_header_in
ORDER_HEADER_INX = gs_order_header_inx
IMPORTING
SALESDOCUMENT = gs_vbeln
tables
RETURN = gt_return
ORDER_ITEMS_IN = gt_order_items_in
ORDER_ITEMS_INX = gt_order_items_inx
order_partners = gt_order_partners.
Check the return table.
LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error occured while creating sales order '.
ELSE.
Commit the work.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Document ', gs_vbeln, ' created'.
ENDIF. -
How to create business operation for starting workflows
How to create business operation for starting workflows from worklist?
When I call methods that implements business operation from java class everything
works fine(wlpi-ejb.jar is required), but when I call business operation from
Studio I can't use classes from wlpi-ejb.jar.Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
"Andrew Pitonyak" <[email protected]> wrote:
>
When studio starts, what is your classpath? If you use the included batch
file to start it, then your class path may not include this :-)
Andrew
"Raul" <[email protected]> wrote in message
news:[email protected]..
How to create business operation for starting workflows from worklist?
When I call methods that implements business operation from java classeverything
works fine(wlpi-ejb.jar is required), but when I call business operationfrom
Studio I can't use classes from wlpi-ejb.jar.
Maybe you are looking for
-
Automatic creation of PO from shipment cost document
Dear Experts PLease let me know the settings with description to understand for the creation of PO from shipment cost document. It seems inegration with FI is also needed. Request your explanation with the settings in SPRO Thanks Ganesh
-
I have a 2006 iMac that I've upgraded to each new os as they came out. I just wiped it (for the kids to use, I have a new iMac with Mavericks) and reintalled Tiger from the original discs. I want to get it back to Lion - which I purchased from the
-
Macbook Pro - Can't Repair Disk, but I Want to Take Files Off It?
Hi everyone So I have my Macbook Pro here. It won't turn on. I have had it in a drawer for a couple of months now, as I got a new computer and just now realized I had a bunch of pictures on there that I wanted to move over to my new laptop. Whenver I
-
Link Button in Predefined Screen
Hai Friends, I want to customize PO screen.There is added one tab named Terms and Conditions. On tht tab i had one matrix. Using CFL iam filling this Matrix. Now my aim is that in first column i want linkbutton. how to do that?? Does anyon
-
Hey Everyone! Does anyone know any code so that i can filter by year in the blog feature in business catalyst? right now i can only do it by month. Help fast would be greatly appreaciated! Thanks! James