6SC's Q&A profile
Visual Studio Team System Mapping between FxCop Rules and .NET Design Guidelines
Is it planned to implement a mapping between FxCop Rules and the "real" MSDN .NET Design Guidelines (Could be a table on some web page or something in the FxCop CHM). Regards Micha The version is identical to the standalone release, with the caveat that there is some difference in the rule set. The spelling rules are missing from VS and VS contains a new assembly for Maintainability rules that don't ship in the standalone. Custom rules development is an officially unsupported scenario, see the FAQ in this forum. Rules development will certainly be supported in the next VS release. ...Show All
Visual Basic Thread-safe call
The following gives the error (...does not have the same signature as delegate...) and I am not sure how to solve (being new to thread calls): Private Sub DataReceived( ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived If e.EventType <> IO.Ports.SerialData.Chars Then Exit Sub SerialData = SerialPort1.ReadExisting DisplayThread = New System.Threading.Thread( AddressOf ListBoxDisplayRawData) DisplayThread.Start() Me .ListBoxDisplayRawData.Text &= SerialData End Sub ...Show All
Visual C++ Migrating legacy code from BC5
Hi, My work is currently in the process of migrating a lot of code written in BC5 to VS 2005. We have hit one stumbling block. What I need is a way to concatenate strings in my resource editor. BC5 supported this and our resource files contain a lot of code which do things like: MENUITEM "About " BASEAPPNAME //BASEAPPNAME is #defined elsewhere In BC5 this creates a menu item with the text "About MyApp". In VC2005 it just won't compile. How can I replicate this BC5 feature in VC2005 Cheers, Ben There is a include file missing that uses a define for the BASEAPPNAME. Usually thi ...Show All
Visual Studio Check-in policy
I have created a check-in policy using the Beta version, the policy works fine but the only problem the configuration of the policy that I store using the 'Edit' method is not persisted so I have to recreate the policy each time I restart Visual Studio. Is there something that I am missing Hi Sajith, Can you give more details about the problem What steps do you follow Also do you mean "project policy" when you say "policy" Or is this something related to VSS Thanks Tufan ...Show All
.NET Development What should i be looking at for code reusuability
i have been set the following task in work "analyse our current systems and source code to identify potential area's which could benefit from either reusuable, self-contained components or from pre-developed code snippets. Production of a high-level spec detailing the components and code required" so im sorta stumped as to where to start with this basically all our systems are winforms or intranet based webforms in VB.NET 1.1 (moving to 2.0 at the mo) using SQL Server & Oracle backends. alot of the systems are for health trust/hospitals which share alot of the same functionality. i understand that we can have reu ...Show All
.NET Development Can't get a TCPClient Connection working
I've been working on this same thing for quite some time now. I'm trying to make an admin console to manage my IRC server, but I can't get past the beginning stages of establishing and maintaining a connection. I finally copied the code out of the project and made a new one with just a textbox, trying to just dump every bit of data I'm sent into that box, but even that isn't doing anything now. I've looked into IRC communication, so I know I'm using the correct syntax. Can someone look at this and tell me why I'm not seeing anything in my textbox In the project I copied this out of, I was getting one messagebox, which was good, but a little ...Show All
Visual C++ std::exception dtor linker error
I have an error when I'm linking my project, ported from VS7.1 to VS8.0 beta 2: LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" ( 1exception@std@@UAE@XZ) already defined in TestStdCpp.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " ( what@exception@std@@UBEPBDXZ) already defined in TestStdCpp.obj Here is my repro solution (350 kb zipped) http://loyso.m6.net/vs8_link_bug.zip Anyone - could you tell me, how to fix this Thanks, we are looking into it. I am also trying to understand who is using this #de ...Show All
Visual Studio Team System Work Item to Work Item associations
Is there a way to associated a work item with another work item When a task comes through, sometimes it may be required to assign different parts of the task to different deparments (PM, QA, Dev, Ops, etc), but we would still like those tasks to be associated with the single main task that brought about it. Is this functionality built in or do I need to make a custom Work item It's built in. The easiest way is when viewing a work item you can do Team, Add Related Work Item, but you can also link two work items together by going to the Link tab and picking the work item to link to. I normally do the latter when the work item already ex ...Show All
Visual Basic Simple Query about queries
Hi all I have just created my first paramerised query the .net way and embarrasingly i dont know how to call it and fill in the parameters. The Query is named fillby1. I tried copying the walkthrough in help but this built this code for me which doesn't add in the parameter. Try Me .NotesTableAdapter.FillBy1( Me .OrganiserSQLDataSet.Notes) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try Not sure of the names of your object but what you should have is something like this: Adapter.SelectCommand = FillBy1 Adapter.Fill(Dataset, Table) .... Me.Not ...Show All
Visual Studio Team System Need automatic notifications of bugs and work items via emails
We've got two offshore teams using the Team Foundation Server remotely. Sometimes, it's not easy for them to access TFS remotely via Visual Studio due to connection speeds and disruptions of connection in foreign contries. It'll be great if automatic email notifications can be set up for Team Projects on bugs and work items so they could stay on top of their tasks/priorities. Individual users can sign up for Alerts on Work Item and Version Control changes by opening Visual Studio, connecting to the Team Foundation server. On the Team menu select Project Alerts ... This will bring up a dialog that allows the ...Show All
Visual Studio Express Editions Connecting to a remote registry in VB 2005 Express
Hello everyone, I don't know if it is possible in the Express edition to do any sort of remote work. I seem to have seen something somewhere that sounded like it was not possible. Anyway, here is what I would like to do: Connect to the registry on a remote PC and read a key. My program works on my local machine. But, I am not sure how to change the code to run it against a remote machine. Presently I am using the: "My.Computer.Registry.GetValue" method. Any pointers would be much appreciated (my appologies if this question has already been answered somewhere. I tried looking ) Thank you much, Oozle_Finch ...Show All
Windows Forms Crystal Reports - Error connecting to data - HELP!
A little help please... I am still new to VB .net and Crystal Reports. I created a standard report using the wizard and then linked it to a form with the report viewer. I show this form when a button is pressed on my main form. When the button is pressed, I get a logon screen. I am using Access 2000 database with a database password ...Show All
Visual C# Default value on value-types
I have implemented a value type that use a string value as value container. I need to initialize this string with a "" value insead of null. Is it possible to explicitly initialize a value type Is there a way to run a default parameterless constructor Thanks, Felice R. Yup, that will work - so long as you (i.e. the original poster) are aware that if you create a new array of this type, then the string value will be null for each of the elements. Jon ...Show All
Visual C# maskedTextBox ,SelectAll
i got problem with masked text box while trying select text in the text box by pressing tab it is unable to select masked text box text. private void SelectMaskedText(object sender, EventArgs e) { ((System.Windows.Forms.MaskedTextBox)sender).SelectAll(); } this is not working Hello, I have the same problem. The text highlights correctly if the mask property is not set. If the mask property is set the select and selectall methods have no effect. Perhaps there is some interaction between the various properties. Your help is appreciated. Kind Regards, JimS ...Show All
Visual FoxPro Grid
How can we get those spaces which comes before and after the text in the grid column. You can see it in the browse form of data explorer. Thanks Guys Jitendra, If you look in your VFP/Tools/xsource folder there is a file called xsource.zip If you unzip this you will have the source code for all the VFP built components including the Data Explorer. - Craig. ...Show All
