Click here to Skip to main content
15,905,238 members
Home / Discussions / C#
   

C#

 
GeneralAccessing Data with Web Forms Pin
Ian Bowler5-Jul-04 10:38
Ian Bowler5-Jul-04 10:38 
GeneralRe: Accessing Data with Web Forms Pin
Colin Angus Mackay5-Jul-04 11:13
Colin Angus Mackay5-Jul-04 11:13 
GeneralRe: Accessing Data with Web Forms Pin
Ian Bowler5-Jul-04 11:41
Ian Bowler5-Jul-04 11:41 
GeneralRe: Accessing Data with Web Forms Pin
Colin Angus Mackay5-Jul-04 11:56
Colin Angus Mackay5-Jul-04 11:56 
GeneralRe: Accessing Data with Web Forms Pin
Ian Bowler5-Jul-04 12:03
Ian Bowler5-Jul-04 12:03 
GeneralRe: Accessing Data with Web Forms Pin
Colin Angus Mackay5-Jul-04 12:22
Colin Angus Mackay5-Jul-04 12:22 
GeneralRe: Accessing Data with Web Forms Pin
Ian Bowler5-Jul-04 12:46
Ian Bowler5-Jul-04 12:46 
GeneralRe: Accessing Data with Web Forms Pin
Colin Angus Mackay5-Jul-04 13:03
Colin Angus Mackay5-Jul-04 13:03 
GeneralRe: Accessing Data with Web Forms Pin
Heath Stewart5-Jul-04 18:06
protectorHeath Stewart5-Jul-04 18:06 
GeneralSearch object in hierarchy object (class) Pin
god4k5-Jul-04 5:58
god4k5-Jul-04 5:58 
GeneralRe: Search object in hierarchy object (class) Pin
Heath Stewart5-Jul-04 10:08
protectorHeath Stewart5-Jul-04 10:08 
QuestionHow to compare MemoryStream? Pin
god4k5-Jul-04 5:57
god4k5-Jul-04 5:57 
AnswerRe: How to compare MemoryStream? Pin
Heath Stewart5-Jul-04 10:01
protectorHeath Stewart5-Jul-04 10:01 
GeneralRe: How to compare MemoryStream? Pin
Mike Dimmick5-Jul-04 13:44
Mike Dimmick5-Jul-04 13:44 
GeneralRe: How to compare MemoryStream? Pin
Heath Stewart5-Jul-04 17:58
protectorHeath Stewart5-Jul-04 17:58 
GeneralRe: How to compare MemoryStream? Pin
god4k5-Jul-04 14:30
god4k5-Jul-04 14:30 
AnswerRe: How to add custom properties in PropertyGrid at Runtime Pin
Heath Stewart5-Jul-04 5:11
protectorHeath Stewart5-Jul-04 5:11 
GeneralHowto Delete a file at run time!?! Pin
QzRz5-Jul-04 4:45
QzRz5-Jul-04 4:45 
GeneralRe: Howto Delete a file at run time!?! Pin
Heath Stewart5-Jul-04 4:50
protectorHeath Stewart5-Jul-04 4:50 
GeneralRe: Howto Delete a file at run time!?! Pin
QzRz5-Jul-04 5:09
QzRz5-Jul-04 5:09 
GeneralRe: Howto Delete a file at run time!?! Pin
Heath Stewart5-Jul-04 5:12
protectorHeath Stewart5-Jul-04 5:12 
GeneralRe: Howto Delete a file at run time!?! Pin
QzRz5-Jul-04 5:15
QzRz5-Jul-04 5:15 
GeneralRe: Howto Delete a file at run time!?! Pin
Heath Stewart5-Jul-04 5:19
protectorHeath Stewart5-Jul-04 5:19 
Yes, but you have to know what the process is. You also shouldn't just go stopping processes just so you can delete a file.

See the System.Diagnostics.Process class for a way to get a list of running processes. You'd have to enumerate them and then enumerate their Process.Modules property to find which process is using test.dll, then attempt to close it gracefully using Process.Close. If that doesn't work, use Process.Kill to terminate it.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Howto Delete a file at run time!?! Pin
QzRz5-Jul-04 5:25
QzRz5-Jul-04 5:25 
GeneralRe: Howto Delete a file at run time!?! Pin
Colin Angus Mackay5-Jul-04 5:57
Colin Angus Mackay5-Jul-04 5:57 

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.