I am trying to test our application against Visio 2013 but am having an issue which raises a message in Visio 2013 Preview "Microsoft Office cannot verify the license for this product. You should repair the office program by using Control Panel".
I have a simple VB6 form with a button on it. In the button event handler I have the following code.
Private Sub Command3_Click()
Dim visoObj As Visio.Application
Set visoObj = New Visio.Application
visoObj.Visible = True
End Sub
On the click the Visio application opens but the message "Microsoft Office cannot verify the license for this product. You should repair the office program by using Control Panel" opens.
I have checked that the product is activated and tried uninstall/reinstall/repair/re enter key from add/remove programs.
I have also tried
cscript ospp.vbs /act
Has anybody got VB6 and Visio 2013 preview to work?
You also get this message if you try adding a Visio 2013 drawing control onto a VB6 form.
I have also successfully tried similar code to open Word 2013 Preview and Excel 2013 Preview. This has worked fine. Just can't figure out what is wrong with Visio.
Any Help?