Answer Questions
Virtual Reality New to creating reports
Hello, We've decided to make a custom process template for our teams using Team System, and in it we need a couple of custom reports. I'm in charge of it, and I have absolutely no experience with Report Server and MDX. I've looked around for some sort of beginner's guide to creating reports, but haven't found anything suitable. So, can anyone direct me to a comprehensive guide to creating reports Or, if someone can help on the specific report I'm having problems with: We want a report that includes all the Requirement work items that are not linked to a task work item. Using the Report Builder, I can get all the requirements, and I can get all the requirements that are linked to a task. But I can't seem to be able to get all ...Show All
DKUS007 I am having a problem with a logon script using VBscript trying to compare the computer name to the organizational unit in which
it belongs. Here is my code: Dim objSystemInfo, objNetwork, CurrentComputer Dim strOu Const OrgUnit = "OU=PCBMRDD" Set objSystemInfo = CreateObject("ADSystemInfo") Set CurrentComputer = GetObject("LDAP://" & objSystemInfo.ComputerName) strOu = (Join(CurrentComputer.MemberOf)) If InStr(strOu, (OrgUnit)) Then WScript.Echo "Hello" End if Wscript.Echo "Not found" WScript.Quit I am trying to use the computername of the PC and compare it to which organizational unit belongs to. I am then going to map a drive based on the organizational unit the PC belongs to and map it to a specific location. When using the Echo statement after the GetObject statement I am able to display all ...Show All
ChristineCruz Paint Problem at MDIChild at Opening at Startup in Maximized State
Hi guyz, I have one MDI form and one MDI Child. Both form's property windowsstate=maximized. When MDI form loads, its child forms load at the load event of MDI. But, It not paints that child form properly to maximized area. there is border appears of that child forms without title. Once we minimize that bad painted form and again maximize it. it works fine.. So, why its doing problem at startup in maximized mode I've just transfered my winapp from Vs2005 Beta to Vs2005 express can anyone tell me.. please is it a BUG of VS2005 Express Stefan, Are you saving your form settings via ApplicationSettings Are you binding a setting to WindowState If so, the only work around I have found is to not bind to WindowSt ...Show All
MaggieChan A
Maybe a Bug in Visual Studio 2005 SP 1 !!! I'm able to reproduce on different machines with Windows XP and Vista with (Vista Update for VS SP1) Problem: 1. Start Solution and run Tests - works fine as desired. 2. Rerun Tests - VS freezes and processorload becomes 50% Additional Information: We have a Solution with ~ 95 Projects and the tests are grouped together in ordered tests. Is someone out there who has similar problems or can help Greets, Helmut Have you tried running "devenv /resetuserdata" from a VS command prompt and seeing if this fixes the issue Thanks, David Gorena Elizondo [MSFT] VSTS I have a similar problem that occured just today (runn ...Show All
Lovericky Invalid postback or callback argument
Hi All, I'm getting this error message when playing back a request generated by Fiddler. This is an AJAX request (created by a third party control). This error appears on the second callback, and happens to be after two additional controls are loaded on to the page (not sure if this is relevent, but I am unable to recapture the $HIDDEN1.__VIEWSTATE as the responses are not recognised HTML). I've coded the test (removed some previous page calls) and highlighted the failing calls in bold: Public Overrides Sub Run() Dim request1 As WebTestRequest = New WebTestRequest( "http://localhost/v2.0.02/" ) request1.ThinkTime = 4 Dim rule1 As ExtractHiddenFields = New ExtractHiddenFields rule1.ContextParameterN ...Show All
Steve B. VSTS MS Project integration
I'm trying to implement logical operations in a VSTS WIT for project planning purposes, it appears to me there is no way to realize this. As a result of that i need integrate these operations in the project planning tool MS-Project. Subsequently i'm trying to break into the VSTS-MS Project refresh event on the project side to execute the logical operations there to avoid the necessity of a separate action using a project macro. Can anybody point me in the direction of avoiding the need of a MS-project macro for logical operations like calculations and data compare. Hello, During a refresh operation,if the data has changed we provide an alert to an user that it was changed. But we don't ...Show All
_Gerry_ How to count the number of CheckBoxes Checked
Is there a way to count the number checkboxes that have been checked on a form and when a certain number as been reached disable any remaining checkboxes Regards LVB Dim count As Integer Dim Cb as checkbox For each c as control To Form1.Controls If TypeOf C Is Checkbox Then cb=c: if cb.checked then count += 1 End If &nb ...Show All
fripper Passing Context Parameters Into Custom Validation Rules
I have created a context variable from an extraction rule called $Parm1. I have added a custom validation rule with a public property to pass in this parameter. I have tried passing $Parm1, {{$Parm1}}, {$Parm1}, etc. When debugging I only see the parameter string passed into the property and not the value. Is it possible to pass a variable into a property May I know why you want to pass the value to the property If the property is only used by the custom validation rule, then in function Validate(), you can use e.WebTest.Context[ParameterName] to get the value. Ahh ha! I just was reading your post and it occurred to me that we are experiencing the same issue (see my post in the forums ). I co ...Show All
arkiboys Extremely slow reloading of project with CTP4
Hello, I've got a project that's rather large; about 3-4000 objects. I spent the better part of a few days either fixing errors in the error list or removing the offending procs/tables temporarily to at least get a clean project. Now I have it with no errors, but opening up the project takes (and i'm not exaggerating here) roughly 3 1/2 to 4 hours(!) My machine, while not brand new, is no dog either. 2.8Ghz with 2GB of RAM. I'm going to have a co-worker tomorrow try it out to see if his newer and faster machine fares better, but obviously this is unusable for me right now. Anyone have any suggestions as far as what I might do to speed up opening Is there some sort of validation I can turn off like I can for XHTML errors with web page edit ...Show All
Bidhu P.M. Creating my own rules
Hello folks, I know we can customize the rules we want in FxCop 1.35, but I'd like to know if it is possible make my own rules. If so, how can I do it How can I create my own dll with my new rules Thanks in advance Vivian It is possible, although, be aware that this is considered an off-road experience and is not fully supported. To find out more information, see the Where is the official FxCop custom rules SDK question on the FxCop FAQ . Feel free to ask any questions you have on writing custom rules on the forum. Regards David ...Show All
papadi error c2039
Hello people of Visual C++. I have the following error: .\mapa-semanal.cpp(9) : error C2039: 'Data' : is not a member of 'System' what's causing this error thank you for your atention. // mapa-semanal.cpp : Defines the entry point for the console application. // #include "stdafx.h" #using <mscorlib.dll> using namespace System; using namespace System::Data; using namespace System::Data::OleDb; int _tmain( int argc, _TCHAR* argv[]) { //Create the connection OleDbConnection * map = new OleDbConnection(); //Set the connection string map->ConnectionString = S " Provider=Microsoft.Jet.OLEDB.4.0; " S "Data Source=C:\\db\\map ...Show All
Sailesh Rathi Who wants a FxCop VS2005 add-in?
Hello, I have written a simple add-in for VS 2005 to enhance integration with the IDE for those who are not using the Team System version of the product. I am planning to release it to the open source community but I'm wondering whether there is much interest in doing so. Currently the add-in does the following things: Select one or more FxCop warnings in the Error List then right-click to copy C# code for SuppressMessage attributes to the clipboard. Select one or more FxCop warnings in the Error List then right-click in the code editor window to insert C# code for SuppressMessage attributes at the current insertion point. (Saves the work of copying to clipboard, then clicking back to the editor and pasting.) Double-click on ...Show All
Kea Help with argumentOutOfRangeException
Hi Can you check my code for errors, because when I run this code I get this error. Public Class Encrypt Private send As String = "" Private chatclient As Chatclient Private Sub btnSend_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Dim var As String = txtTekst.Text MsgBox(var) If txtNick.Text = "" Then MsgBox( "Geen gebruiker ingevoerd" ) Exit Sub Else While var IsNot "" If var.StartsWith( "a" ) Then send += "01" ElseIf var.StartsWith( "b" ) Then send += "02" ElseIf var.StartsWith( "c" ) Then send += "03" ElseIf var.StartsWith( "d" ) Then send += "04" ElseIf ...Show All
TheFoZ Another warehouse not updating :(
Hi folks, i've noticed our warehouse reports are updating/working. eg. Remining Work Report Generated: 6/06/2006 4:16:54 PM by Domain\User; Last Warehouse Update: 21/05/2006 5:41:04 AM. I can use http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx in IE and it works (well, it says TRUE and pretty soon after that it (refresh IE) says FALSE). There's no errors in the EVENT LOG anymore. The TFSServiceScheduler was off, so i had to double check the logon user (Domain\TFSService \ password) apply, and run (works). Suddenty i recieved a lot of alerts from our discussion board :P Code analysis works (i hit run - 2 entries are logged. blah blah Start. Blah blah stop). That account logs on as Domain\TFSSetup \ pa ...Show All
smalamas Specified cast is not valid.
hey guys, I hang on one issue since last two weeks. I have VB 2005 Express edition and crystal report XI 2. When i try to open external crystal report file using VB 2005 but it shows error as "Specified cast is not valid." This code is under button_click event. I tried to search on site but couldn't find solutions over this. My code as follows: Dim CR As New ReportDocument() CR.Load( Application.startuppath & "\Reports\Widal.rpt" ) Dim pvName As New ParameterValues Dim pvDoc As New ParameterValues Dim pvDate As New ParameterValues Dim p1 As New ParameterDiscreteValue Dim p2 As New ParameterDiscreteValue Dim p3 As New ParameterDiscret ...Show All
