How create a MessageBox?
Hallo,
I can't find the class is needed to create a MessageBox.
Waiting for answers.
greetz Stefan
Thanx for the last entry, it was very useful.
There is only one problem with the code:
msgPane.showMessageDialog(Component,"this is a message");
this entry generates the following fault:
"Generator.java": Fehler #: 300 : Variable Component nicht gefunden in Klasse scriptgenerator.Generator in Zeile 131, Spalte 35
If I define an object of the class Component i get the message that this one is abstract.Do you know what to do in this case cause I'm a greenhorn programming java.
Similar Messages
-
How Create procedure or function with ADO ?
Hello,
How Create procedure or function with ADO?It's my question.
Thanks.
HenriThis message if post by Taiwan-ChangHaw-Oracle-Stored-Procedure-For-Business-Rule-Club
public bool ConnectDatabase()
try
{ string strConnectionString =
"Provider=OraOLEDB.Oracle" +";"+
"Data Source=" + ConnectionParams.Datasource +";"+
"User Id =" + ConnectionParams.Username +";"+
"Password =" + ConnectionParams.Password;
m_conn=new ADODB.Connection();
m_conn.ConnectionString=strConnectionString;
m_conn.Open("","","",0); //i_"YYAOl Open the connection
catch(Exception e)
{ System.Windows.Forms.MessageBox.Show(e.Message);
return false;
return true; //YYAOl_B>3I9&connected successfully
public void InsertDescription(string p_product,string p_language,string p_tname,string p_tdescription)
{ string sql="{Call inserttranslateddescription(?,?,?,?,?)}";
try
{ ADODB._Command cmd=new ADODB.Command();//Create a command object
cmd.ActiveConnection=m_conn; //Set its active connection to open connection
ADODB.Properties properties=cmd.Properties;//Get the command properties into ADODB Properties object
IEnumerator ienum=properties.GetEnumerator();//Get an enumerator on above properties
ADODB.Property singleprop;
while(ienum.MoveNext()) //iterate through the enumerator
{singleprop=(ADODB.Property)ienum.Current;//Get the current property from enumerator
string propname= singleprop.Name; //Get the name of current property
if(propname.Equals("NDatatype")) //if the property is 'NDatatype' set its value to true
singleprop.Value=true;
cmd.CommandType=ADODB.CommandTypeEnum.adCmdText;
int pid=Int32.Parse(p_product);
ADODB._Parameter langid =cmd.CreateParameter("langid", ADODB.DataTypeEnum.adChar,ADODB.ParameterDirectionEnum.adParamInput, 100,p_language);
ADODB._Parameter productid =cmd.CreateParameter("productid", ADODB.DataTypeEnum.adNumeric,ADODB.ParameterDirectionEnum.adParamInput, 100,pid);
ADODB._Parameter tname =cmd.CreateParameter("tname", ADODB.DataTypeEnum.adBSTR,ADODB.ParameterDirectionEnum.adParamInput, 50,p_tname);
ADODB._Parameter tdescription=cmd.CreateParameter("tdescription",ADODB.DataTypeEnum.adBSTR,ADODB.ParameterDirectionEnum.adParamInput, 50,p_tdescription);
ADODB._Parameter check =cmd.CreateParameter("check", ADODB.DataTypeEnum.adNumeric,ADODB.ParameterDirectionEnum.adParamOutput,100,0);
cmd.Parameters.Append(langid);
cmd.Parameters.Append(productid);
cmd.Parameters.Append(tname);
cmd.Parameters.Append(tdescription);
cmd.Parameters.Append(check);
cmd.CommandText=sql;
//Execute the command to insert product details in database
object recs;
object param=p_language;
cmd.Execute(out recs,ref param,1);
ienum.Reset();
while(ienum.MoveNext()) //iterate through enumerator
{ singleprop=(ADODB.Property)ienum.Current;//Get the current property in to Property object
string propname= singleprop.Name; //Get the name of current property
if(propname.Equals("NDatatype")) //if it is 'NDatatype' set its value to true
singleprop.Value=false;
IEnumerator iprop=cmd.Parameters.GetEnumerator();//Get the enumerator for command parameters
while(iprop.MoveNext()) //loop through enumerator
{ //Get the current parameter in enumerator
ADODB._Parameter checkval=(ADODB._Parameter)iprop.Current;
if(checkval.Name.Equals("check")) //if the parameter is 'check'
if(checkval.Value.ToString().Equals("0")) //If check's value is zero data was inserted
System.Windows.Forms.MessageBox.Show("Product details Inserted successfully");
else
System.Windows.Forms.MessageBox.Show("Product Details Updated");//else data was updated
catch(Exception e)
System.Windows.Forms.MessageBox.Show(e.Message);//Display any error message
} -
In RSA Authentication Manager 7.1, how create multiple security domains
Hi,
RSA Authentication Manager 7.1 in configured with LDAP(Sun java system directory server); how create multiple security domains 7.1, is this security domains is releted to LDAP?
thanksI think what you need to do is create an identity sequence with RSA as the selection in
Authentication and Attribute Retrieval Search List and AD in Additional Attribute Retrieval Search List. Then select this sequence as the result in the identity policy for the service -
How create animation in oracle forms 6i
any one can guide me how create animation in oracle forms 6i
hello to every one..
my dear friend developer is a busniness application tool.you can create
animaiton on flash and other animaiton softwares and then you can call on froms.
best regard
amk -
How create header with user id time date to VC-report's output as display ?
How create header with user id time date to VC-report's output as display ?
This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)Hi ann-mari
Go through following link may it help u
Form Item disabled based on portal role
/people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
Best Regards
````Satish```` -
How create account document from Sales Document?
Hi.
I hope you are doing well. The scenario is:
1.- Create Lead (Sucessfully)
2.- Create Quotation wrt Lead ((Sucessfully)
3.- Create Sales Order wrt Quotation (Sucessfully), into status tab I have add Transferred to bill. document status
4.- The billing document was created sucessfully, however The account document doesn't exist.
How create account document?
Note:
assign revenue account was configurated into spro
What about BP , I guest , need to create a Billing organization.
Regards.Resolved to doing transfer to billing action into status tab
-
How create indesign using Java Script
I am new in indesign and want to create indesign application using JavaScript.
When i use AppleScript to create Indesign Application i use this statement
tell application "Adobe InDesign CS5.5"
set myDocument to make document with properties
end tell
Indesign Application create sucessfully.
How create Indesign Application using JavaScript ?
or what is equivelent statement of ( tell application "Adobe InDesign CS5.5" ) in Java Script.
There are some java scripting example given on forum or in sdk.These all example start with app.
when I debug these java script using ExtendScript ToolKit 3.6 It give error on app (undefined app).I think this app ia application object.
How create indesign application object app in javascript ?
While this script run sucessfully when i put these script in C:\Program Files\Adobe\Adobe InDesign CS5.5\Scripts
and to run these script use Scripts panel (choose Window > Utilities > Scripts), then double-click the script name in the Scripts panel in indesign application.But In this case first i start indesign application and then choose Window > Utilities > Scripts then double-click the script name in the Scripts panel.
I want to create Indesign Application (instance) using JavaScript.When I run or (debug) my JavaScript in any javaScript tool like ExtendScript ToolKit 3.6 then Indesign application should start, like in Apple Script.
ThanksThanks Vamitul for reply
For example when i run SelectObjects.jsx An InDesign CS5.5 JavaScript in ESTK then message prompt "Target Adove Indesign CS5.5 is not running. Do you want to lanch." Then on click yes Indesign application start.
I want to Know how indesign object "app" is created to start Indesign application on click yes.
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/In DesignScripting/InDesign-ScriptingTutorial.pdf
Like in VB to create indesign object we use CreateObject("InDesign.Application"). In javascript how create object say "app" of InDesign Application.
For example if i write
var myDocument = app.documents.add();
var myTextFrame = myDocument.pages.item(0).textFrames.add();
myTextFrame.geometricBounds = ["6p", "6p", "24p", "24p"];
myTextFrame.contents = "Hello World!";
in a simple text file and save it with .js extention and to open this double click on this it give error undefined "app".
Source :Microsoft JScript runtime error
So how define "app" or create indesign object ?
Thanks -
How create wireless on macbook pro to get internet in ather devices? thanks
how create wireless on macbook pro to get internet in ather devices? thanks
Eriksimon wrote:
Hi,
Simply put(copy) the content of the UVIsoundbaks folder to where you want it. Then delete the original content. Make aliases of the content at its' new location, and move (copy) all those aliases back into the originating folders. Then delete the original aliases. That should do it.
I'm confused about this.
First, I put the content where I want. Got it.
Then delete it?
I don't have the room to put it where the application tells me to put it (not enough room on the HD), so I need to put the sample content on a external hard drive.
Please advise.
Thanks -
How create new database and table in java db and how get java db backup
hi master
sir i use stuido creator
sir please give me idea how i create new database
and how create new table and view in this new database
and how get this database backup
how i give this databae backup to isp for deployment
please give me idea with step
thank
aamirCreate your own Value Object (Data Transfer Object) in Java with a structure similar to this and map the fields returned from the database to the fields of that object (preferably using SEtT methods).
Hope this helps. -
How create a replice "Mass Change for Quotation" from the "Mass..for order"
Hello everybody,
How create a replica "Mass Change for Quotation" UI object from the standard "Mass change for Sales Ordesr" UI object...
Way: SAP CRM==>Select a business role "SPL-Service part Management" ==> Sales ==> "Mass Change Sales Orders"
It needs a replica with the title "Mass Change for Quotation" .
Could you pleas help?
Mit freundlichen Gruessen / Kind regards,
Pavel BiarozkinHi Howard Brown,
Thanks for your suggestions about Windows user experience. Actually, we are glad to hear more feedback
about Windows operating system so that we can improve Windows to make it be more easier to
use.
As a suggestion for your current situation, you can use Windows Charm Bar to search Apps, it is also easy to use.
Alex Zhao
TechNet Community Support -
How create and work with Z output to meet the client requirment?
hi gurus,
I am SD functional consultant and need ur help
Please explain me how create and work with Z output .
How we arrange and change the fields in header and footer
where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
pls forward functional or Tech spec of Z output
points will be rewarded
thanx & regards
shabnumHi shabnum ,
I hope you can do it.
Goto SE71, enter form name--> click change
1) click in page window command button, Identify the header and footer window
2) single click on Header window and click change button(pencil symbol)
3) identify the fields and change order of the fields
I hope this will help to solve your issue
Regards,
SaiRam -
How create the SMQ2 error through program ?
Hi all,
How create the SMQ2 error through program ?
Any idea ... plsease share.
Regards,
SrikanthHi juturusrikanth ,
which one is the SMQ2 error?
[FAQ's, intros and memorable discussions in the ABAP General Forum|FAQ's, intros and memorable discussions in the ABAP General Forum;
[How to post code in SCN, and some things NOT to do...|How to post code in SCN, and some things NOT to do...;
Regards
Clemens -
How create a DLL with module python?
Hello,
I am a beginner in TestStand,
I would like to know, how create a DLL with module Python? because for create a sequence, we must own a DLL.
Thank you for your answer
Vincent
Solved!
Go to Solution.Hello,
I would like use TestStand with Python module. So I believe, we must use a DLL for execute a test, I'm wrong because I can use .exe for realize a test.
Now I know how use TestStand with Python module but I have a mistake. I wonder which is error 255?
Whereas I use .exe in Language C, I have no error.
Thank you for your anwser.
Vincent
Attachments:
Setup_Test.jpg 244 KB
Report.jpg 258 KB -
Hi
can any one tell me how create bookmark using java script ?
I want to create a bookmark on a Billjoy, there is a problem in parameter of bookmarks.Add() function.
INDESIGN::_Application oApplication;
INDESIGN::Document objDoc;
objDoc=oApplication.GetActiveDocument();
INDESIGN::Pages pages= objDoc.GetPages();
INDESIGN::Page page =pages.GetItem(COleVariant((long)1));
INDESIGN::TextFrames TextFrames =page.GetTextFrames();
INDESIGN::TextFrame TextFrame = TextFrames.Add(covOptional,(long)1433299822,covOptional);
TextFrame.SetContents(COleVariant(L"Billjoy"));
// i want to create bookmark on billjoy
INDESIGN::Bookmarks bookmarks = objDoc.GetBookmarks();
bookmarks.Add(
Parameters is destination of type HyperlinkExternalPageDestination or HyperlinklPageDestination or
HyperlinklTextDestination or Page.
How use these type of parameter.
Thanks.After creating a new folder ("plus" sign, or "Bookmarks" menu, then "Add Bookmark folder" or "shift-apple-N"), click on the parent folder (the one you want the new folder to go in as a subfolder). Then drag the new folder over to the right, where the bookmarks are listed.
As an alternative, if you click on the parent folder on the left that you want a new folder to go in, then click into the area on the right (that lists the bookmarks in a folder), you can then "Add Bookmark folder" (again, "shift-apple-N") or use the "plus" sign on the bottom under the bookmarks. -
How create and work with Z output to meet user req
hi gurus,
I am SD functional consultant and need ur help
Please explain me how create and work with Z output .
How we arrange and change the fields in header and footer
where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
pls forward functional or Tech spec of Z output
points will be rewarded
thanx & regards
shabnumHi
From SPRO do the all steps.
Goto SD-> BASIC functions->Output control->Output determination->Output determination by condition technique->Maintain Output determination for sales documents
Here define all like access sequences, Output types, condition tables and assign them to Program and Forms.
From SE71 copy the script to a Zscript and to modify it to suit your requirements and the same Zscript has to be assigned to Output type, Program in NACE transaction.
Reward points if useful
Regards
Anji
Maybe you are looking for
-
I have one of the oriignal IPOD's circo 2006. I've got about 150 tunes on it which has been fine but today tried to add another 200 or so and was advised I need about 848 MB to load them. Is there any solution. I have 2 playlists. One with the o
-
OracleXMLSQLException: Closed Statement: getMetaData
When querying the database with nested cursors like select a, cursor(...) as b from c... and creating an OracleXMLQuery I get an exception when the first row of the resultset contains no data for the inner cursor statement. If I insert a dummy entry
-
Mac Mini Ethernet port gone bad, doesn't show in network preferance pane?
My friend 's Mac Mini was doing fine then he shutdown disconnected everything and brought it over to my house for LAN games. He then couldn't get online through my router. I told him go to his network pane to see what kind of error it was giving, cab
-
IDVD making movie files low res
I made a slide show in iMovie, exported it as an HD file with no issues. I brought the file into iDVD to burn and now the file is showing up very low resolution. I've used this method many times before and this is the first time I've ran into problem
-
Pages sorts merged documents by FIRST name?
I drop a bunch of names & addresses from Address Book onto a Pages merge document. The address data is sorted by last name. Pages creates a new merge document, but now everything is sorted by FIRST name. Kinda makes mailouts a bit a of pain when othe