The purpose of this study is to investigate if carvedilol compared to metoprolol has a favourable effect on endothelial function and insulin stimulated endothelial function, in groups of patients with either diabetes or chronic heart failure.