Sandipta's Q&A profile
Visual C++ Help C2039: 'hash_map' : is not a member of 'std'
this is my stdafx.h #define WIN32_LEAN_AND_MEAN // Windows Header Files: #include <windows.h> #include <hash_map> #include <string> typedef std::hash_map<int, std::string> StringMap; it works for vs2003 , but when i compile it at vs2005 , it gots alot or errors related to c2039. T_T I believe that as hash_map is not (yet) an official part of the ISO/IEC C++ Standard the class template was moved from namespace std to nameapce stdext. ...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
Visual Studio Express Editions REgistration problem...
Can someone give me the link to the VB Express Beta 2 registration I installed it on a pc of mine, that now is currently off the internet in an isolated network, But i'd like to retrieve the key on another PC. Link, please Hi Steven, Registration does not work with this build because they are not supposed to be publicly available yet. We are checking to see why the have become publicly available. Thanks for your help. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Extensions for Alias Maya 7
When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 This is what we're saying, it doesn't work. It compiles, sure, but it also crashes like crazy and can never export a .x file. And yes, I updated the paths. What is MS doing about this Anyone know Or do they just continue to ignore their users ...Show All
Visual Studio Tools for Office KB 907417 & 908002
Hi; Asking new because I think this got lost in the message it was a reply to... Just to confirm, if I have run the latest windows update and it shows no updates for Word, then the fixes in KB907417 should be on my machine - correct I have never run the fix in KB907417 and on my dev machine it has version 7.10.5077.0 but my test system, which shows no pending office updates, has 7.10.3191.0. So it looks like I do have to install it. Do we run this same update for Word 2002 and Word 2000 Or is there a different update in their cases And for our customers, I assume we have to point them at this fix Or will it be included ...Show All
Visual Basic deploying .swf file
my application has these 2 procedures: 1. Private Sub btnHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Help.ShowHelp(Me, "..\CYM HELP.chm") End Sub 2. Private Sub frmLogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim pro As New System.Diagnostics.Process Dim proInfo As New System.Diagnostics.ProcessStartInfo("..\CYM.swf") pro.StartInf ...Show All
SQL Server sql server mobile 05
i am trying to get the @@identity in sql server mobile 05 once i have done an insert in query analyser. insert PHCR_Record (Patient_FName,Patient_SName) values('a','b') SELECT @@IDENTITY AS 'IDENTITY' can anyone advise me as it does not seem to work thanks adam Could you provide more info Does PHCR_Record have identiy columns Could you give a full example, what you expect and what you get This is from Books Online: If the statement did not affect any tables with identity columns, @@IDENTITY returns NULL. Regards, Boris. ...Show All
Windows Forms is there any way to force a control to receive focus?
i have a custom control inherited from panel and i need to be able to handle Enter/Leave events for it..any idears First off, yes, nested controls should raise Enter and Leave events all the way up the parent hierarchy. If this isn't working for a given scenario, it is a bug. Secondly, in your drag scenario, you would want to h ...Show All
Visual C# Sockets
Hi there. Sorry for posting this in the wrong forum, I apologise but hope someone can guide me in the right direction. I have googled for this endlessly however the examples are poor or they are ok but cannot seem to understand them or simply there is not enough in depth explaination. I want to be able to create a simple application that sends/recieves data. I will have a Server app which listens to a connection and acts to whatever it needs to do (read data from that conneciton and so on) Q is, how do I create a socket listener which will keep running until the client says "close connection" or until the application is terminated I have ma ...Show All
Visual Basic invalid parameter
Can anyone tell me why this throws a system.argumentexception:Invalid parameter Imports System.Drawing Public Class form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose( ByVal disposing As Boolean ) If disposing Then If Not (components Is Nothing ) Then components ...Show All
Visual Studio Team System The test cases' name are not ordered correctly when select test case for an ordered test case
Hi all, When I create an ordered test case, in the test case selection window, "Available tests" field, I click the "Test Name" to order the test cases. Curiously, the test cases' name are not ordered correctly. The order is: "Txxx, ... Axxx, ..., Ixxx" A bug of VSTS I have more than three hundred test cases availabe to order. Regards, Leon Hi Leon, Which version of VS are you using Is this the official release or one of the betas I am not able to reproduce that problem. Can you achieve that in isolated case with small number of test cases Regards, Boris ...Show All
Windows Forms Where is sqlexpr32.exe?
I have built a C# application that I'd like to distribute on CD with all prerequisites included on the CD so that the end user doesn't have to download any of the redistributables. They include .NET framework 2.0, Windows Installer 3.1, and SQL Server 2005 Express Edition. When I initially tried to publish with the "Download prerequisites from the same location as my application" setting, I was presented with errors such as: Error 5 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'SqlExpress\sqlexpr32.exe' in item 'SQL Server 2005 Express Edition' can not be located on disk. ...Show All
Smart Device Development Native development - Survey
Hello to all native developers. I'm with VSD team and looking for your inputs in making VS platform better for future release. I'll appreciate if you all can spare few minutes and send me answers to the following questions. Thanks, Manav Are you existing mobile developer Yes No I’m looking to start mobile development What best describe you as a developer Professional developer/ISV Enterprise developer Student/Hobbyist/Casual Developer Other What kind of applications do you develop Enterprise Line of Business Entertainment/Media Productivity Gaming Retail L ...Show All
Visual C# base.onPaint(e)
could you describe base.onPaint(e) funtions can I draw before or after it Thanks for help Hi base.onPaint(e) will Call the base paint method call the base class's OnPaint method, so that registered delegates receive the event. then you decide when to call base.Onpaint( e ) event - thanks ...Show All
Visual Studio Extending VS2005
Hi all, I have a custom tool pane to aid in the documenting of our source code, but i have no idea how to read the line where the cursor is at in the editor, i need this to see what Methode or type i have selected.. Could anyone point me in the right direction Greetings Paul, How are you extending Visual Studio Through a macro, an Add-in or the VSIP interfaces There are different ways to do this depending on which you are using. I'll lay out how to do this each way so you can pick the solution that is right for you. Macros: Dim sel As TextSelection = DTE.ActiveDocument.Selectio ...Show All
