Software Development Network Logo
  • Visual FoxPro
  • SQL Server
  • VS Team System
  • Windows Vista
  • VS Express Editions
  • Visual C#
  • Visual Basic
  • Visual Studio
  • Windows Forms
  • Microsoft ISV
  • Architecture
  • Windows Live
  • Visual C++
  • Smart Device
  • Visual J#

Software Development Network >> Raul Sanches Nincao's Q&A profile

Raul Sanches Nincao

Member List

Robert Pickering
jbranton
jreyes97
MichaelMouer
steve1977
Sandro G
Paul ORear MSFT
LLIAMAH
vandershnozz
Ricky Wen - Microsoft
eThikas
RpM
Ronald Tan
DustinT
ghostman
eiger
MuraliN
MudMike
limelight
CyberShoggy
Only Title

Raul Sanches Nincao's Q&A profile

  • Visual Studio Team System Check for throw or rethrow in a try block

    Thank you David ...I have another question.... How can I check if there is any sentence in a block ... for example i want to check an empty catch and I do this: public override ProblemCollection Check( Member member) { Method method = member as Method ; bool isCatchExists = false ; bool isThrowExists = false ; if (method == null ) return null ; InstructionList iList = method.Instructions; for ( int i = 0; i < iList.Length; i++) { if (iList .OpCode == OpCode ._Catch) { isCatchExists = true ; } if (isCatchExists) { if ((iList .OpCode == OpCode .Throw) ...Show All

  • Visual Studio Tools for Office Use Microsoft.Office.Tools.Word.Bookmark in a Shared Add-In for Word ?

    Hi, Is it possible to programmatically add a Microsoft.Office.Tools.Word.Bookmark that provides additional events compared to Microsoft.Office.Interop.Word.Bookmark I have attempted to do : Microsoft.Office.Interop.Word.Bookmark bkm = WordApp.ActiveDocument.Bookmarks.Add("MyNewBookmark", ref rng); And then cast the bkm to a Microsoft.Office.Tools.Word.Bookmark but it doesn't work. Can someone help me please Thank you Hi, It's not possible to cast a Microsoft.Office.Interop.Word.Bookmark into a Microsoft.Office.Tools.Word.Bookmark; however, using VSTO, you can use the AddBookmark method. For ...Show All

  • Visual Studio Team System Team Suite vs. Team Foundation Server

    Hi! I am new to this so my question must sound stupid. What is the difference between Team Suite an Team Foundation I presume that I cannot even compare them Is team foundation included in TS When I get TS, do I get also Visula Studio 2005 and Team Foundation Is there any need to install Team Foundation when you have TS installed A lot of questions... sorry. As I have said, I am new to this and do not know the difference between does two products. Thank you! Hi raoul! Let me first start by saying that this is my understanding of everything. If I'm wrong, please forgive me and please let me know what's ...Show All

  • Visual Studio Team System CI and Team systems

    I have realized that MS has for some reason decided not to make Team Services support CI. This is for me a very strange decition. Especially when the other tools that are now coming bundled with VS are supporting true Agile processes so well. I have seen a lot of "workaround" suggestions to this problem. But they seem mostly to be made by people who really don't understand the CI workflow. So to help out I have decided to post this little list of requirements of what a CI server needs to do. -Periodically check for changes ( as in every 5 minutes compare current changelist with latest successfull or failed changelist.) -Check if a build is ...Show All

  • Visual Studio Team System Import manual tests from Microsoft Word

    I'm trying to copy manual tests from Word to Team Test without editing the format. Is it possibe to import the test and not edit the formatting Hello, We currently do not support importing word documents as manual tests for this version. We will definitely consider it for next one. Today if you want to have a manual test in your solution, you have to create it from within your test project. If you want to change the format that we currently support, then you will have to modify the template that exists in the following location: ..\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\CSharp\1033\Manu ...Show All

  • Visual Studio Team System CA0055 Could Not load x.dll

    I am using Code Analysis in VS 2005 Developer edition. I have a Web Application that works just fine - however FXCop tells me that it gets an error CA0055 could not load WYSIWYGeditor.dll - which is an add in functionality for web editing made at Innova studios. This project resides in source control and is located in the BIN folder. Is there anyway to fix this error or have FxCop ignore the Bin directory Thanks I'm guessing that the DLL that won't load was compiled against 1.1 whilst your other assemblies have been compiled against 2.0 If this is the case then an exception is being thrown in the IntrospectionAnalysisEngine.dll: The f ...Show All

  • Windows Forms .NET memory management

    I am working on a Windows Application (C#) and invoking crystal reports and exporting the same to Excel.  While doing so, the memory that my application is using is increasing, but is not reducing (ie memory is not released) after the process is over. I have seen this in the Task Manager.  I am disposing the crystel reports object and making the&n ...Show All

  • Visual Studio Team System "Normalize strings to uppercase" rule

    One of the new rules in 1.32 is the "Normalize strings to uppercase" which tells me to "replace the call to String.ToLower(CultureInfo.InvariantCulture) with String.ToUpper(CultureInfo.InvariantCulture)". I am missing the point of this new rule - why is a conversion to uppercase any more accurate than a conversion to lowercase when using the invariant culture   Guy This would be an extremely difficult analysis to perform, as it would require tracking values across method calls and field assignments. FxCop's data flow analysis is restricted to a single method body. You're right that this rule is fairly ...Show All

  • Visual Basic TEXT FILE PROBLEM..HELP ME

    Hello all, I want to know how to append my data into text file(C:\). My problem is when I append a data into text file, The data are appended in bottom of the Notepad text file. I want most recent appened data will be added into top of the file. My code follows, Dim s As String s = RsP.Fields("birthday") & vbTab & RsP.Fields("SEX") & vbTab& RsP.Fields("Weddate") & vbTab & RsP.Fields("spouse") & vbTab & RsP.Fields("marriage") & vbTab & RsP.Fields("DATE1") & vbTab & RsP.Fields("DATE2") & vbTab & RsP.Fields("date3") & vbTab & RsP.Fields("date4") & vbTab & ...Show All

  • .NET Development ADO.Net-DataAdapter.DeleteCommand Can't Delete Row

    I recently develop a tool to add, edit, delete, filter, search, locate record on a Database Table. Also includes Relations, my tool uses sqldataadapter, dataset.etc.   My problem is when I try to perform a Delete of a record look my code :   Private Sub UpdateData()         Dim p As ParameterControlUpdate       Dim TableToUpdate As String = m_grdTableStyle.MappingName       Dim Cmd As SqlCommand         Try         Cmd = New SqlCommand   ...Show All

  • Visual Basic late binding error

    Can someone take a look at my code below and see why it gives me this error It works fine when I turn off the Option Strict. Error: Compiler Error Message: BC30574: Option Strict On disallows late binding. Code (error line hilighted): Dim localCart as Object Dim newQ As String Dim i As Integer Const CARTPID As Byte = 0 Const CARTPNAME As Byte = 1 Const CARTPURL As Byte = 2 Const CARTPPRICE As Byte = 3 Const CARTPLIMIT As Byte = 4 Const CARTPQUANTITY As Byte = 5 Const CARTPNUM As Byte = 6 Const CARTPIMG As Byte = 7 Dim limitMsg(100) As String Dim limitInfor As String localCart = Session("cart& ...Show All

  • Visual Basic Unable to cast object of type 'System.Diagnostics.TextWriterTraceListener' to type 'Microsoft.VisualBasic.Logging.FileLogTraceLi

    Hi I am trying to access My.Application.Log.DefaultFileLogWriter.FullLogFileName and I am getting the following exception:  Unable to cast object of type 'System.Diagnostics.TextWriterTraceListener' to type 'Microsoft.VisualBasic.Logging.FileLogTraceListener'. Can some please tell me why.  Here is my app.config: < xml version="1.0" encoding="utf-8" > <configuration>     <system.diagnostics>         <sources>             <!-- This section defines the logging configuration for My.Application.Log --> ...Show All

  • Visual Studio 2008 (Pre-release) TransportWithMessageCredential interop

    I'd like to consume a WCF service from a VS 2003/.Net 1.1 c# client. So far, I have the following in my server config: < xml version ="1.0" > < configuration xmlns ="http://schemas.microsoft.com/.NetConfiguration/v2.0"> < system.serviceModel > < services > <!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages --> < service type ="MyService" behaviorConfiguration ="returnFaults"> < endpoint contract ="IMyService" binding ="basicHttpBinding" bindingConfiguration ="Binding1"/> ...Show All

  • Visual Basic How to detect when default browser closes

    Hi, The usual (.net) way to do this is by using System.Diagnostics.Process.Start and attaching an event handler as follows:  Dim proc as New Process  AddHandler proc.Exited, AddressOf BrowserClosed  With proc        .StartInfo.FileName = "IExplore.exe"        .StartInfo.Arguments = url.ToString        .EnableRaisingEvents = True        .start()  End With This does indeed work fine. However what I want is to boot the default browser, which may not be IExplorer. If I change the code to the followi ...Show All

  • Visual Studio Team System Code coverage / testing errors in Team Build

    I've been trying to get code coverage working from Team Build builds. I read about removing the path from the "binaryFile" tag in the testrunconfig, so I did that -- no dice. Next, I edited the team build file to add "/runconfig:$(SolutionRoot)\localtestrun.testrunconfig" to the TestingArgs element. After that, I got a complaint from the build log, that vsinstr.exe couldn't be found in the PrivateAssemblies folder. I copied from my machine to the server, but obviously that didn't work (so I removed it). The build now fails, with these errors in the testing section: Run has the following issue(s): Instrumentation tool VsInstr.exe cannot ...Show All

©2008 Software Development Network