We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

UserControl and UseEmbeddedSettingFile

I created a UserControl with an EditControl that uses an embedded ini file for the syntax coloring as described in the sample code that comes with the product. Using this UserControl in a dialog form generates the error "The specified setting file is not found." I am certain that the ini file is part of the project and compiled as an embedded resource (I can view the ini file content in the DLL also). I am also certain that the UseEmbeddedSettingFile has the correct filename and type name for the UserControl. Please indicate how to get around this bug. Thanks Walter

1 Reply

AD Administrator Syncfusion Team September 25, 2003 03:55 PM UTC

Hi Walter, You should make sure that the setting file is included in the project and its BuildAction property in the properties window of the designer is set to Embedded Resource. Please remember that the filenames are case-sensitive and hence make sure that the UseEmbeddedSettingFile name exactly matches your setting file name. I have attached a sample code which shows hows this can be done. Here I have used JAVA.INI as the EmbeddedSettingFile. Please let me know if you continue to experience this problem. Thank you. Regards, Guru Patwal. Syncfusion Inc.

Live Chat Icon For mobile
Up arrow icon