@mcdnab , to be fair the Crown rarely had a reason to want to veto a law, as the Monarch could just easily dismiss the government or make it clear to the Lords that they were deeply opposed to the legislation (like George III did to bring down the Fox-North Coalition in 1783). And it was still understood that the Crown did and indeed does still retain the power to veto legislation (I've seen it mentioned several times in George III's reign and there was a threat by George IV to veto the Catholic Emancipation bill).
@VVD0D95 , I think the real problem was William misjudged the situation in 1834 and though the Whigs could be easily dismissed, like his father was able to do in 1783. He thought the time had came for a return to the Tories and while the Whigs popularity was obviously waning (its honestly funny to me that the Whigs carried Electoral reform and yet the expanded electorate rejected them by the end of the decade), it wasn't at the point that the Tories could return to power yet. If William had waited a few more years, into say 1836 or early 1837, then the situation would have been different. Both the 1835 and 1837 elections saw the stead erosion of the Whig majority, so with a bit of Royal patronage it should be possible to force them out in 1837 instead of the Ministry limping along until 1841. Or have William successfully get his way over the appointment of John Russell as Leader of the Commons in 1834. That's what really precipitated his dismissal of Melbourne; Russell was quite radical and was ardently disliked by the Royal family and the Court and his appointment to succeed Jon Spencer after the later inherited his peerage was considered a step to far by the King. So instead one could have the King successfully veto that appointment and force another minister to be selected (the problem was a lack of Whig politicians in the Commons; most of the senior Whigs were in the Lords. Perhaps Lord Grey keeps Henry Brougham in the Commons instead elevating him to the peerage). That in itself allows the Crown to claim the right to veto individual Cabinet appointments. Finally you could have the new Monarch dismiss the government before the election and appoint Peel, who would hopefully carry a majority this time (with a clear demonstration of Royal support and patronage). Really there are several options that could work well.