SLG29's Q&A profile
Visual Studio Team System Extendable?
I am interested in extending FxCop. Is it extendable at the framework level Can we write event handlers or Services that say – once an error report is created it is sent to a server which displays the report in a list for all to see. Thanks FxCop wasn't designed as a general framework for driving analysis and results. We recommend using the command-line tool in a scripted system for this sort of work. For the next major release, we are looking at componentizing certain aspects of FxCop, such as rules configuration and output, to support a broader range of execution scenarios, but we haven't yet made def ...Show All
SQL Server SOAP API
Is there any API available for getting assigned role information For eg: A user xyz has a browser role and other user zzz has a content manager role. Now, I should be able to pass the user credentials and get back the assigned roles. Thanks, No, such an API does not exist. The reason is that the "roles" that a user is assigned to depends on the item in which they are acting on. A given user might have "Content Manager" role on one item in the catalog, but not have any role on some other item in the catalog. In order to determine the roles in which different user groups are in for a particular item in the ca ...Show All
Windows Forms Deploy ?
how i can deploy my app in pocket pc i want easy way .... thanx ...Show All
Visual Basic Overloads in a Module
Can I not have multiple Overloads in a single Module I'm converting from VB6 to .net and I'm having the issue of trying to use the same sub or function with different forms. I thought the solution might be to use an overloads statement, but it seems to only let me use one. Here is an example: Overloads Sub gp_DisableInputs( ByRef frm As frm1, ByRef DIndx As Short ) Overloads Function gf_Method( ByRef frm As frm2 , ByRef DStructure As DirectStructure) As Boolean The first one seems to work fine, I get the blue line under the second and I can't complie. Any suggestions ...Show All
Software Development for Windows Vista Problems with state persistence and timer services
Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress is evident every time: With the state and/or timer service enabled, the flow gets stuck on ListenForManagerApproval and then after a while the workflow gets the status "aborted". Any ideas why ...Show All
Smart Device Development "the new connection uses a data provider that is not supported"
When attempting to estbalish any form of data connection in my mobile device project I get - "the new connection uses a data provider that is not supported" That's in designers, right (there's no such message in NETCF runtime). Which data base you're trying to connect to NETCF only supports SQL Mobile and SQL Server 2000/2003; you'd need 3rd party provider for other DBs. ...Show All
Visual FoxPro Report Variable : sub totals are multiplied by times the report is randered
Hello there, This is my first post on this forum so i will be descriptive. I am using visual foxpro 9.0 sp1 with postgresql 8.1 for the db, i get the base of my report with sql result. The report that i do need sub-totals based on the customer changes. So i have a table of all records which is indexed based on the customer. When it changes i print the subtotals. This table has 5 - 8 child tables (details of customer, details of tariffs, general total, etc ) I have created few variable to do the sub totals (pieces, weight, ..) but the result is for example: 1 subtotal is following only 1 line of 1 piece, 0.7 kg the sub totals will be 2 ...Show All
.NET Development Transaction locking locks whole table!
moved here from http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=32&SiteID=1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi, I'm having a problem with transaction locking. I need to BeginTransaction, read each line from a file and insert it to a table, then either Rollback or Commit the txn if all the inserts work. This is how I'm declaring the BeginTransaction... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xConn = New SqlConnection("server=XXX;database=XXX;user id=xxx;password=xxx") xConn.Open() xConn.BeginTransaction(IsolationLevel.ReadCommitted) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Then I read each line from a file, cre ...Show All
Microsoft ISV Community Center Forums VBA erase Image control
(My English forgives me) I need a help with this code, please help me I have 2 routines Incluir, adds 7 controls image for line whenever he finds the word Graphic Problem1, the image did not manage to put name to Borrar, it must eliminate the images that it is in this sheet Problem2, everything eliminates me and they are only the images those that I want to erase, since also I have buttons and cbo If they want to prove to a sheet in Excel 2003, change the name to brand place 2 CommandButton, write in B10, B25, B45, 60, Graphics and pegen this code --------------------------------------------------------------- Dim ...Show All
Visual Studio Express Editions Print to file
Hello, I am trying to print to a file a report I normally would send to a printer. Does anyone know of a way to send my newly created report to a file or email I was trying to use PrintDialog's .PrintToFile but I think that's only to create a file you can send to the printer at a later time. Thanks Hi, Do you wish to send the report as email What do you mean by sending report to a file Can you be more clear regards, Bhanu. ...Show All
Smart Device Development CF doesn't handle new lines as \r\n ??
I wrote a simple control which used the Graphics.DrawString method to draw some text. When the text contained a newline "\r\n" it would only display correctly when I ran the app on my desktop, but when I ran it on the Pocket PC emulator it displayed the newline as 2 square boxes. Unfortunately Enviroment.NewLine doesn't exist in the CF and I even tried using the Stringbuilder.AppendLine (it doesn't exist in the CF) or anything that could get me a valid newline. Is it that Graphics.DrawString() method in the compact framework that cannot handle newlines tried that already before, it does not ...Show All
Visual Studio Team System Can not add new Work ITem
I am trying (for the first time) to add new Working Item in VSTS 2005 Beta 2. IDE crashes immediately after Working Item type selection. Anyone experience something like this Any ideas Leon, It's great to hear that you got it working without having to invest a lot of effort into trouble-shooting. Thank you for getting back to us. tony ...Show All
Windows Forms Creating Events in C#
Is there a way to create and remove events and their handlers in Visual Studio .NET without directly editing the InitializeComponent() method The remarks in the code warn you about leaving this function alone. do it thru the IDE. it'll automatically create/remove the events in the code. take a look at ur Property toolbar. there's a little but ...Show All
Windows Forms BudgetEntry has encountered a problem and needs to close. We are sorry for the iconvenience.
I created an application called BudgetEntry and deployed it with ClickOnce to my user’s computer and it worked fine. Then I enhanced the application and published a new version but when the user got the new version the application did not start any more. Not even when I copy all the exe and dll to the computer and run from there. something broke the PC and I can't change it. Same application runs fine on other PCs ...Show All
Visual Studio Team System Q: How do you Filter system generated cs files(such as class.designer.cs) in FxCop?
Anyone tried using FxCop that is capable of disregarding system generated code (cs files such as class.designer.cs) You can suppress individual violations within the generated code, however, there is no way to ignore all generated code. Although, Code Analysis in Visual Studio does shutdown noise on members marked with CompilerGeneratedAttribute and GeneratedCodeAttribute. What exact violations are you trying to ignore I ask this, because at the moment we are starting to work with other teams within Microsoft to clean up warnings within generated code. ...Show All
