Click here to Skip to main content
15,925,868 members
Home / Discussions / C#
   

C#

 
QuestionHow to create the set up for "Word Template" project Pin
AmitSumit20-Dec-06 20:53
AmitSumit20-Dec-06 20:53 
QuestionHow to change fonts of any custom string ?? Pin
Waqas Nasir20-Dec-06 20:24
Waqas Nasir20-Dec-06 20:24 
AnswerRe: How to change fonts of any custom string ?? Pin
Guffa20-Dec-06 21:01
Guffa20-Dec-06 21:01 
QuestionHow to add a seperator in context menu control for .NET 1.1? Pin
Waqas Nasir20-Dec-06 20:22
Waqas Nasir20-Dec-06 20:22 
AnswerRe: How to add a seperator in context menu control for .NET 1.1? Pin
Pete O'Hanlon20-Dec-06 22:54
mvePete O'Hanlon20-Dec-06 22:54 
QuestionHow to know if a file is being used by another process? Pin
jamesjk20-Dec-06 19:03
jamesjk20-Dec-06 19:03 
AnswerRe: How to know if a file is being used by another process? Pin
jdkulkarni20-Dec-06 19:25
jdkulkarni20-Dec-06 19:25 
AnswerRe: How to know if a file is being used by another process? Pin
Shajeel20-Dec-06 19:43
Shajeel20-Dec-06 19:43 
u can use this logic as well
DateTime StartTime = DateTime.Now;<br />
while(true)<br />
{<br />
  try<br />
  {<br />
    //save file<br />
  }<br />
  catch<br />
  {<br />
    if(StartTime.AddSeconds(timeouttime) > DateTime.Now)<br />
    {<br />
      //timeout expired<br />
      break;<br />
    }<br />
    System.Threading.Thread.Sleep(sleeptime);<br />
    continue;<br />
  }<br />
  break;<br />
}


Regards
Shajeel

AnswerRe: How to know if a file is being used by another process? Pin
Martin#20-Dec-06 20:01
Martin#20-Dec-06 20:01 
QuestionSorry about the question Pin
sajid.salim.khan20-Dec-06 17:15
sajid.salim.khan20-Dec-06 17:15 
AnswerRe: Sorry about the question Pin
Christian Graus20-Dec-06 18:54
protectorChristian Graus20-Dec-06 18:54 
QuestionDo you thinnk ther'd be a problem whith storing a 100KB file in an array? Pin
Anthony Mushrow20-Dec-06 12:49
professionalAnthony Mushrow20-Dec-06 12:49 
AnswerRe: Do you thinnk ther'd be a problem whith storing a 100KB file in an array? Pin
Luc Pattyn20-Dec-06 15:05
sitebuilderLuc Pattyn20-Dec-06 15:05 
AnswerRe: Do you thinnk ther'd be a problem whith storing a 100KB file in an array? Pin
Guffa20-Dec-06 16:35
Guffa20-Dec-06 16:35 
QuestionColor Fading Pin
dsl/fahk20-Dec-06 11:57
dsl/fahk20-Dec-06 11:57 
AnswerRe: Color Fading Pin
Christian Graus20-Dec-06 12:49
protectorChristian Graus20-Dec-06 12:49 
AnswerRe: Color Fading Pin
Tarakeshwar Reddy20-Dec-06 18:46
professionalTarakeshwar Reddy20-Dec-06 18:46 
GeneralRe: Color Fading Pin
dsl/fahk20-Dec-06 19:09
dsl/fahk20-Dec-06 19:09 
QuestionEmbed controls inside "tree" view Pin
sdehart20-Dec-06 11:00
sdehart20-Dec-06 11:00 
AnswerRe: Embed controls inside "tree" view Pin
Tarakeshwar Reddy20-Dec-06 18:47
professionalTarakeshwar Reddy20-Dec-06 18:47 
QuestionApplication Goes to Back of ZOrder after cloasing a dialog Pin
Sautin.net20-Dec-06 10:34
Sautin.net20-Dec-06 10:34 
AnswerRe: Application Goes to Back of ZOrder after cloasing a dialog Pin
Anthony Mushrow20-Dec-06 14:03
professionalAnthony Mushrow20-Dec-06 14:03 
GeneralRe: Application Goes to Back of ZOrder after cloasing a dialog Pin
Sautin.net21-Dec-06 4:55
Sautin.net21-Dec-06 4:55 
QuestionHow can I display a rather large array in a datagrid Pin
ComCoderCsharp20-Dec-06 10:16
ComCoderCsharp20-Dec-06 10:16 
AnswerRe: How can I display a rather large array in a datagrid Pin
jdkulkarni20-Dec-06 19:36
jdkulkarni20-Dec-06 19:36 

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.