[gme-users] setAttribute

Alex Liu alexliu56 at gmail.com
Fri Mar 25 15:54:34 CST 2005


I have some problem regarding the setAttribute problem. When I run the
Java interpreter, it always gives me no member found ComException
(0X80020030). Does anyone know how to solve it? Here is part of my
code. I tried to use setAttribute function, but nothing has been
changed.


for (int j=0;j<myVector.size();j++)
{
       JBuilderAtom atom = (JBuilderAtom)myVector.get(j);
        if (atom.getName().equals(Name))
        {
        	//atom.setAttribute("Enable",false);
        	atom.getIAtom().getAttributes().getItem(3).setBoolValue(false);
        	MgaAttribute myatt=
atom.getIAtom().getAttributes().getItem(1);//.getMeta();//setBoolValue(false);
        	        int temp = myatt.getIntValue();
        	        String mytemp = new Integer(temp).toString();
        			//boolean isenable =
qos.getIAtom().getAttributes().getItem(3).getBoolValue();
        		    //String result= new Boolean(isenable).toString();
        	    	JOptionPane.showMessageDialog(null,"result
"+mytemp,"myresult",JOptionPane.INFORMATION_MESSAGE);
        			
        			break;
        		}
        	}


More information about the gme-users mailing list