Common Dialog Error ! (Please Help me ! urgently)

G

Guest

I trying to add a commondialog control into my VBA form in excel, but it show an error message
"The control could not be created because it is notproperly licensed." I have installed Microsoft Office Xp(sp2) and Microsoft Visual Studio.net 2002
and my platform is Microsoft Windows Server 2000 (sp4) . I have tried unregister comdlg32.ocx and register it again,but it did not take effect
How can I resolve this problem ,thanks !
 
T

Tom Ogilvy

If you are trying to show the fileopen/saveas dialogs use
application.GetOpenfileName
and/or
Application.GetSaveAsFilename

see excel vba help for details.

--
Regards,
Tom Ogilvy

Michael Xu said:
I trying to add a commondialog control into my VBA form in excel, but it show an error message
"The control could not be created because it is notproperly licensed." I
have installed Microsoft Office Xp(sp2) and Microsoft Visual Studio.net
2002,
and my platform is Microsoft Windows Server 2000 (sp4) . I have tried
unregister comdlg32.ocx and register it again,but it did not take effect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top