Getting Views Rows Data in Custom Module
as this site is not about php programming I will not go very deep into this. but what you are probably looking for is http://api.drupal.org/api/views/views.module/function/views_get_view_result/7

to render the view use $view-&gt;render();

further reference: http://drupal.org/node/342132