|
-
August 24th, 2006, 03:58 PM
#1
Problem with Nini library
Hello,
I am using the Nini library (last version) to manage ini files. When I do this :
this.openFileDialog_MyShowDialog = new System.Windows.Forms.OpenFileDialog();
openFileDialog_MyShowDialog.ShowDialog();
And then go into this function :
void openFileDialog_MyShowDialog_FileOk(object sender, System.ComponentModel.CancelEventArgs e)
The function MyIniFile.Save() does not work anymore.
Note :
If I press "Cancel" from the ShowDialog window, the Save() function still works. It fails only when I press "Ok".
Note :
To avoid any cause from my code, I removed all code into the "openFileDialog_MyShowDialog_FileOk" function.
Nini is a good solution to manage ini files, but it looks like the ShowDialog() function make it crash !
Does somebody already had any experience of that ?
Last edited by efkefk; August 25th, 2006 at 04:06 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|