saving custom user interface file

R

Robert Sikkens

Hi everyone,

on MSDN I found how to save a custtom user interface file. I am using the
following code:

Private Sub CommandButton1_Click()
Dim userInterface As Visio.UIObject
userInterface.SaveToFile ("c:\hallo.vsu")
End Sub

But it doesn't seem to work. What am I doing wrong? Can anyone help me?

Thanks!
 
Top