Help me to do this "IMAQ"-1
Dear friends
Please go through this vi
this vi it will display a image window when u click inside that window a square box will create, where ever u click it will create multiple box. i used imaq windraw function, u can see another image window in the front pannel also.
now my aim is to put a box over that spot with the spot as center and to extract the pixel values of the individual boxes,
now whats happening is when i run this program a image window is opening from the imaq windraw function in that 1ly i can able to put multiple box but that box is displayed in the image display in the front pannel also. but i cant put the box in the image window in the front pannel. if u click the mouse in the image window in the front pannel it will display the 25x25pixel values.
i want both to be done in a same window i want to put a multiple square box and the pixel values i want to extract seperately for the individual boxes. please help me give some ideas how to do this please modify this vi.
thank u
sasi
Attachments:
mult sqr.vi 123 KB
Please refer to this duplicate post for response:
http://forums.ni.com/ni/board/message?board.id=170&message.id=105711
Similar Messages
-
Help me to do this "IMAQ"-2 image file attached
Dear friends
In this i attach my image file in Tif format & jpeg format
Please go through this vi
this vi it will display a image window when u click inside that window a square box will create, where ever u click it will create multiple box. i used imaq windraw function, u can see another image window in the front pannel also.
now my aim is to put a box over that spot with the spot as center and to extract the pixel values of the individual boxes,
now whats happening is when i run this program a image window is opening from the imaq windraw function in that 1ly i can able to put multiple box but that box is displayed in the image display in the front pannel also. but i cant put the box in the image window in the front pannel. if u click the mouse in the image window in the front pannel it will display the 25x25pixel values.
i want both to be done in a same window i want to put a multiple square box and the pixel values i want to extract seperately for the individual boxes. please help me give some ideas how to do this please modify this vi.
thank u
sasi
Attachments:
1.zip 279 KBSasi,
I am a little confused on what exactly you want to do and why you are using both WinDraw and an Image Display Control to show the image. It sounds like what you want to be able to do are the following 3 things:
1) Display the Image
2) Click on the image and have a rectangle overlay appear on image
3) Get the pixel values from that rectangle into an array
If I am understanding you correctly, then you should only display the image using one of the above display methods and have only a signal case structure in your code that adds the overlay to the image AND extracts the pixel values. I am a little unclear as to why you have decided to only get the pixel values if the user clicks on the Image Display and only draw the rectangle if the user clicks on the WinDraw display.
I have attached an image of a block diagram, which is what I think that you are trying to do. In the block diagram you can see that I have combined everything into one case structure so that whenever a user clicks on the Image Display (no WinDraw) then I add a rectangle overlay to my image and also get the pixel values for that area. If you want to keep track of the pixel values for each rectangle then you could use a shift register and build up a 3-D array with all of this information ... or write the data to file ... or use another method to keep that data for future use.
Regards,
Michael
Applications Engineer
National Instruments -
My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?
Hi Venkata from NZ,
If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article -
If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
Thanks for using Apple Support Communities.
Best,
Brett L -
Help Me To Fix This Loading Please
Dear All Users
I really need your help on this, I have a loader in my edge animate that i picked up from http://www.gayadesign.com/diy/queryloader-preload-your-website-in-styl e/
and this is the Only loader that works very well on Edge and Load anything Completely, loader had some bugs so i google it and find fixes for, and now i have this loader without any bug except One bug that loader has with Maxthon, IE, Chrome and Safari browsers, i'm going Crazy right Now and dont know what to do with this Bug, The bug is only at last seconds of loading, after load complete a symbol that created in the loading Script wont remove !!
if you try this on any edge Project you will see after loading is complete you just see a 0% in a black screen but if you zoom out your Browser you will see your project is there...
and the point is this is happen only with Maxthon, IE, Chrome and Safari, and works very well with FireFox ... !!!
i really need this loading, Here is the Final Script and CSS file that Loader Needs :
CSS File Link : http://www.mediafire.com/?kb11s474aipt39w
Script :
var QueryLoader = {
overlay: "",
loadBar: "",
preloader: "",
items: new Array(),
doneStatus: 0,
doneNow: 0,
selectorPreload: "body",
ieLoadFixTime: 2000,
ieTimeout: "",
init: function() {
if (navigator.userAgent.match(/MSIE (\d+(?:\.\d+)+(?:b\d*)?)/) == "MSIE 6.0,6.0") {
//break if IE6
return false;
if (QueryLoader.selectorPreload == "body") {
QueryLoader.spawnLoader();
QueryLoader.getImages(QueryLoader.selectorPreload);
QueryLoader.createPreloading();
} else {
$(document).ready(function() {
QueryLoader.spawnLoader();
QueryLoader.getImages(QueryLoader.selectorPreload);
QueryLoader.createPreloading();
//help IE drown if it is trying to die
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
ieLoadFix: function() {
if(jQuery.browser.msie){
if ((100 / QueryLoader.doneStatus) * QueryLoader.doneNow < 100) {
QueryLoader.imgCallback();
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
imgCallback: function() {
QueryLoader.doneNow ++;
QueryLoader.animateLoader();
getImages: function(selector) {
var everything = $(selector).find("*:not(script)").each(function() {
var url = "";
if ($(this).css("background-image") != "none") {
var url = $(this).css("background-image");
} else if (typeof($(this).attr("src")) != "undefined" && $(this).prop("tagName").toLowerCase() == "img") {
var url = $(this).attr("src");
url = url.replace("url(\"", "");
url = url.replace("url(", "");
url = url.replace("\")", "");
url = url.replace(")", "");
if (url.length > 0) {
QueryLoader.items.push(url);
createPreloading: function() {
QueryLoader.preloader = $("<div></div>").appendTo(QueryLoader.selectorPreload);
$(QueryLoader.preloader).css({
height: "0px",
width: "0px",
overflow: "hidden"
var length = QueryLoader.items.length;
QueryLoader.doneStatus = length;
for (var i = 0; i < length; i++) {
var imgLoad = $("<img></img>");
$(imgLoad).attr("src", QueryLoader.items[i]);
$(imgLoad).unbind("load");
$(imgLoad).one('load', function() { //IE Cache Fix
QueryLoader.imgCallback();
}).each(function() {
if(this.complete) $(this).load();
$(imgLoad).appendTo($(QueryLoader.preloader));
spawnLoader: function() {
if (QueryLoader.selectorPreload == "body") {
var height = $(window).height();
var width = $(window).width();
var position = "fixed";
} else {
var height = $(QueryLoader.selectorPreload).outerHeight();
var width = $(QueryLoader.selectorPreload).outerWidth();
var position = "absolute";
var left = $(QueryLoader.selectorPreload).offset()['left'];
var top = $(QueryLoader.selectorPreload).offset()['top'];
QueryLoader.overlay = $("<div></div>").appendTo($(QueryLoader.selectorPreload));
$(QueryLoader.overlay).addClass("QOverlay");
$(QueryLoader.overlay).css({
position: position,
top: top,
left: left,
width: width + "px",
height: height + "px"
QueryLoader.loadBar = $("<div></div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadBar).addClass("QLoader");
$(QueryLoader.loadBar).css({
position: "relative",
top: "50%",
width: "0%"
QueryLoader.loadAmt = $("<div>0%</div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadAmt).addClass("QAmt");
$(QueryLoader.loadAmt).css({
position: "relative",
top: "50%",
left: "50%"
animateLoader: function() {
var perc = (100 / QueryLoader.doneStatus) * QueryLoader.doneNow;
if (perc > 99) {
$(QueryLoader.loadAmt).html("100%");
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() {
QueryLoader.doneLoad();
} else {
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() { });
$(QueryLoader.loadAmt).html(Math.floor(perc)+"%");
doneLoad: function() {
//prevent IE from calling the fix
clearTimeout(QueryLoader.ieTimeout);
//determine the height of the preloader for the effect
if (QueryLoader.selectorPreload == "body") {
var height = $(window).height();
} else {
var height = $(QueryLoader.selectorPreload).outerHeight();
//The end animation, adjust to your likings
$(QueryLoader.loadAmt).hide();
$(QueryLoader.loadBar).animate({
height: height + "px",
top: 0
}, 500, "linear", function() {
$(QueryLoader.overlay).fadeOut(800);
$(QueryLoader.preloader).remove();
yepnope({nope:[
'queryLoader.css',
],complete: initialize});
function initialize (){
QueryLoader.init();
Note : when you are in the Edge and hit ctrl+enter the project loads very well in IE, Chrome, and Safari without any problems !! but when save and run HTML file the problem would appear !!
but if you run that HTML file in Firefox everything works like a charm...
i really don't know what can i do, i used all of my knowledge that i had in java Programming but no luck :'(
Please Help Me...
Note : you have to use this code inside of Preloader > Loading
& place CSS file in the main folder of your Edge Project
ZaxistHello Zaxist,
I must say this script is driving me nuts since the beginning.
How hard can it be for a (simple) percentage preloader to use on our (Edge Animate) website?
It was all so easy in Flash. A different story now.
I can see when pasting the code below (or yours) in the Preloader "loading" event, the code gets triggered 3 times.
So it seems it works (in Chrome) but 2 of the 3 loading overlays (+loadbar and text) won't remove like it should.
I don't have a solution for this either, but maybe someone with much more javascript experience can help us out with this one?
The nicest thing would be if the Adobe Edge Animate team provide us something simple we can put in the Preloader "loading" event like:
sym.$("ldr_txt").html(e.loaded+"%");
or maybe the use of (e.bytesloaded) and (e.bytestotal)?
Wouldn't that be great? Maybe they are working on this?
I really hope we finally can get a proper solution for this.
An animated gif (as we have now) is simply not enough.
Kind Regards,
Lester.
The below code is almost the same of yours, without the CSS.
var QueryLoader = {
overlay: "",
loadBar: "",
preloader: "",
items: new Array(),
doneStatus: 0,
doneNow: 0,
selectorPreload: "body",
ieLoadFixTime: 10,
ieTimeout: "",
init: function() {
if (navigator.userAgent.match(/MSIE (\d+(?:\.\d+)+(?:b\d*)?)/) == "MSIE 6.0,6.0") {
//break if IE6
return false;
QueryLoader.spawnLoader();
QueryLoader.getImages(QueryLoader.selectorPreload);
QueryLoader.createPreloading();
//help IE drown if it is trying to die
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
console.log("INIT")
ieLoadFix: function() {
if(jQuery.browser.msie){
if ((100 / QueryLoader.doneStatus) * QueryLoader.doneNow < 100) {
QueryLoader.imgCallback();
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
imgCallback: function() {
QueryLoader.doneNow ++;
QueryLoader.animateLoader();
getImages: function(selector) {
var everything = $(selector).find("*:not(script)").each(function() {
var url = "";
if ($(this).css("background-image") != "none") {
var url = $(this).css("background-image");
} else if (typeof($(this).attr("src")) != "undefined" && $(this).prop("tagName").toLowerCase() == "img") {
var url = $(this).attr("src");
url = url.replace("url(\"", "");
url = url.replace("url(", "");
url = url.replace("\")", "");
url = url.replace(")", "");
if (url.length > 0) {
QueryLoader.items.push(url);
createPreloading: function() {
QueryLoader.preloader = $("<div></div>").appendTo(QueryLoader.selectorPreload);
$(QueryLoader.preloader).css({
height: "0px",
width: "0px",
overflow: "hidden"
var length = QueryLoader.items.length;
QueryLoader.doneStatus = length;
for (var i = 0; i < length; i++) {
(function(i) {
var imgLoad = $("<img></img>");
$(imgLoad).attr("src", QueryLoader.items[i]);
$(imgLoad).unbind("load");
$(imgLoad).one('load', function() { //IE Cache Fix
QueryLoader.imgCallback();
}).each(function() {
if(this.complete) $(this).load();
$(imgLoad).appendTo($(QueryLoader.preloader));
})(i);
spawnLoader: function() {
var height = $(window).height();
var width = $(window).width();
var position = "fixed";
var left = $(QueryLoader.selectorPreload).offset()['left'];
var top = $(QueryLoader.selectorPreload).offset()['top'];
QueryLoader.overlay = $("<div></div>").appendTo($(QueryLoader.selectorPreload));
$(QueryLoader.overlay).css({
"background-color":"#000",
"z-index":"9999",
position: position,
top: top,
left: left,
width: width + "px",
height: height + "px"
QueryLoader.loadBar = $("<div></div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadBar).css({
"background-color":"#ccc",
height:"6px",
position: "relative",
top: "50%",
left: "0%",
width: "0%"
QueryLoader.loadAmt = $("<div>0%</div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadAmt).css({
color:"#666",
"font-family":"'Trebuchet MS',Arial,Helvetica,sans-serif",
"font-size":"24px",
"font-weight":"700",
"line-height":"50px",
height:"50px",
width:"100px",
margin:"-60px 0 0 -50px",
position: "relative",
top: "50%",
left: "52%"
//console.log("SPAWNLOADER")
animateLoader: function() {
var perc = (100 / QueryLoader.doneStatus) * QueryLoader.doneNow;
if (perc > 99) {
$(QueryLoader.loadAmt).html("100%");
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() {
QueryLoader.doneLoad();
} else {
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() { });
$(QueryLoader.loadAmt).html(Math.floor(perc)+"%");
doneLoad: function() {
//prevent IE from calling the fix
clearTimeout(QueryLoader.ieTimeout);
var height = $(window).height();
//The end animation, adjust to your likings
$(QueryLoader.loadAmt).hide();
$(QueryLoader.loadBar).animate({
//height: height + "px",
//top: "0%"
}, 500, "linear", function() {
$(QueryLoader.overlay).fadeOut(800);
$(QueryLoader.preloader).remove();
console.log("LOADED")
QueryLoader.init(); -
Help me to solve this. select statement!
hello alll
is there any functional module which gives me the BELNR(of bseg) by passing the vbeln.
yeah ...we can do tht by passing bseg table ,,,,but its taking loads of time to give me the output as its not a primary key or secondary key.....
when i m using this condition in the prog i cannot use inner join as its a cluster table . if i m writing a condition it is effecting my prog performance
this statement is really taking long time to process.
in bseg table as vbeln is not primary key or seconday key, i guess thz the reason it is taking so much time ,,,
can anyone help me to sort this out... ??
any fun mod to get the data of bseg cluster table by giving vbeln?/
or any other conditions to reduce the processing time?
clear t_vbrkvbrp.
sort t_vbrkvbrp by vbeln.
loop at t_vbrkvbrp.
at new vbeln.
select bukrs belnr vbeln
from bseg
into corresponding fields of table t_temp
where bukrs = t_vbrkvbrp-bukrs
and vbeln = t_vbrkvbrp-vbeln.
endat.
endloop.
SELECT bukrs belnr buzid koart shkzg dmbtr vbeln hkont kunnr werks
FROM bseg
INTO TABLE t_bseg
for all entries in t_temp
WHERE hkont IN s_hkont
AND bukrs = t_temp-bukrs
AND belnr = t_temp-belnr
AND buzid = ' '
AND koart = 'S'
AND shkzg = 'H'.
i need to get the g/l account number and belnr from bseg for the above condition type so i have to use bseg table
as there is no apporpriate index it is scanning the full table ,,,, so can anyone tell me how to create a index or like wise to get the data faster??Don't use BSEG, use BKPF and fields AWTYP, AWREF which link a financial document to the application and document that generated it. (The "original document" under transaction like FB03)
<i>Example: "RMRP" + invoice number for purchase invoice</i>
In some case you need an intermediate table
<i>Example: from EKPO, EKBE, you get the MKPF records and from them the BKPF/BSEG</i>
For a list of "referenced procedures" Look at TTYP (text table is TTYPT), you will get the code, structure used to build the key (if more than one field) and a function module used to display the origin
<i>Example : MKPF "Material document" structure MKPF_AWKEY function module MB_DOCUMENT_SENDER_MKPF</i>
You can also look at your accounting documents found with the "slow" BSEG version of your program and establish a list of AWTYP used in you company/customer.
An other way, used in some companies, is to append a structure with EBELN field to BSIS and BSAS table, these table are filled via a MOVE-CORRESPONDING statement, so the nesw records will be filled (You may write a program to update past records) then create an index on EBELN on these fields.
Regards
PS: BSEG is a cluster table, so the only real criteria are the primary keys, if you select via EBELN, the program read the whole table, may be correct in Development, but not in Production and there it will be more and more resources consuming. So NEVER select from BSEG vithout the primary keys, use the secondary tables : BSIS/BSAS, BSIM, etc. -
hi for all, i need a help to put an image and make a JFrame for ChatLogin similar to yahoo messenger chat login frame, my problem is i don't know how to arrange the instruction and how to make the image named "Face.jpg" in the upper position like keep smiling in yahoo messenger and the other labels and text Field down of this image.so plz any one help me to make this done becuse i need to know where is the problem and what should i do. thanks
import MarChat.*;
import java.awt.*;
import java.awt.BorderLayout;
import java.security.*;
import java.sql.*;
import javax.swing.*;
import java.awt.event.*;
import java.io.*;
import java.util.Date;
public class LoginFrame extends JFrame implements ActionListener,Serializable,MessengerConstants
String _username=null,_password=null,_server=null;
JLabel label1,label2,label3,label4,NewAcc,ForgPassLab;
JTextField user,server,port;
JPasswordField password;
JButton ok;
ImageIcon icon;
private LoginFrame frame;
private byte[] DigPass;
private byte[] ReturnPass;
javax.swing.JButton quit, register,check;
Container container,container1;
Panel topPanel,centerPanel;
private Socket s;
public static MainFrame MainF;
private Socket socket;
private Thread thread;
private DataInputStream dis;
private DataOutputStream dos;
// public Socket s =null;
public LoginFrame(JFrame frame)
super("SIMSM Login Windows");
initial();
public LoginFrame()
super("SIMSM Login Windows");
initial();
public void initial()
Image iconImage = Toolkit.getDefaultToolkit().getImage("C:/SIMSM/Client/My/src/images/messengerImage.gif");
this.setIconImage(iconImage);
/*********Top Panel*********************/
/* ImageIcon imageI = new ImageIcon("C:/SIMSM/client/My/src/images/Face.jpg");
JLabel imageLabel = new JLabel(imageI);
topPanel = new Panel(new BorderLayout());
topPanel.add("North",imageLabel);*/
/**********Center Panel******************/
// centerPanel = new Panel(null);
container = this.getContentPane();
container.setLayout(new BorderLayout());
container.setBackground(Color.ORANGE);
topPanel = new Panel(new BorderLayout());
ImageIcon imageI = new ImageIcon("C:/SIMSM/client/My/src/images/Face.jpg");
JLabel imageLabel = new JLabel(imageI);
topPanel.add("North",imageLabel);
container.add("North",topPanel); // "North",topPanel);
//container.setBackground(Color.ORANGE);
label1= new JLabel(" Login name :");
label1.setForeground(Color.BLUE);
label1.setBounds(10,200,80,20);
user= new JTextField();
user.setBounds(100,200,130,20);
label2= new JLabel(" Password :");
label2.setForeground(Color.BLUE);
label2.setBounds(10,230,80,20);
password=new JPasswordField();
password.setBounds(100,230,130,20);
label3= new JLabel(" Server :");
label3.setForeground(Color.BLUE);
label3.setBounds(10,260,80,20);
server= new JTextField("192.168.0.1");
server.setBounds(100,260,130,20);
label4= new JLabel(" Port :");
label4.setForeground(Color.BLUE);
label4.setBounds(10,290,80,20);
port=new JTextField(2979+"");
port.setBounds(100,290,130,20);
port.setEditable(false);
ok=new JButton("Login");
ok.setBackground(Color.RED);
ok.setForeground(Color.YELLOW);
ok.setBounds(40,350,80,20);
quit = new JButton("Quit");
quit.setBackground(Color.RED);
quit.setForeground(Color.YELLOW);
quit.setBounds(150,350,80,20);
NewAcc = new JLabel("Get a new SIMSM ID......");
NewAcc.setBounds(80,390,200,20);
NewAcc.setForeground(Color.BLUE);
register = new JButton("Register");
register.setBackground(Color.RED);
register.setForeground(Color.YELLOW);
register.setBounds(100,420,90,20);
ForgPassLab = new JLabel("If You Forget Your ID/Password ?");
ForgPassLab.setBounds(60,480,200,20);
ForgPassLab.setForeground(Color.BLUE);
check = new JButton("Check it...");
check.setBackground(Color.RED);
check.setForeground(Color.YELLOW);
check.setBounds(100,500,90,20);
container.add(label1);
container.add(user);
container.add(label2);
container.add(password);
container.add(label3);
container.add(server);
container.add(label4);
container.add(NewAcc);
container.add(ForgPassLab);
container.add(port);
container.add(ok);
container.add(quit);
container.add(register);
container.add(check);
ok.addActionListener(this);
quit.addActionListener(this);
register.addActionListener(this);
check.addActionListener(this);
this.setSize(290,580);
this.setResizable(true);
this.setLocation(500,150);
this.setVisible(true);
} // end initial method
private void initDialogBox(JFrame frame)
public void actionPerformed(ActionEvent event)
if (event.getSource() == register)
RegFrame r = new RegFrame(); //call class register
// if press Quit Bouttom
if (event.getSource()== quit)
if(JOptionPane.showConfirmDialog(this,
"Are you sure to Exit SIMS chat system?",
"Exit SIMSM ",
JOptionPane.YES_NO_OPTION,
JOptionPane.WARNING_MESSAGE,
new ImageIcon(exitIcon))== JOptionPane.YES_OPTION)
{System.exit(0);}
if(event.getSource()== ok)
String UserId= user.getText();
char[] pass = password.getPassword();
String Spass = new String(pass);
try {
//sentAuthentication(UserId,Spass,s.getOutputStream());
} catch (NoSuchAlgorithmException ex) {
ex.printStackTrace();
} catch (IOException ex) {
ex.printStackTrace();
try {
DataInputStream in = new DataInputStream(s.getInputStream());
String mess = in.readUTF();
// in.close();
/* if(mess.equalsIgnoreCase("wrong password re-type it!"))
password.setText("");
else
if(mess.equalsIgnoreCase("wrong ID and Password Try to register"))
user.setText("");
password.setText("");
else*/
// doLogin(UserId,Spass);
System.err.println("Client Log in");
this.setVisible(false);
} catch (Exception ex) {
ex.printStackTrace();
} //end if
if (event.getSource() == check)
SignInProb chekPro = new SignInProb();
public static void main(String args[])
LoginFrame logD = new LoginFrame();
logD.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
} //end class LoginEdited by: master2007 on Mar 8, 2008 12:05 PMs difficult to read all those lessons because i dont have an internet connection in my homeSearch around the tutorial pages, there's a download link somewhere. You can download the whole set and read offline. **
i read most of themGood for you.
so anyone can help me with my layout plz.Well it's difficult to cover your entire learning needs on a forum -- I'm sure you realize that.
db
** 34 MB, download from
{color:0000ff}http://java.sun.com/docs/books/tutorial/information/download.html{color}
Edited by: Darryl.Burke -
I can't view My JSP file I am getting Error Message
Java Compile not Found
Unable to Compile the Source file for JSP
I copied tools.jar to servers lib dir
But Yet i get the same message
Pls help me to Solve this ProblemMost common cause of the problem: JAVA_HOME environment variable not set, or set incorrectly.
It should point to your java directory: ie C:\java1_4\ NOT C:\java1_4\bin
Another possible cause is spaces in the path names where you have installed applications.
Check out this page: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ for a tutorial on installing tomcat.
If you can't sort it out on your own, we need more info:
Where have you installed Java?
Where have installed Tomcat?
What is the value of JAVA_HOME environment variable?
Good luck,
evnafets -
Help me to convert this???
Hi,
This is the VB6 statement I have.
m_conApp.Forms.ActiveForm.Items.Item("5").Specific.String = "Something"
So please help me to convert this into c#. becauses it causes some confusions for me and difficult to find a solution from SDK help center.
regards
ChamaraHi Chamara,
i know its confusing when you move to c#
correct is
((SAPbouiCOM.EditText)(globals.SBO_Application.Forms.ActiveForm.Items.Item("5").Specific)).String
lg David -
Help me to solve this assignments...
1. Write a program to print a triangle multiplication table as shown below:
0
0 2
0 3 6
0 4 8 12
0 5 10 15 20
0 6 12 18 24 30
0 7 14 21 28 35 42
2.Write a Java program that will display the factorial of the number 10.
3.Write a Java Program to display a four by four identity matrix
4.Write a program to calculate the sum of the odd integers between 1 and 99 using for loop.
kindly help me to solve this assignment.Am I correct in all???
class Assignment
public static void main(String args[])
//This is to print the numbers in triangle
for(int i = 1; i < 8; i++)
for(int j = 0; j < i; j++)
System.out.print(" " + i*j);
System.out.println("");
//print value for 10 factorial
int factorialvalue=1;
int f=6;
for(int l=f;l>1;l--)
factorialvalue*=l;
System.out.println("F values is "+factorialvalue);
//4 x 4 Matrix
for(int s=0;s<4;s++)
for(int m=0;m<4;m++)
System.out.print("("+s+","+m+") ");
System.out.println("");
//sum of odd numbers up to 99
int h=0;
for (int b=1;b<10;b+=2)
h+=b;
System.out.println("Sum is "+h);
selva. -
Help me to remove this Error in Entity Beans
this is the Error i am getting along with this Error i have also put my ds xml file and other related file , please help me to remove this error
at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(Re
flectedDispatcher.java:91)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:64)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:884)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:414)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy71.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:367)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:884)
at $Proxy18.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:414)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy15.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:570)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:197)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:304)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:460)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
Caused by: org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml
: datasource-mapping MySql not found
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDB
CEntityMetaData.java:483)
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init
(JDBCApplicationMetaData.java:312)at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXm
lFileLoader.java:67)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaDat
a(JDBCStoreManager.java:721)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC
StoreManager.java:409)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
r.java:353)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
er.java:155)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
... 65 more
11:37:34,679 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.6/server/default/d
eploy/ProductBean.jar
11:37:34,679 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.j2ee:jndiName=FaqMstLocal,plugin=pool,service=EJB
state: CREATED
I Depend On:
Depends On Me:
ObjectName: jboss.j2ee:jndiName=FaqMstLocal,service=EJB
state: FAILED
I Depend On:
Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error
in jbosscmp-jdbc.xml : datasource-mapping MySql not found
Cause: org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : da
tasource-mapping MySql not found
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.j2ee:jndiName=FaqMstLocal,plugin=pool,service=EJB
state: CREATED
I Depend On:
Depends On Me:
ObjectName: jboss.j2ee:jndiName=FaqMstLocal,service=EJB
state: FAILED
I Depend On:
Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error
in jbosscmp-jdbc.xml : datasource-mapping MySql not found
Cause: org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : da
tasource-mapping MySql not found
1 ) Contain of mysql-ds.xml File
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mysql-ds.xml,v 1.1.2.1 2003/12/12 19:19:56 starksm Exp $ -->
<!-- Datasource config for MySQL using 3.0.9 available from:
http://www.mysql.com/downloads/api-jdbc-stable.html
-->
<datasources>
<local-tx-datasource>
<jndi-name>MySql</jndi-name>
<connection-url>jdbc:mysql://192.168.111.44:3306/temp</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>new_temp</user-name>
<password>temp</password>
</local-tx-datasource>
</datasources>
2) i have also add datasource mappping in standardjaws.xml and standardjbosscmp-jdbc.xml file
File :standardjaws.xml
<datasource>java:/MySql</datasource>
<type-mapping>MySql</type-mapping>
File : standardjbosscmp-jdbc.xml
<datasource>java:/MySql</datasource>
<datasource-mapping>MySql</datasource-mapping>have a look at http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html
-
Help me to debug this function.
public Frame getParentFrame()
Container container = null;
for(container = getParent();!(container instanceof Frame); ){
container = container.getParent();/*/
return (Frame)container;
When I use this function , it will wrong at the line marked "*"(I put this program at the applet),please help me to debug this program.Let me translate that into something that the average programmer could understand, instead of that awful for-statement...public Frame getParentFrame() {
Container container = getParent();
while (!(container instanceof Frame)) {
container = container.getParent(); // Error here?
return (Frame)container;
}Now, you say it has an error at that line? Okay, to debug it you look at the error message. And then you figure out what's wrong with that line of code that causes that message. Sorry, that's all I can say because you didn't mention what the actual error was. -
Can you help me to solve this problem (user-exit for xd02)
Hi!
can you help me to solve this problem?
transaction XD02
To pass the length of the field to 7 max for KNA1-SORT (Search criterion 1 )
To pass the length of the field to 4 max for ADRC-SORT2 (Search criterion 2)
It is not possible to save the customer card as long as the search criterion is not univocal
I seek one to use-exit .
Thanks.Hi,
Check the exit SAPMF02D.
Regards,
Surinder -
I have problem with account that i can't make update or buy from app store
There is massage appear in my payment page that i must contact with i tunes support to complete this transaction
Please help me to fixe this problem as soon possible
Hany hassan
0096597617317
0096596677186
Thank youYou need to Contact iTunes Support...
Apple Support iTunes Store Contact Us -
I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4
I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4
-
I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this as I cant enjoy my new iPad 3 without buying apps
Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
http://www.apple.com/support/itunes/contact/
Maybe you are looking for
-
How do I set up multiple ipods on one itunes account?
I know it's possible as I've done it before but I've forgotten how to do it, can anyone help please? :-(
-
How to tell N6.5 DHCP to use a W2k8 for PXE?
Hello, could anyone give me a hint, how to tell my netware DHCP to use a Windows Server 2008 R2 running Acronis with PXE Server? Actual Situation: Netware 6.5 Sp8 Server with ZENWORKS in Cluster mode Netware DHCP Server ZEN7 SP1 Imaging --> works fin
-
Reset the PRAM, safe boot, removed everything but the key board. Gray spinning wheel. It started with me trying to change permissions. I'm the owner, yet it would give me problem when moving files from desktop to hard drive. Now it says library exten
-
Create page which pulls individual recordsets
I am new to this. I see how to create a table / grid of all data, but I want to create a page layout showing a specific date, location, description of a training course. This will not be in a table. Each item / recordset I want to be in a specific pl
-
Hardware h264 Encode Acceleration - is it or will it be supported?
With the demise of MS Expression Encoder 4 Pro our CDN is recommending we look into FMLE EE4Pro supported both CUDA and Intel QSV encode accleration of live h264 streams (MainConcept SDK) and it was nice not worrying about raw CPU performance Does FM