GatorBait58's Q&A profile
Visual Studio Team System Changing Levels,Report Options, Altering existing rule
Hi, I am using VS2003 and FxCop 1.32 . I have following questions 1. I have created custom rules, but i want to ask whether it is possible to alter/modify existing rules 2. Can i change default levels of errors/warning like If i want to change Critical warning to warning .. how can i do it 3. Is it possible to log some specific messages to a different xml report in one run 4. I have added words in CustomDictionary.xml , but FxCop is not picking them. Why Thanks Hi Jeffrey, I have made changes in my CustomDictionary.xml file. I have removed the dataP ...Show All
Visual C# Cannot Install Amazon-Enabled Movie Collection Starter Kit
Hey hows it going I downloaded the Amazon-Enabled Movie Collection Starter Kit and when I double-click the .vsi file to install it and run through the wizard, the installation completes without a hitch. The MovieCollectionDL.zip file is properly placed in the My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C#\Starter Kits and all the files inside the zip file seem intact to me. However when I load Visual Studio 2005 Standard Edition, it does not show up anywhere in the New Project dialog, especially where it should be in the Visual C# > Starter Kits > My Templates As a test, I downloaded the Visual Basic version ...Show All
Windows Forms Comunication between two forms
Hi at all, i need to set the DataSource of my grid situated in FormA from FormB. How can I do Is it possible thanks i'm a newbie mikunos Yes its possible to pass values between 2 forms. There are many ways to acheive the same, depending upon your scenerio Are Form A and Form B part of the the same application If they are you can write a new Event on Form A and Fire It when the user selects a new data source. Form B would subscribe to this Event and in the event handling method it would receive the new Data Source and use it to refresh the Grid. Other way would be if you open Form B from Form A, then in the co ...Show All
Windows Forms HTTP listening question
Hello all, Now I know this is going to sound like a web server application, but I promise you it's not... I am writing a windows forms monitoring application that I'm basing on SOAP. So my application needs to be listening at all times for any SOAP messages coming from the dispatcher. Once a message is read and parsed, the text will be  ...Show All
Visual Studio Express Editions atlbase.h
While trying to convert com projects from VC6.0, I get: LINK : fatal error LNK1104: cannot open file 'atlthunk.lib' This is from atlbase.h . There is no way I can just comment out the #include for that, as some lucky programmer here said he did. It causes many projects to err out. Is there any way to get around this linkage error something like "#pragma error disable: 1104)" (wild stab in the dark here) Note that atlthunk.lib was not on my vc6 system, and apparently on anyone elses either. Short of modifying atlbase.h, I don't know what to do, unless maybe create a dummy lib and rename it and stick it in the lib sear ...Show All
SQL Server Report item expressions can only refer to other report items within the same grouping scope or a containing grouping scope.
I still don't get this. I want to reference another textbox. I've tried these expressions below and get the same error. For instance, I'm referencing this from textbox6. I've put the data in a group, doesn't work. How do I reference different reportitems Thanks =ReportItems!textbox15 =ReportItems!ThresholdIncome.value =ReportItems!ThresholdIncome.value,"table1_Group1" You should be able to reference textboxes in the same or a containing scope. This first expression would return you the textbox object. The second one should work if ThresholdIncome exists in the same or a containing sco ...Show All
Visual Studio 2008 (Pre-release) Binding to Window property
I'm trying to trigger an animation based on a change of a value of a window's property. Basically what I have is a class 'VisibleItem', which implements INotifyPropertyChanged and is exposed by my Window1 as a property also named VisibleItem. Like this: public partial class Window1 : Window { public VisibleItem VisibleItem { get {... } } } The XAML looks like: <DockPanel Width="200" Height="200" Background="Azure" DockPanel.Dock="Top"> <Button DockPanel.Dock="Left" Height="20" Name="btnIn">In</Button&g ...Show All
Software Development for Windows Vista Firewall outbound exception configuation.
I know that it is possible to configure outbound firewall exceptions with the new 'Windows Firewall with Advanced Security' MMC snap-in. However, how do I configure such exceptions through code The XP SP2 firewall interfaces do not appear to have been extended according to the Vista SDK documentation. Any help would be much appreciated. Mark. The documentation for the interfaces < http://msdn.microsoft.com /library/default.asp url= /library/en-us/ics/ics/windows _firewall_interfaces.asp > mention that they work with Vista. ...Show All
.NET Development delete first row in CSV file
Greetings everyone, I have a CSV file and for some reason the first row is bunch of junk data. Is it there a way to delete the first row using C# ... my boss wants a win application and i am a DB developer... i know very little about C#. Thank you in advance. Waiting for your input. Ion Hi, The easiest way to do this would be like this: using System; using System.IO; namespace ConsoleApplication2 { /// <summary> /// Summary description for Class1. /// </summary> class Class1 { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void ...Show All
Visual Basic Refactor slow and not quite stable
1. Opening VS2005 is slower, and opening a project is slower. No big deal, but if you start opening files before DXCore is finished loading, it hangs for quite a while. 2. Cursor movement is jerky, and somewhat annoying. This is on an AMD 3200+ w/GeForce6200. 3. Several times I accidentally hit both mouse buttons and/or keyboard keys, causing an IDE crash with loss of data. I mention this only FYI; these would not be big problems if I had found it useful (especially given that it is given.) The uninstall seemed to have worked. I will mention the IDE itself is very stable compared to Beta. Bravo! ---Mike ...Show All
Visual Studio 2008 (Pre-release) How can I generate WSE-enabled webservice proxy with command line wsdl.exe?
Hi, I have a WCF service. How can I generate WSE -enabled webservice proxy with command line wsdl.exe tool for the WCF service Thanks in Advance, Venkat I am not wse expert,looks like we can use wsewsdl3.exe to generate proxy http://msdn.microsoft.com/library/default.asp url=/library/en-us/wse3.0/html/fbefe453-3851-439b-9c10-fb036b59ff81.asp If you enbale wse3.0 for your project,Add service reference wizard should generate wse proxy. please let me know above options working for you or not,If not,I will check with our wse experts. -Thank you Madhu ...Show All
Visual Studio Express Editions data view multiple search
hi there any advise would be greatly appreacated im trying to filter a datagrid i only want to show records with eather 1 or 2 or both in one column but i cant seam to figure it out the code i have so far goes as follow but it only shows the rows with 2 in there column Dim toorder2 As Integer Dim toorder As Integer toorder = 1 toorder2 = 2 Me .Tyre_stockTableAdapter.Fill( Me .WorkshopDatareoreder.tyre_stock, New System.Nullable( Of Integer )( CType (toorder, Integer ))) Me .Tyre_stockTableAdapter.Fill( Me .WorkshopDatareoreder.tyre_stock, New System.Nullable( Of Integer )( CType (toorder2, Integer ) ...Show All
SQL Server Deployment 'utility' script using sqlcmd
Hi all, I'm looking at creating a sample utility script that will invoking scripts to deploy some SQL code. For example, a utlity script that will run a SQL script, and on successful completion, execute the next script. Having not used SQLCMD at all before, and being very new to SQL2005 (< 1 month) please guide me if there is a better way of invoking this... For example, a way of avoiding the xp_cmdshell invocation! The following code invokes a script, but I'm trying to find a way of getting a return code back from sqlcmd, so I can progress and do the next, or fail if the return code <> 0 (success). [code] ...Show All
Visual C# String Manipulation. Substring
Hi, I need to know how can I transform the following string: string recv = "Matthew:White:13:044532453"; Note the colens (:) in the string to the following four string: string name = "Matthew"; string surname = "White"; string age = ...Show All
SQL Server Duplicate Data Sources - SSRS 2005
Why am I seeing 2 sets of datasources here (SSRS 2005): http://www.webfound.net/2_sets_of_datasources.jpg I don't understand why my report also has the same datasource names (2 of them) as the main data source folder out in the root under home. And why can't I delete the ones under myreport so I can re-deploy them from VS 2005 instead of the overwrite option in VS when deploying my recordsets ...Show All
