Click here to Skip to main content
15,908,175 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: .NET equivalent of CStatic? Pin
leppie29-Jan-06 18:29
leppie29-Jan-06 18:29 
GeneralRe: .NET equivalent of CStatic? Pin
Ravi Bhavnani30-Jan-06 1:16
professionalRavi Bhavnani30-Jan-06 1:16 
AnswerRe: .NET equivalent of CStatic? Pin
malharone1-Feb-06 11:39
malharone1-Feb-06 11:39 
GeneralRe: .NET equivalent of CStatic? Pin
Ravi Bhavnani4-Feb-06 1:30
professionalRavi Bhavnani4-Feb-06 1:30 
QuestionC#.Net Pin
Net-Programer-and-developer29-Jan-06 6:42
Net-Programer-and-developer29-Jan-06 6:42 
AnswerRe: C#.Net Pin
Guffa29-Jan-06 10:02
Guffa29-Jan-06 10:02 
QuestionDataView.RowFilter / BindingSource.Filter Performance Issue ! Pin
Mehdi Moshtaghi29-Jan-06 4:50
Mehdi Moshtaghi29-Jan-06 4:50 
QuestionGetting handle of the file in use Pin
baburman28-Jan-06 19:46
baburman28-Jan-06 19:46 
Hi guys,

I am working a .NET windows application using C#. I have placed a
web browse control in my Windows Form in order to show many types of documents like word doc, text file, ms excel sheet, images or even flash animation etc. There are three panels in this Form. On the left panel there's a Directory tree just like we see in Windows Explorer. The Top panel contains a list of documents in the currently selected directory. I have placed the web browser control in the third panle which is right below the top panel. When the user selects a document (word, excel etc.) it is opened and viewed in the browser control. So far so good. Now the problem occurs when the user selects a document and it is opened for view and he wants to delete it by using the shortcut menu option which is provided by me. The system throws
an exception when i attempt to delete this document from the os directory and says like "The file is in use by another process.". This occurs even if the user selects another document and the application attempts to delete the 'previously' selected document again. This is for sure that the process which is running my app has not yet destroyed the handle of the document, but i don't know how to destory it. I guess the only solution could be P/Invoke but don't know which API functions have to be used. Anybody could help getting rid of this?


thanks


bABURmAN
Questionsome sort of progress bar Pin
DirA28-Jan-06 5:03
DirA28-Jan-06 5:03 
AnswerRe: some sort of progress bar Pin
kasik28-Jan-06 7:52
kasik28-Jan-06 7:52 
Questionadding xpdfviewer control Pin
raj kumar reddy27-Jan-06 17:48
raj kumar reddy27-Jan-06 17:48 
Questionwhere's ToolStripMenuItem.Index? Pin
happycpp27-Jan-06 17:33
happycpp27-Jan-06 17:33 
Answerand where's ToolStripMenuItem.MenuItems? Pin
happycpp28-Jan-06 19:19
happycpp28-Jan-06 19:19 
QuestionAccess Licnese Pin
elraton27-Jan-06 16:24
elraton27-Jan-06 16:24 
AnswerRe: Access Licnese Pin
Matthew Hazlett27-Jan-06 17:01
Matthew Hazlett27-Jan-06 17:01 
QuestionSMTP SSL Pin
Brisunifreddyp27-Jan-06 12:49
Brisunifreddyp27-Jan-06 12:49 
AnswerRe: SMTP SSL Pin
Dave Kreskowiak27-Jan-06 18:15
mveDave Kreskowiak27-Jan-06 18:15 
QuestionColumn Order in a DataGridView with BindingList as DataSource Pin
KoRUPT27-Jan-06 11:28
KoRUPT27-Jan-06 11:28 
AnswerRe: Column Order in a DataGridView with BindingList as DataSource Pin
KoRUPT30-Jan-06 5:42
KoRUPT30-Jan-06 5:42 
Question.net 2.0 vs 1.1? Pin
Small Rat27-Jan-06 11:15
Small Rat27-Jan-06 11:15 
AnswerRe: .net 2.0 vs 1.1? Pin
Dave Kreskowiak27-Jan-06 11:26
mveDave Kreskowiak27-Jan-06 11:26 
GeneralRe: .net 2.0 vs 1.1? Pin
Paul Conrad27-Jan-06 14:35
professionalPaul Conrad27-Jan-06 14:35 
QuestionDatacolumn type Pin
denizmercan27-Jan-06 5:30
denizmercan27-Jan-06 5:30 
Question.NET Pin
Richard Htin27-Jan-06 4:09
Richard Htin27-Jan-06 4:09 
AnswerRe: .NET Pin
Dave Kreskowiak27-Jan-06 4:56
mveDave Kreskowiak27-Jan-06 4:56 

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.