XInterface oObj = null;
XDispatchProvider aProv = (XDispatchProvider)
UnoRuntime.queryInterface(XDispatchProvider.class,Desk);
XDispatch getting = null;
log.println( "opening QueryDesign" );
URL the_url = new URL();
the_url.Complete = ".component:DB/QueryDesign";
getting = aProv.queryDispatch(the_url,"Query",12);
PropertyValue[] Args = new PropertyValue[2];
PropertyValue param1 = new PropertyValue();
param1.Name = "DataSourceName";
param1.Value = "Bibliography";
Args[0] = param1;
PropertyValue param2 = new PropertyValue();
param2.Name = "QueryDesignView";
param2.Value = new Boolean(false);
Args[1] = param2;
getting.dispatch(the_url,Args);
shortWait();
Object oDBC = null;
XMultiServiceFactory xMSF;