Tito Jermaine's Q&A profile
Visual Studio Team System TFS Tools under /Common7/IDE not installed?
On a dev TFS server deployment, the ..\common7\ide directory contains the various tools such as glimport.exe, glexport.exe. However, on a new installation I performed on a clean box, there is nothing under that directory except for the \PrivateAssemblies subdirectory. Are the tools such as glimport.exe installed by default, or am I missing a step somwhere Thanks in advance Chris Chris, are you still struggling with that issue You mentioned you do not see anything under there except PrivateAssemblies directory right At least devenv.exe should be there, so you might want to check your VS's shortcut to see where it is pointing to. ...Show All
SQL Server SQL 2000 SP4 performance monitors over Windows 2003 X64 Edition
Hi to all: I have recently migrated our SQL 2000 to a W2003 x64 Enterprise Edition, and I'm trying to save performance counter to document performance. I've started C:\windows\SysWOW64\perfmon.exe and I'm able to see SQL counters, but when I try to save a new Counter Log for later analisys, no SQL performance counter are saved only windows counters. It seems that only x64 counters are saved and not SQL Server (SP4) counters. I've have searched all the web trying to find some help but I wasn't able to find any solution. Can anyone help me with this thanks in advanced. -- Rodrigo Acosta ...Show All
Visual C# Abstract Generic Base Classes... how to refer to the derived type?
Hello all, my first time posting here on MSDN, so be easy on me. :) I have an abstract base class that takes a generic type parameter to strongly type a member. So, I have something like: public abstract class BusinessObjectBase<INFO> : IBusinessObject where INFO : EntityBase { public IBusinessObject Update() { ... } } ... public sealed class User : BusinessObjectBase<UserEntity> { ... } My issue is, I'd like to have a method pass back a saved version of the business object back from the Update() method; however, there doesn't seem a way to do this in a strongly-typed way. From the User, object, I can only pass back either a type "object", type "IBusinessObject", or type "BusinessObjectBase< ...Show All
.NET Development COM object with CLSID {some hex here} is either not valid or not registred.
.net 1.1 I have been using CAPICOM 2.1 in my application for some time. Now I had to delete my account and work with anotherone. And my problems with CAPICOM started. (I use very same projects and changed nothing else). I registred CAPICOM again (downloaded newest version from internet and used command [regsvr32 d:\capicom\CAPICOM.dll]) which says, that capicom has been registred properly. But when I try to use it in program, it says COM object with CLSID { some hex here } is either not valid or not registred. No restarts, reinstalls of capicom or reference works. Please, give me a hint. The new version probably uses new GUIDs for the classes in capicom.dll. You need to let the IDE generate a new wrapper that uses these new GUIDs. ...Show All
Microsoft ISV Community Center Forums finding index in an array
Hi all, I want to find out which index in the array that corresponds to the maximum value in a array. ff = Application.WorksheetFunction.Max(Hist) finds the value to which I would like to find the index for. Hist is an array containing several thousands of numbers. So I would like to avoid looping through the array to save time. Any ideas out there Grateful for help \Jonas Hi, You don't show the details of the array Hist but if you can use the Max function maybe you can make use of the Match one to. Sub Test() Dim vntMaxValue As Variant Dim lngMaxIndex As Long Dim Hist(1 To 5000) As Double Dim lngIndex As Long For lngIndex = 1 To 5000 Hist(lngIndex) = Rnd() * 10 Cells(lngIndex, 1) ...Show All
Visual Basic GetLayeredWindowAttributes Help!!!
Hello! I have been trying to figure out how to use GetLayeredWindowAttributes to retrieve the current values of a layered window from handle in vb.net to no success, the most I have found out is how to declare it properly in vb.net. The only thing I came across on MSDN is in C++ & only offers info on declaring it... Any help on the usage of it is much appreciated! Thanks Mattias!!! It's kinda ironic as I came across a previous post of yours w/ an example of the declaration in vb.net! This was the exact answer I was looking for & thanks again! ...Show All
Windows Forms CheckBox Checked
Hi there I have a class that derives from Checkbox and is basically a toggle button. I also have the ability to group the class instances so that they behave a bit like radio buttons and reset the checked state of any other buttons of this class on the form. Trouble is, changing Checked to false also triggers the CheckedChange delegate. Can anyone think of a way to temporily stop the CheckChanged event from firing from with the class itself. To explain a little further, the class has a method ResetChecked and this sets Checked to false, but in doing so it fires the CheckChanged delegate. I can't remove the delegate and add it after because I just can't find a way to do that Any ideas anyone Thanks Dave Si ...Show All
Visual Basic using OLE Automation (GetObject) in a web service
Hi everyone, I apologize in advance if this is in the wrong forum :-\ I am having trouble using the GetObject method to access the "handle" of an application through a web service. What I have working right now is the ability of a regular Visual Basic .NET program to access and control the program. ExtendApp = GetObject(, "Extend.Application") That works fine and dandy through a Visual Basic Application. I need to port this code to WSDL. The web service is on IIS on my local machine, as is the application I am attempting to control (Extend). Now when the above code is executed I get this error: System.Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String C ...Show All
Visual Basic searching for & highlighting text
hi, i am trying to make my application search for text (in a combobox called "comboboxfind") in a listbox ("showbox") when i click on a button (called "findnow") can someone help me Private Sub FindNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FindNext.Click Dim loc As New List(Of Integer) Dim index As Integer = 0 If loc.Count = index + 1 Then FindNext.Enabled = False End If ListBox1.SetSelected(CInt(Val(loc(index))), True) index += 1 FindPrevious.Visible = True CommandsFindPrevious.Enabled = True End Sub ...Show All
Architecture How do I allow n possible new fields in a App (CRM)
Hi, We are starting to develop a small CRM as part of our app. I would like to give the user an option to create new fields (specifying the type he wants). How should I proceed to do this There are some options mentioned here: http://download.microsoft.com/download/2/a/8/2a8dfca9-d1ca-4132-9d39-8e3d920c450f/multi-tenant%20data%20architecture.zip ...Show All
Visual Studio Team System BuildStatusChangedEvent in Bissubscribe command
Hi All, I have been able to use the BisSubscribe.exe command to send emails when the build is complete using BuildCompletionEvent. I want to send the mail in case the build fails. Can anyone suggest how can I apply the filter so that the email is sent only when Buils fails I tried to use the BuildStatusChangedEvent command and when i use it like this: BisSubscribe.exe /eventType BuildStatusChangedEvent /address abc@xyz.com /deliveryType EmailPlaintext /server <servername> /filter "TeamProject = 'ProjectTest' I get this exception in the log file: Exception Message: TF50220: Missing the schema for the following event type: BuildStatusChangedEvent (type ConfigurationErrorsException) Exception Stack Trace: at Microsof ...Show All
SQL Server can i restore sql 2000 from veritas under sql 2005?
While ago my SBS 2003 which had SQL 2000 crashed so I had to rebuild everything and this time I used SBS 2003 R2. My SQL 2000 databases were backed up under Veritas 10 and now I'm trying to restore them under SQL 2005. Is this possible Please advice. Thanks, Mike If you mean that you are using Veritas 10 to restore backups taken from a SQL 2000 database to a SQL 2005 instance, then yes this will work just fine. If you are trying to use the native SQL utilities to restore a backup taken using Veritas, then this will not work. ...Show All
Visual Studio Team System Can not open report on MSF by Report Builder
Hi all, I want to modify the default report on MSF for CMMI project but i can not open any report on report builder. Can anybody help me thanks, The default reports were built using Report Designer - you will have to use this tool to edit them. What do you want to change in the default reports Report Designer can be accessed via Visual Studio 2005 if you have that installed or under Microsoft SQL Server 2005 -> SQL Server Business Intelligence Development Studio on the Start menu. Here are some general steps to set up a new project to import the reports into: Create a new project: File -> New -> Project On "New Project" dialog Select "Business Intelligence Projects" under Project types. Se ...Show All
.NET Development Async Socket's callback method runs in same thread with caller
My problem is sometimes the caller and callback of async socket method are run in same thread. I think caller and callback must run in different thread, but sometimes they do not. Why the following is the unit test of my problem. Do you have any idea using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading; using System.Net.Sockets; using System.Net; using System; namespace CallbackUnitTest { [TestClass] public class UnitTest1 { AutoResetEvent sync = new AutoResetEvent(false); int callerThreadID; int callbackThreadID; [TestMethod] public void TestMethod1() { for (int i = 0; i < 10000; i++) { // initialize sockets and event Socket server = new ...Show All
Visual Basic How to sort an array of structure based on th first value (date) ?
Hello I have a problem in sorting an structure of array my structure is defined as Structure Thirtymintextfile Dim Mdate As Date Dim MTime As Integer Dim Mopen As Single Dim MHigh As Single Dim MLow As Single Dim MClose As Single Dim Mvol As Integer Dim MAvgP As Single End Structure I have nearly 450 records in the array Now i need to sort it on date basis How to do that .Please help me .Its urgent Thanks in advance shail This is to help out other beginners who struggle with arrays and structures. Using Dick's code, I added a class to my test project: Public Class Cpr Implements IComparer ...Show All
