abm06's Q&A profile
Visual Studio Team System How to config the TFS client to access TFS Source control on another port?
The TFS in our company is behind a fireware and on this fireware we setup a port tunnel by which the port number 1345 on fireware is mapped to 8080 on TFS. Now how can I configure our TFS client to access TFS through this port(1345) We only need source control, so only one port (8080) is mapped. Thanks! Go to VS, Tools/"Connect to Team Foundation Server..", then click on Servers button, and you can create a server mapping ...Show All
SQL Server Wait for Recieve Fails to recieve message when called from .Net sqlClient
I have been building out an application and Service Broker has been working great but I have this one nagging problem. There are some scenarios that involve users waiting for a response so I call a stored procedure that sends a message on a service and then waits for a responses on the conversation handle on which it sent the request. When I call the stored procedure from a query window inside management studio it works perfectly. When I call i ...Show All
Visual Basic Checkbox enables multiple fields
I have several groups of combo boxes with a check box next to each group. I'd like to make it so that if the user check the checkbox, the combo boxes will become enabled (they default to enabled=false). That wouldn't be so difficult, but in an effort to create what I'd consider more efficient code, I'd like to find a way to use the same routine to enable all of my groups of combo boxes by sending the name of the checkbox that was turned on into ...Show All
Visual Basic Passing a structure with arrays of fixed length strings to a DLL
Hi, I need to be able to pass a structure to a DLL that has arrays of fields of fixed length in it. In old VB6 this could be done by having types with types type repeatingRecord field1 as string * 2 field2 as string * 5 end type type maintype field1 as string * 7 records(10) as repeatingRecord end type In .NET types become structures and fixed length strings no longer exist. However the attributes 'VBFixedString' and Marshal ...Show All
Visual C++ importing VB.net dll (controls) into C++ .net
I had to create custom controls in vb.net for moving in databases in C++.net now my only problem is how do i import that dll or add it to the C++ .net project so that i can use it in any of the forms i'm using. If i dont use the #using and AI/ i get undefined Identifer and all that other stuff that comes along with it. by the way i dont know if i said im using the VS .net 2005 Beta 2 ...Show All
Visual Studio Testing for empty item list in a condition
I am setting up a dependency property group (to be used in a Target's DependsOnTargets attribute). I would like to have a dependency optionally show up depending on whether an item list exists and is non empty. So far, this is the best I could come up with: <PropertyGroup> <OtherLibFilesTemp>@(OtherLibFiles->'%(identity)') </OtherLibFilesTemp> <OtherLibTargets Condition= ...Show All
SQL Server Query Designer Toolbar
I have added the Query Designer toolbar to my Management Studio environment. After open a new query window this toolbar stays greyed out. How can I use this toolbar with my queries Thanks, Was a solution ever found I am also not able to use the Query Designer toolbar. The buttons are all greyed out... ...Show All
SQL Server VS2005 & BI Calculations Tab
After installing MSSQL 2005 SP1 I now have a problem in my BI Projects. Whever I open a cube in the designer and select the Calculations Tab, the mouse becomes an infinite hour glass as well as the words "loading..." in the center screen. I have forcefully terminate the IDE. Has anyone come across this behavior and found a fix for a similar problem Thanks, -Troy ...Show All
Windows Forms Mail receiving
To send any message ones must use System.Web.Mail namespace... What is counterpart for RECEIVING e-mails THX Colt, it helps, but not to the end. I've to receive mails from Exchange server... I'll try to use the same code for my Ex ...Show All
Visual Studio Express Editions Starting Visual C++ Express for the first time
g'day: I just installed VC++ Express. I am not a C programmer, but I am somewaht familiar with VB.Net. The msdn site ...visualc/usingpsdk/default.aspx has instructions for adding paths and modifying the corewin_express.vsprops file, which I followed (except that my Platform SDK is in D:, not C: - I assume you need the $ sign heading the Paths). Step 5 is to generate and build a Win32 app to test those paths. I get build failures due to an err ...Show All
Visual Studio Team System Warehouse Troubleshooting Guide
This will be a living document and as we troubleshoot issues, we will add to the query and document. It will culminate in a consistency checker tool which automates the checking and ultimately other functions like kicking the warehouse etc... Feedback is welcome and I will update this data. Symptoms: The data in the reports is stale and doesn’t seem to ever get updated. The reports error out. An error has occurred during report pr ...Show All
.NET Development Populate TreeView with XML "On-Demend"
Hi, I'm using a sample code from MSDN in order to populate a TreeView control with some XML data using XmlDocument and a recursive method: // SECTION 1. Create a DOM Document and load the XML data into it. XmlDocument dom = new XmlDocument(); dom.Load(textBox1.Text); // SECTION 2. Initialize the TreeView control. treeView1.Nodes.Clear(); treeView1.Nodes.Add(new TreeNode(dom.DocumentElement.Name)); TreeNode tNode = new TreeNo ...Show All
.NET Development Select @@Identity
This is really simple, however if you're not 100% sure, please don't respond. I'm a little confused here because of connection pooling that exists in ado.net (specifically, this scenario is inside of an asp.net webpage). If I execute the following code will I always get the correct identity value returned I know that @@Identity is session specific so by all means the following code should work, BUT because the actual connection is comming from ...Show All
Visual Studio SQL Express does not start. Bad MSSQLSYSTEMRESOURCE files location.
Hi, I can't install SQL Express, because the setup procedure can't start the SQL Server service. Trying manually to start the service using the following command line: sqlservr -sSQLEXPRESS I have the following error message: ... 2005-05-14 17:00:38.77 spid4s Starting up database 'master'. 2005-05-14 17:00:39.15 spid4s SQL Trace ID 1 was started by login "sa". 2005-05- ...Show All
Visual Studio 2008 (Pre-release) Databinding to a service method...
Using what seems to be the preferred approach for accessing WinFX services, is data-binding possible There are two approaches, I understand, for handling references to a WinFX service. In the first, you use the "scvutil" application to auto-generate proxy classes. These classes wrap all necessary logic to call a service. There is no direct reference to the service project in your consuming application, and you can generate these ...Show All
