Matrose's Q&A profile
Visual Studio Team System 1.32 Custom Rules not working in 1.35
We've created some custom rules for 1.32, and they worked fine. But when we try to open the rule dll in 1.35, it tells us the assembly contains no fxcop rules. This happens if we download a working sample rule for 1.32 also..... Anyone have any advice Thanks! David David, As FxCop 1.35 is now compiled under .NET 2.0, you will need to recompile your rules assembly under .NET 2.0. Also make sure that you update your project's references to point to the FxCop 1.35 version of the FxCopSdk and Microsoft.Cci assemblies. Regards David ...Show All
Windows Forms TableAdapter no update?
Hello! I have create an application with vs2005. I work to a sql server 2005. I have problem to bind my control, modify my dataset but when i try tu update my tableAdapter, my data are not updated. I have create my TableAdapter by design.My code: this .suppliersTableAdapter.Update( this .desktopInventoryDataSet.Suppliers); I have not error. Have you got any idea Best regards, Wavemill Sorry, I have found the problem.It's an error of me. Best regards! ...Show All
Visual Basic converting to integers
I have the following expression: b(1717) = CInt(haveRecorder.Checked) where: b is a byte array, haveRecorder is a checkbox I thought it would take the booloean value of haveRecorder.Checked and convert it to an integer which can be stored in b(1717) . If it wasn't checked then it would convert false to a 0 or if it was checked it would convert true to a 1. Instead it gives me an error about overflow. It says the number is either too large or too small for an integer. The value (I thought) could only be 0 (not checked) or 1 (checked). I have no idea what is wrong (other than the overflow). Enjoy! CInt(true) = -1 I would recom ...Show All
Visual Studio Team System Gaps in Unit Test Documentation, Help Needed
At the risk of seeming an absolute dud, I am having problems getting Unit Tests to work on several fronts. The doco is missing some key points and seems to have no actual ZIP files with simple project samples. Make life hard for a newbie in this area to get off the ground. I have Test Suite which includes Team Addition for Testers . My context is I want unit testing to work mainly from my application code (by manually adding [TestMethod] attributed unit tests in my application code) . These are my issues / questions : >> I assume you have to always make a default dummy test project (via & ...Show All
.NET Development Error passing a large variable as a parameter to a remote method
When passing a large byte array as a parameter to a remote method, I get the following error: System.Runtime.Serialization.SerializationException: The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-57-65-62-2E-48-74-74-70-45-78 ... Server stack trace: at System.Runtime.Serialization.Formatters.Binary.SerializationHeaderRecord.Read(__BinaryParser input)... etc. The largest byte array I can successfully pass across the wire is 4,193,890 elements in size, as soon as I go to 4,193,891 it bombs out with the above exception. I am running the .NET Framework 2.0 Beta 2. The server is ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch:SSE2 /c /EHa /FD /GF /GL /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Ow /Oy /TP /W3 /WX /Zi (vc2005)/arch:SSE2 /c /EHa /FD /G7 /GF /GL /GS- /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Oy /TP ...Show All
Visual Studio Team System Update documents on process guidance.
On the process guidance you have many files but I want to use my word templates, how can I change them and upload for the incoming new project You can use the Process Template Editor for this task: http://www.imaginets.com/Default.aspx tabid=133 Beto ... ...Show All
Visual Studio Changing behavior of "Show XSLT Output"
I want to change the behavior of the "Show XSLT Output" button in Visual Studio. Essentially, I want it to use whatever process it is using to render the transformation, but I want it to display the output in my own custom integrated web browser. Can you give me some pointers as to where to begin this project You only possibility is to override the command and handle it yourself. For example, you could use CommandEvents.BeforeExecute to do this. Craig ...Show All
Visual Studio 2008 (Pre-release) Trust Not Granted
Hi, I've just installed WinFX Runtime Components - February CTP on my Windows Server 2003. Why I'm getting "Trust Not Granted" message when trying to execute sample xaml files Germans Can you tell me a bit about your machine What version of IE are you running Thanks, Karen ...Show All
Visual Studio Custom Data Visualizers
I have seen the Custom Data Visualizers and I attempted to create one but I found the sample to be extremely lacking (or perhaps I am thinking lightyears ahead of the plans of the VS.NEt team again) A sample of what I wanted to do was I wanted to be able to build into vs.net such that the data visualizer for something like a hashtable. would have an extra row. And when this row was expanded it would display 2 columns. Column 1 would show all of the keys and column 2 would show each object associated with the key. A more advanced sample would allow one to expand the object used as a key or the object used as the value. (I somehow get the fee ...Show All
Windows Forms exe file creation
hi, i want to create a stand alone exe of my windows application. After creating a windows application I simply copied the exe file found in the "bin" directory much to my dismay that the file reqires .net v 1.1 when tried running in a different machine. I am at loss regarding how to create exe .. Any of you have any suggestions Varun ...Show All
Visual Basic Hi iv ben programing in vb5.0 and i would like to get vb6.0 can i?
Iv ben programing in vb5.0 for about 2 years and i would like to get vb6.0 but i cant find it. And i dont like .net because: 1 it's not as ez to use. 2 it will not work on windows 98se Dose any know ware or how i can get vb6.0 Thanks Hi I don't believe you can buy VB6 anymore (retail at least). Your best bet would be something like e-bay. However, I personally would recommend that you look into .NET. It is definitely the way forward and although you can do a lot with VB6, there is not as much support for it anymore save for forums, newsgroups and the like. Also, Microsoft have made great efforts to l ...Show All
Windows Forms Change MessageBox Buttons Text
Hi for ALL I am use the MessageBox.Show() to Provide a Standard MessageBox in My App I am using VB.NET 2.0 My REQUEST IS :- How to change the Text "Yes", "No" , "OK, "Cancel" to provide my own from My Language Thanks for all sorry for any bad english If you want to change text of message box buttons , you will have to use windows API's and hook them. The similar example can be found at http://electroly.com/mt/archives/000005.html Check it out for detailed view ...Show All
Visual Studio Team System Source control and Sharepoint Integration
I'm poking around with TFS beta 3 right now, and I have to admit I've gone through a fair bit of confusion. For now, my needs are pretty specific. The company currently has a microsoft office sharepoint portal server 2003 installation, and we're looking at moving to TFS sometime in the future. One thing that we would like to do is get our source control integrated with sharepoint. More specifically, we've got some non-technical folks who are going to want to use source control for things like documents, spreadsheets, etc. and we were hoping to be able to let them do that through sharepoint, but also have it use the same backend that the deve ...Show All
Windows Forms Datagridview with gradient background
hi, how can i implement a datagridview with a gradient background i can not raise the OnPaintBackGround event... Thanks Hi, You can write code in the Paint event handler as shown below: Private Sub DataGridView1_Paint( ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles DataGridView1.Paint Dim lgb As New Drawing2D.LinearGradientBrush( New Point(20, 20), New Point(450, 20), _ Color.DarkGreen, _ Color.LightBlue) e.Graphics.FillRectangle(lgb, 20, 20, 430, 180) End Sub Hope that helps. Regards, Mamta ...Show All
