gamer36's Q&A profile
Visual Studio Team System Cyclomatic Complexity
Hi, How can I view the 'Cyclomatic complexity' using VSTS tools Thanks, Praveen Praveen, I believe that the rule is in the maintainability section and it is called something like "Avoid excessive complexity." By default it will trigger a warning with cyclomatic complexity over 25 and it will upgrade that warning as complexity increases. If you want to configure that rule or add new code analy ...Show All
Visual Studio Express Editions Why? My post dissapeared.....
Hi, I posted a question about 9:00-10:00 UTC, but it is disapared... I'm just curious, what happaned Did I do something wrong Is there any extra rule, what I have to fulfill I know, probably this isn't the best place to ask questions like this, but as my post was here so I ask here. My post seems to be removed for some reason.... Thanks in advance, Lacko Hi Ayman, Yes, I realized ...Show All
Visual Studio Team System Recommended setup and hardware requirements?
Reading my question please note, that I haven't yet received Beta 2 and consequently haven't read the documentation included in Beta 2. Problem: We would like to establish a test environment with the Team System Foundation Server that is as similar to the final production environment as possible. I have searched the web for descriptions of the recommended setup and hardware requirements and the closest I got to answers i ...Show All
Visual Studio Express Editions Which version of Visual C++?
Hi Folks, I would like to buy Microsoft Visual C++ to do write some simple Windows applications perhaps using DirectX in them. I am not really interested in .NET or web development, and would just like to write C++ applications using resources such as graphics/icons/sounds that compileto executables. I am a bit confused about what product I need to buy. Looking at past products, I can see that I would want something similar to Visual ...Show All
Visual Studio Tools for Office Change Picture's Image Dynamically By C# code
Hello, I use Pictures (not PictureBoxes) within my Word 2003 Document to display images (mostly chart images). I add them through Insert -> Picture-> FromFile. I found it extrimally difficult to deal with WinForms controls due to the issues with their persistance. No sample projects work for me. When document gets saved and re-opened I get the error about missed Expansion pack and my action pane gets detached:( I wond ...Show All
Smart Device Development Issue with TCPClient.GetStream
Hi everyone, I'm having a problem with a PPC app I'm working on. It has to transfer xml files back and forth to a server. Right now, I'm just trying to debug the network code with it sitting in the doc and running in debug mode. I am using the TCPClient and TCPListener classes to handle communications. Communication from the PPC to the server (the workstation it's connected too) works fine. The file gets shot down the pipe with no problem. Bu ...Show All
Windows Forms Reordering Columns in DataGridView Programmatically
Hello. I need to create different "views" of the grid, and depending on the view selected, the columns of the grid need to be reordered. Is this possible Thanks! Griffin Yes it is! - Just change the DisplayIndex property of a column and the column will reorder. Note that I'd recommend doing this on a build after Beta2 build since we have made some improvements in this area. Hope this helps! -mark DataGridView P ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rendering anti-aliased smooth text
Hello, I searched for a way to render an anti-aliased smooth ( and with a ClearType) text, But I didn't find . I want also to add a shadow to the font Thanks, Mustafa ELBanna MustafaELBanna wrote: Hello, I searched for a way to render an anti-aliased smooth ( and with a ClearType) text, But I didn't find . You probably don't want to us ...Show All
Visual C# How do I pass a class to another form?
I have 2 forms and I create an instance of a class and I want to pass that to form2 when I push a button. how do I do this My example below is kind of what i'm doing. ex (this is sort of pseudocode).. public class Form1 { //I want to pass myConfig to Form2 and not create another instance in Form2 private Config myConfig = new Config() private void Form1_Load(object sender, EventArgs e) { } private void button1_click(object sender ...Show All
Visual Basic Splash Screen and Message Box
My app launches a splash screen and then attempts to authenticate the user in the database. If it fails, it displays a message box informing the user of this. This authentication takes place in the LOAD event of the MDI form. My problem is that the message box always displays behind the splash screen. The only way to see it is to click anywhere on the app. Then the splash screen goes away and the message box is shown. If I try to refer to the ...Show All
Windows Forms DataGridView Edit Menu
Is there an example of a DataGridView popup menu for cut/copy/pasting rows along with the code for cut/copy/pasting the rows . The popup menu pops up when the user right clicks on the row selector column for the row(like in MS Access). ...Show All
Visual Studio Express Editions Visual C++ Runtime Library
HELP... I have a runtime error on Windows/system32/RMG.exe every time I turn on my computer...can't shake it out To "Dee Davison": This problem is caused by rmg.exe (a possible spyware). It is nothing to do with Visual C++ (apart from the fact that it was written in a programming language called Visual C++). In any case, this is wrong place to ask such questions. Go ask the people who made rmg.exe for support. Do you know wh ...Show All
.NET Development OleDbCommand.ExecuteNonQuery "Insert Into Select From"
Hello, I am working with OleDb to perform a bulk insert from a temporary table to permanent database table, both of which belong to the same database. I am wanting to use "INSERT INTO <permanent_table> SELECT * FROM <temp_table>". The query I run in MS Access to perform this bulk load does process correctly, but not in code using OleDb. After properly setting up my OleDbConnection object, opening it, and properly ...Show All
Windows Forms Prompt for reboot with installation project
Hi, I have built an installation project in VS2003 (VB) and set environment variables and other things that require a reboot for the changes to take effect. The question is: How do I get my installation project to prompt for a reboot after the installation has completed Any ideas Thanks, Matt In the world of ClickOnce non-impactful deployments reboot after installing a ClickOnce App is a BIG NO NO. A clickonce app should never need a rebo ...Show All
Visual C++ Type casting question
I need to convert one legacy C++ type to .NET type.I would like to know which is the preferred one.I am writing code in managed C++. int a; 1)System::Int32 i = (System::Int32)a; 2)System::Int32 i = Convert::ToInt32(a); Thanks in advance Jimmy Martin, I agree with your thoughts. Thanks a lot, Jimmy ...Show All
