MartinT's Q&A profile
Visual Studio Team System MSSCCI + VS 2003 - Choose Folder
I am trying to open a project in TFS using the VS 2003 MSCCI provider. The project is located here: $/HelloWorld/HelloWorld.sln The issue is when I select the HelloWorld folder in "Choose Folder in Team Foundation Server", the "OK" button is greyed out. On the other hand, during the creation of the project, if I have my folder structure like so: $/HelloWorld/SolutionFiles/HelloWorld.sln, I am able to open the solution in VS 2003 as the ok button is enabled. I am guessing that source code should not be checked into the root of a project, instead, we should create a folder under the project and c ...Show All
Microsoft ISV Community Center Forums Hi, Outlook new Mail item
Hello *, I have two questions that I can't figgure out.... I have the following code (very simplified): Set mailItem = CreateItem(Outlook.OlItemType.olMailItem) mailItem.Body = "Some text..." mailItem.Display (False) Questions are: 1. How to change the status of the message so that when I close this new message I do not get window "Do you want to save changes " 2. How to insert autmaticly signature Now I parse signature files and add them as mailItem.Body = ... I have Outlook 2003. Thanks in advance, Frenky Hello FrenKy, 1) Call the mail items close method passing in ...Show All
Visual C++ How can I active VC without connect the internet at home ?
could do I active in this case Thanks Uka Visual Studio 2005 Express Edition Beta 2 requires an Internet connection from the machine where you are using the product in order to activate. A high speed connection is not required; dial-up is sufficient. ...Show All
Visual Studio Team System Adding users to [project]Contributors: Cannot access users/groups in domain
Beta 3 - Refresh Client Tier installed on Windows XP connected to TFS on Windows Server 2003 with Active Directory enabled. Domain = SIGNAUSTR I've successfully created a Team Project called SandpitTest and now want to add users to the group [SandpitTest]\Contributors. I followed these steps: 1. Logged on as TFSSETUP 2. Started Visual Studio and connected with TFS (Tools | Connect to TFS) 3. Selected the TFS in Team Explorer 4. Applied Team | Team Foundation Server Settings | Group Membership 5. Selected [SERVER]\Team Foundation Valid Users and pressed Properties 6.Selected [SandpitTest]\Contributors and pressed Properties 7. Selected Window ...Show All
Visual Studio Team System Can't upload process templates based on CMMI Beta 3
When trying to upload a process template based on MSF for CMMI I get the following error: Module: Work Item Tracking Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException Exception Message: TF26177: The field Microsoft.VSTS.Common.ProposedDate cannot be renamed from 'Proposed Date - MSF for CMMI Process Improvement' to 'Proposed Date'. Team Foundation does not support renaming fields. To reproduce this: Download the template, Rename it, Upload it. I guess this means there is an error in the supplied template (version 050707). MSF Agile does not cause a problem. Can any suggest how to f ...Show All
SQL Server Service Broker is disabled in MSDB or MSDB failed to start
Whenever I start my SQL Express 2005 database, I get the following in the logs : <SNIP> 2005-11-20 19:04:11.92 spid8s Starting up database 'tempdb'. 2005-11-20 19:04:11.99 spid5s Error: 8355, Severity: 16, State: 1. 2005-11-20 19:04:11.99 spid5s Service Broker is disabled in MSDB or MSDB failed to start. Server level event notifications can not be delivered. Event notifications with FAN_IN in other databases could be affected as well. 2005-11-20 19:04:11.99 spid11s The Service Broker protocol transport is disabled or not co ...Show All
.NET Development Calling a method and getting that method from xml
I am not sure if this is even possible but here goes... I have a program that uses databases. I have made it so if I need to change the type of database I can go in to my Data Access Layer, make the changes and thats it. My only problem is, within the code for the program, there are calls to methods within that DAL whos names could possibly change. Is it possible for me to store the name for that method in XML them call that method. That way, if I make changes to the DAL, I could just update the XML with the new method names and no need to enter the program code and recompile. Does that make sense Basically I am trying to do this: str ...Show All
Visual C++ PostMessage & ON_MESSAGE(...)
Hi. when I use form ON_MESSAGE(WM_USER+1,ShowInListBox) in my Code after 2 or 3 Second (Less or More) my Program does Hang! but If I delete ON_MESSAGE(WM_USER+1,ShowInListBox) my Thread work Properly. this my Code: //////////////////////////////////////////////////////////////////////////////////// ........... public: BOOL* GetContinue() {return m_bContinue;} void SetContinue(BOOL* bContinue) {m_bContinue=bContinue;} ... ..... void CRandomString::RandStr() { ran=rand(); m_sRandStr.Format("%f",ran); AfxGetMainWnd()->PostMessage(WM_USER+1); } //////////////////////////////////////////////////////////////////////////////////// ...Show All
Visual Basic How to data stuff from an Access Database with VB 2005
I see other solutions, but have been beating my head trying to get set up to be able to port my vb6 stuff to .net. I use an Access Database with Many tables and relationships. Most of all the samples I see are for SqlServer etc. Where is a good area to go find samples etc for doing Access with VB2005 As an added information. I have always connected and did the database stuff in code, I never used the Data Environment in VB6. My programs/Applications I am working with require constant updates to various tables as there are multiple users. There are Fields that are unique an ...Show All
Visual Studio Team System Problem with customizing MSF for Agile SD in VSTS 2005 Beta 2
Hello, I have tried Randy Miller's cookbook about customizing MSF for Agile SD in VSTS Beta 2 ( http://blogs.msdn.com/randymiller/archive/2005/03/17/398419.aspx ) but it is working only in the folder with the exported framework templates. When I try to return it to the VSTS via Process Template Manager, everything goes well until the showing the Process Guidance web after the successful creation of the new team project. Then I receive IE Scripting Error: Line: 667 Char: 3 Error: The download of the specified resource has failed. Code: 0 URL: http://...(project site).../Process Guidance/Supporting Files/processGuidance.htm Everything ...Show All
Smart Device Development EVC4 SP4 MFC VariantChangeTypeEx Bug
Create a new MFC program. Add a new Menu. Add a handler for the new Menu Item w/ the following code. CComVariant s(_T("100")); CComVariant d; HRESULT hr = VariantChangeTypeEx ( &d, &s, MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT), &n ...Show All
Smart Device Development httpwebrequest "could not establish secure channel for SSL" through NTLM proxy
I'm using VS 2003. With a Dell Axim x51 (with Windows Mobile 2005) I have installed the CF 2.0 on it. The project was built with VS 03, however I use {application}.exe.config to get it to use the 2.0 CF. This was necessary to go through an proxy server that uses NTLM. NETCF 1.0 did not allow this. This process works until I try to post to a SSL HTTPS page. Then I get this message: 'can not establish a secure channel for SSL'. There are public properties, these are set on another procedure: proxySite, proxyU, proxyP, proxyD proxySite = Proxy Address & port proxyU = Username proxyP = Pas ...Show All
SQL Server Cannot shut down VS after using report designer
Routinely when I use BIDS to work on a report design, I cannot close BIDS because I get a message box that says: Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again. Of course, there is no visible dialog open. I actually have to terminate the process from task manager. I do not get this problem when using SSIS or SSAS. Only SSRS. Any Ideas Thanks! BobP Myself and a number of colleagues are having the same error come up. We are only able to shutdown the visual studio by going to task manager. Still trying to find the cause, but if anyone else knows a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX version needed to run an application
Man, it's nice being able to hide behind the I'm new to all this excuse. When I wrote a small game using DirectDraw in C++ I requested the specfic interface I needed (DirectX 3), even though DirectX was at version 7. It was then easy for me to say DirectX 3 or better was required to play. Using .NET, C# and managed DirectX (Dec 2005) I do not request the interface directly. I know the answer lies in the references I am including in the project, but there are 6 version of the Microsoft.DirectX.Direct3DX DLL. I updated my installed version of the SDK and attempted to update the refernece and the code breaks. Commit() on the Light class s ...Show All
Visual C# DateTime Method
Ok. I know I have asked this question before, but I wanted to ask it in a different light. Here is a sample code that I dont know what to do with : double seconds = 0; DateTime baseTime = new DateTime (); DateTime date = baseTime.AddMilliseconds(seconds); Ok, what I want is for the current time to be "00:00:00". And for it to show the incrementing seconds. Can anyone tell me how to do this. If you need more clerification please reply. private void Button1_Click( object sender, System.EventArgs e) { double milliseconds = 10000; double seconds = 10; DateTime baseTime; DateTime date; baseTime = new Da ...Show All
