Error opening FolderBrowserDialog

  • Thread starter Thread starter Filipe Marcelino
  • Start date Start date
F

Filipe Marcelino

Hi,

I'm having a little strange problem. When opening a FolderBrowserDialog
with the following instruction:

FolderBrowserDialog1.ShowDialog()

the following exception is thrown:

An unhandled exception of type 'System.InvalidCastException' occurred
in system.windows.forms.dll

Additional information: Unable to cast object of type
System.__ComObject to type IMalloc.


Can someone help me?



Regards,
Filipe Marcelino
 
Back
Top