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

.NET (Core and Framework)

 
AnswerRe: Slow repaint of controls Pin
Luc Pattyn16-Sep-07 22:57
sitebuilderLuc Pattyn16-Sep-07 22:57 
QuestionDatatype Issue with .NET DLL Pin
mpavas16-Sep-07 20:57
mpavas16-Sep-07 20:57 
GeneralRe: Datatype Issue with .NET DLL Pin
Paul Conrad31-Dec-07 9:24
professionalPaul Conrad31-Dec-07 9:24 
GeneralRe: Datatype Issue with .NET DLL Pin
mpavas1-Jan-08 20:07
mpavas1-Jan-08 20:07 
QuestionRE: disable an excel menu Pin
dienadel16-Sep-07 16:51
dienadel16-Sep-07 16:51 
AnswerRe: RE: disable an excel menu Pin
Paul Conrad16-Sep-07 17:28
professionalPaul Conrad16-Sep-07 17:28 
GeneralRe: RE: disable an excel menu Pin
dienadel16-Sep-07 18:09
dienadel16-Sep-07 18:09 
QuestionHow to resolve this error: "A history operation is already in progress" Pin
Mushtaque Nizamani15-Sep-07 0:16
Mushtaque Nizamani15-Sep-07 0:16 
Hi,
The function mentioned in code returns the comments of a latest version of a source safe file item, when i call this function twice for two different source safe files, i get the error "A history operation is already in progress", and due to that unable to get the comments of second file, Any Idea how to resolve that.

public string GetCommentsOfLatestVSSItem(string strVSSItemPath)<br />
{<br />
  // m_SSDB is a valid and connect object of VSSDatabase class.<br />
  IVSSItem objVSSItem;<br />
  objVSSItem = m_SSDB.get_VSSItem(strVSSItemPath, false);<br />
  string strComment = ""; <br />
  foreach (IVSSVersion vssVersion in objVSSItem.get_Versions(0))<br />
  {<br />
     // The first one is the latest so get that and return<br />
     strComment = vssVersion.Comment;<br />
     return strComment;<br />
  }<br />
  catch (System.Runtime.InteropServices.COMException ex)<br />
  {<br />
    return ex.Message + " -> " + ex.StackTrace;<br />
  }<br />
  catch (System.Net.WebException we)<br />
  {<br />
    return we.Message + " -> " + we.StackTrace;<br />
  }<br />
  catch (System.Exception ex)<br />
  {<br />
    return ex.Message + " -> " + ex.StackTrace;<br />
  }<br />
<br />
}


Best Regards,
Mushq

Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan

AnswerRe: How to resolve this error: "A history operation is already in progress" Pin
Luc Pattyn15-Sep-07 1:30
sitebuilderLuc Pattyn15-Sep-07 1:30 
QuestionTechnologies for multiple-question application form. Pin
walkeraj14-Sep-07 10:52
walkeraj14-Sep-07 10:52 
AnswerRe: Technologies for multiple-question application form. Pin
Pete O'Hanlon16-Sep-07 9:20
mvePete O'Hanlon16-Sep-07 9:20 
Questiondetecting media player Pin
d_smit13-Sep-07 1:04
d_smit13-Sep-07 1:04 
AnswerRe: detecting media player Pin
Kenny McKee25-Sep-07 16:01
Kenny McKee25-Sep-07 16:01 
QuestionVS Designer Integration Pin
Tristan Rhodes12-Sep-07 23:38
Tristan Rhodes12-Sep-07 23:38 
AnswerRe: VS Designer Integration Pin
Dave Kreskowiak13-Sep-07 6:15
mveDave Kreskowiak13-Sep-07 6:15 
QuestionDoubts regarding Exception Throwing Pin
dreamz648012-Sep-07 22:02
dreamz648012-Sep-07 22:02 
AnswerRe: Doubts regarding Exception Throwing Pin
Pete O'Hanlon12-Sep-07 22:20
mvePete O'Hanlon12-Sep-07 22:20 
GeneralRe: Doubts regarding Exception Throwing Pin
dreamz648013-Sep-07 1:21
dreamz648013-Sep-07 1:21 
GeneralRe: Doubts regarding Exception Throwing Pin
pmarfleet13-Sep-07 1:35
pmarfleet13-Sep-07 1:35 
GeneralRe: Doubts regarding Exception Throwing Pin
Urs Enzler13-Sep-07 1:36
Urs Enzler13-Sep-07 1:36 
GeneralRe: Doubts regarding Exception Throwing Pin
Scott Dorman13-Sep-07 4:25
professionalScott Dorman13-Sep-07 4:25 
AnswerRe: Doubts regarding Exception Throwing Pin
Luc Pattyn13-Sep-07 1:45
sitebuilderLuc Pattyn13-Sep-07 1:45 
GeneralRe: Doubts regarding Exception Throwing Pin
dreamz648013-Sep-07 3:51
dreamz648013-Sep-07 3:51 
GeneralRe: Doubts regarding Exception Throwing Pin
Luc Pattyn13-Sep-07 3:55
sitebuilderLuc Pattyn13-Sep-07 3:55 
AnswerRe: Doubts regarding Exception Throwing Pin
PIEBALDconsult18-Sep-07 6:14
mvePIEBALDconsult18-Sep-07 6:14 

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.