Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
GeneralProblem with redrawing text in a windows form Pin
Darktaz6-May-05 10:44
Darktaz6-May-05 10:44 
GeneralRe: Problem with redrawing text in a windows form Pin
MoustafaS6-May-05 13:09
MoustafaS6-May-05 13:09 
GeneralRe: Problem with redrawing text in a windows form Pin
Darktaz6-May-05 13:34
Darktaz6-May-05 13:34 
GeneralRe: Problem with redrawing text in a windows form Pin
MoustafaS6-May-05 14:15
MoustafaS6-May-05 14:15 
GeneralForm.Hide(), or Form.Close() not working Pin
Jeea6-May-05 10:01
Jeea6-May-05 10:01 
GeneralRe: Form.Hide(), or Form.Close() not working Pin
Dave Kreskowiak6-May-05 12:08
mveDave Kreskowiak6-May-05 12:08 
GeneralNewly created file stays locked Pin
dratcha6-May-05 9:46
dratcha6-May-05 9:46 
GeneralRe: Newly created file stays locked Pin
Colin Angus Mackay6-May-05 10:52
Colin Angus Mackay6-May-05 10:52 
The Create() method (see MSDN[^] for details) returns a FileStream which you are not using. The file will stay locked until the garbage collector removes the FileStream object.

Even if you do not want the FileStream object you should at least call Close() (See MSDN[^] for details) on it.

Does this help?


My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: Newly created file stays locked Pin
dratcha6-May-05 11:18
dratcha6-May-05 11:18 
GeneralForm Show() method hangs, does not display controls Pin
methodincharge6-May-05 7:26
methodincharge6-May-05 7:26 
GeneralRe: Form Show() method hangs, does not display controls Pin
S. Senthil Kumar6-May-05 7:59
S. Senthil Kumar6-May-05 7:59 
GeneralRe: Form Show() method hangs, does not display controls Pin
methodincharge6-May-05 8:46
methodincharge6-May-05 8:46 
GeneralRe: Form Show() method hangs, does not display controls Pin
S. Senthil Kumar6-May-05 20:12
S. Senthil Kumar6-May-05 20:12 
GeneralWindows Form Multiline ListView Pin
rana936-May-05 7:23
rana936-May-05 7:23 
GeneralWinForms Datagrid format based on cell value Pin
Jose Guay6-May-05 7:14
Jose Guay6-May-05 7:14 
GeneralRe: WinForms Datagrid format based on cell value Pin
Polis Pilavas6-May-05 8:14
Polis Pilavas6-May-05 8:14 
GeneralRe: WinForms Datagrid format based on cell value Pin
Jose Guay6-May-05 12:04
Jose Guay6-May-05 12:04 
GeneralRe: WinForms Datagrid format based on cell value Pin
Polis Pilavas6-May-05 12:14
Polis Pilavas6-May-05 12:14 
GeneralOffice Addin C# Pin
Member 18788066-May-05 6:49
Member 18788066-May-05 6:49 
Generalis there any good programmer for that to help me Pin
snouto6-May-05 5:52
snouto6-May-05 5:52 
QuestionDouble-clicking the Desktop opens the Start Menu? Pin
jklucker6-May-05 5:49
jklucker6-May-05 5:49 
GeneralUpdating values in a PropertyGrid Pin
WujekSamoZlo6-May-05 5:23
WujekSamoZlo6-May-05 5:23 
GeneralRe: Updating values in a PropertyGrid Pin
Mathew Hall6-May-05 15:28
Mathew Hall6-May-05 15:28 
Generalnewbie handling user controls click event in form Pin
Chenele6-May-05 5:11
Chenele6-May-05 5:11 
GeneralRe: newbie handling user controls click event in form Pin
Doctor Nick6-May-05 5:53
Doctor Nick6-May-05 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.