Dany V's Q&A profile
Visual Studio Team System Changing user while Connecting to Team Foundation Server using Visual Studio 2005
Hi, I connected to Team Foundation Server usin Visual Studio 2005, with a user name and password. Now whenever I connect to Team Foundation Server, the Studio users that user name and password. I wan to connect using a different user name. How can I do so. I have tried cleaning the history from Internet Options, but it doesn't work. Please help. - Rajiv Rajiv, 1. What I meant is you need to start Visual studio using the "alternate accounts" credentials. You can do this by right clicking on the visual studio icon and selecting run as. This will popup a dialog asking for your credentials - enter your new account credentials here. When you connect to TFS now - it will use the credential ...Show All
SQL Server Login failed for user ''. Reason: Not associated with a trusted SQL Server connection.
Hello, I have some problem here. I have a sql server installed on one machine and I have another development machine for my asp application. How could I actually access the asp application and sql server at the same time from another machine within the network. I kept on getting the error message above. Thank you for your help :) So you have: Clients -> Development (ASP) -> Sqlserver right This is very much a typical 3-tier app. The login/authentication Sqlserver sees is from the ASP app. Whatever you set in your connection string for your ASP app is what Sqlserver uses to authenticate. If you post the connectiong string here, we can tell you more. When you say, you've successfully connected to the sqlserver from the dev box, a ...Show All
Visual Basic Me.Suspendlayout
Hello Everybody! I very new in this forum! my english isn't very well. I hope you understand me. ok, i want to increase the width of my form, but slowly, and, to left side. i tried this: (t.Interval = 10) private Sub t_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles t.Tick Static i As Short If i < 50 Then Me.Left -= 10 Me.Width += 10 Else i = 0 t.Enabled = False End If i += 1 End Sub but it look very bad. if you try you will understand why. it is not has to be like this. if you resize the form manually it's not happend. hope you understand me (: about the function me.suspendlayout: How do i use the function me.suspendlayout I tried this co ...Show All
Visual Studio Express Editions I have "Link Error" in VC2005, when I used the functions that was declared in "cfgmgr32.h"
I would like to get the device ID of each device(s). I found and downloaded the sample code from "Code Project". I re-build it by VC6.0 was PASS, but VC2005 was FAIL ! The error messages are shown as below: error LNK2019: unresolved external symbol __imp__CM_Disconnect_Machine@4 referenced in function "private: void __thiscall CDeviceManagerDlg::EnumDevices(void)" ( EnumDevices @ CDeviceManagerDlg@ @ AAEXXZ ) Another errors are CM_Get_Child_Ex(), SetupDiGetClassImageList()......etc. All errors are declared in cfgmgr32.h. I don't know how to solve these link errors. Rabin Thanks for your reply. I found the problem. I added the cfgmgr32.lib, but ...Show All
Visual C++ How to eject removable devices programmatically?
Removable devices, such as usb devices, flashmedia card, can only be safely removed by clicking the icon in system tray in WinXP. But how to make it programmatically I tried IOCTL_STORAGE_EJECT_MEDIA, FSCTL_DISMOUNT_VOLUME, but only have effect in several special cases. Any advice appreciated! Thanks for your reply. I searched one KB that talking about this topic: http://support.microsoft.com/kb/165721 But it uses the same method as I mentioned above, and can't completely remove devices from system. However, that KB article is helpful and the code provided is more clear & reasonable than mine. :- ) ...Show All
.NET Development Going through every element on a page
Hi, I have elements dynamically created on a Web page (using ASP.NET). Some of them have a special attribute set. On the page load, I'd like to scan through all the elements on my page and if the attribute exists and is set, do some action on that element. All this in JavaScript. There must be a way to do this recursively right Any help would be appreciated. Thanks, Skip. I think that the .NET "Controls" array is just what you are looking for. In ASP .NET the "Page" object contains a property called "Controls". It is an array that contains all of the controls on the Page. You can find all of the controls on the page by writing a program that loops through the Pa ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Alpha Blending (deferred)?
Is there a way using the sprite batch object that you can render several rectangles, but when alpha blended, it looks like the entire object was rendered first as a single opaque image, and then that image was alpha blended, such that you would never have known it was several smaller pieces assembling the final object Instead of normally seeing each rectangle blended as it overlays another rectangle. Well the effect exists in the GUI engine of world of warcraft. I was really hoping to have that in mine in XNA. And it's a very nice effect to have. And their game runs on lots of older machines, which kind of makes me wonder what they could be doing. ...Show All
Visual Studio Tools for Office Delete
Hi! I put the content of a filled DataTable into a new instance of a DataView object to pin it into a worksheet with the help of a range. Everything works perfect. But when I try to put another table with the same algotrithm to the sampe range I receive an empty are with standard column headers without named columns ( AutoSetDataBoundColumnHeaders is true). What do I have to do to wipe out the data to reload another DataTable Can you give me a hint! Thanks Hi Heinsz, I dont quite understand your scenario to give more help at this time. Can you please provide more details I am confused by the fact that AutoSetDataBoundColumnHeaders is a ListObject property and you are talking about DataView object binding. ...Show All
Visual C++ "Cannot Open Include File" How can I include Iostream.h?
I recently installed Visiual Studio 2005 and I want to find a way to include iostream.h so I can use the "cout" and "cin" commands becuase they are easier in my opinion then the whole "Console::WriteLine" commands that I havent been able to understand yet. Also, I am learning from a rather old version of an instruction manual for C++ that teaches with the "cout" and "cin" commands. I have what i take to be the correct header file but i dont know where to put it so i can include it. Any help would be much ablidged. The <iostream.h> is no more. Now there is only the standard <iostream>. Also to use cin and cout you'll need to add an using namespace std; after including <io ...Show All
.NET Development Array Binding
Hi I am new to VB.net windows app Do we have Array Binding in ADO.net like we have in ODP.net, to execute a database stored procedure, multiple times in a single database round trip if there is way ,please send me a sample code eg..(used ODP.net) Imports System Imports System.Data Imports Oracle.DataAccess.Client Dim connectStr As String = "User Id=Scott; Password=tiger; Data Source=orcl9i" ' Initialize connection Dim connection As OracleConnection connection = New OracleConnection(connectStr) connection.Open() 2. Initialize the OracleCommand object: Visual Basic .NET 'STEP 2 ' Set command to execute Test_Arraybind database stored procedure Dim cmd1 As OracleCommand = New OracleCommand("", con ...Show All
SQL Server Vertical Line in a bar chart--Urgent
Hi, I have a simple bar chart in which i need to draw an average line vertically across all the bars. Is this possible in RS 2005 Do i need any other components Thanks in advance. the only way that i know how to do this is with vertical gridlines http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=627824&SiteID=1 but its not very easy and comfortable if ur chart is a horizontal barchart, you could use a new Datafield with your average value and draw it as line ...Show All
Visual Studio Charting in Visual Studio 2005 Reports
Where can I find documention on this feature, such as walkthroughs and examples Thanks! Michael Weed http://msdn2.microsoft.com/en-us/library/aa964128.aspx ...Show All
Windows Search Technologies Windows Safe Search Filter - Application Error
I use Windows Desktop Search and recently starting getting an error message. Details: WindowsSafeSearchFilter.exe - Application Error The exception unknown software exception (0x0eedfade) occured in the application at location 0x7c812a5b Followed by the error: Runtime error 217 007F0EEE What do these errors mean Hi all, I've also started getting this message, though my gut feel is its not to do with WDS. I've removed Outlook 2007 from the Search, and I still get the error when I try and get into Outlook 2007. Any thoughts anyone Cheers Nick ...Show All
Visual C# how to fire a event/callback in COM with C#
Hi, http://support.microsoft.com/kb/828736/en-us I follow the doc above and use dll in my C++ program. It works. Now I want to fire a event from C# dll to C++. But don't know how to implement in C#. I try but get errors. Could anyone tell me the right steps using System; using System.Collections.Generic; using System.Text; namespace ClassLibrary1 { public delegate void testevent(); public interface aa { void eventfunc(); }; // Interface implementation. public class bb : aa { public event testevent eventfunc; } } Error 1 'ClassLibrary1.bb' does not implement interface member 'ClassLibrary1.aa.eventfunc()' C:\Documents and Settings\ricky.liu\My Documents\Visual Studio 2005\Projects\DLL\ClassLibrary1\Class1.cs 1 ...Show All
Visual C++ Need help! Not able to get UdpClient BeginReceive work in VC++/Could this be a complier bug!?
Hi, I need an urgent help. I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link http://msdn2.microsoft.com/en-us/library/system.net.sockets.udpclient ... First of all, thanks for microsoft team for this post. However I have couple questions concerning the C++ code in the link. Before posting my questions, first let me show you how I did set up a VS2005 C++ project to test this code. To create a test project, I do following File->New->Project->(Other Languages)->Visaul C++->CLR->Class Library Fill in solution name and put in the following code. ----------------------------------------------- TestAsynCallback.h ----- ...Show All
