Answer Questions
crystalamber wide characters in program
#include "stdafx.h" #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; std::cout << "Hello, " << name << "!" << std::endl; return 0; } wchar_t where do i put this in for wide characters like japanese thanx tried this with an ouput program but command prompt won't show the japanese characters just shows Japanses: local language is set to english i'll try out wht u've posted up to me thanx If you know that you'll never encounter any surrogates then it should work. There is currently a work-item progressing through the ...Show All
TelecoCaixa Docking a Web Browser
I want my WebBrowser1 to be Dock:FILL, but when I do that, it goes under the ToolStrip1. When I run the application, the WebBrowser1 is under the ToolStrip1 so I am missing part of the web page. I want it to be under Below the ToolStrip1 so I may see the full web page and still have it docked on FILL. Can some one please help me Oh, I am using Visual Basic 2005 Express Edition. your welcome right click on the browser and click bring to front cheyenne That is just what I needed. Thank you, it was the only thing I did not try. ...Show All
steveprogressing Questions regarding SQL and Visual Studio Express Editions
I'm completely new to this and understand Visual Studio Express Editions is Free but what about the SQL Server Is this also free or will there be additional charges. Whether through Microsoft or my ISP Provider I have just uninstalled VSEE and plan to uninstall the SQL Server believing it will be an additional expense I cannot afford. There are 4 listings instead of 1 for SQL Server. They are as follows: SQL Server 2005 SQL Server Native Client SQL Server Setup Support Files SQL Server VSS Writer Do I also uninstall all of the above SQL files Thank you. Thank you. I really appreciate your help. The Express version of SQL Server 2005 is free just like VSEE. There are no additional charges of any sort. As fo ...Show All
Mike Haro Query within a datagrid
CHECK BOTTOM well connecting to/executing queries in a database is expensive so you should really try to make less trips to it. The best thing you could do is fill a dataset with the data from the database and filter the dataset. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=753872&SiteID=1 now, when filtering, use the DataView to do your filter: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=828618&SiteID=1 so an example would be when you press a button.... Dim theDataView as new DataView(Me.theDataSet.Tables(0)) theDataView.RowFilter = " ColumnName = '" & Me.textbox1.Text & "'" MessageBox.Show("Records found: " & theDataView.Count.ToStr ...Show All
jbhatia CTP4 Problem
I just installed CTP 4 and attempted to create a new Database Project as follows: I select File | New | Project I expand 'Database Projects' and select Microsoft SQL Server I select the SQL Server 2000 template I enter the name and location etc. I click the OK button and after a few minutes I get an error stating, "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error locating Server/Instance Specified). I have both SQL 2000 and 2005 installed on my laptop. I don't know what server/instance its at ...Show All
Manaxter The Local Security Authority Cannot Be Contacted
hi, could someone please help me out in figuring out why the users of the server have started to receive the above message when logging into the team website. i saw there was a thread here previously on it - but the gentleman failed to find a cause - and just reinstalled everything, which isn't an option. any ideas Not sure about the error, but some of the posts on this newsgroup search may help. In particular, one of the comments in the thread "how to configure for OWA with IIS" states: Just a guess, but perhaps the internet guest account does not have permission to deal with the exchange mailboxes etc, unless OWA uses IWA Could you check the permissions of the account running the Sharepoi ...Show All
Milzit Problem with APPLY operator in stored procedures (RTM VSDBP)
In some stored procedures in our DB we use new SQL2005 APPLY operator. If we try to build such procedures in DataDude we get an error: Error TSD3033: [Procedure] dbo.xx: Because [dbo].xx depends on .... For example i created simple project with only two tables and one procedure. this procedure fails on build: CREATE PROCEDURE [dbo].[testApply] AS BEGIN SELECT * FROM dbo.testTableA CROSS APPLY ( SELECT * FROM [dbo].[testTableB] WHERE dbo.testTableB.column_2 = dbo.testTableA.column_2) tt END testTableA and testTableB are two simple tables with 2 columns (column_1,column_2). When containing project is built we get an error: ------ Build started: Project: Database1, Configuration: Default ...Show All
sahady How to convert string HexaNumber "0x09" to UInt32 type?
Hi, i need to convert String values that represent a Hexadecimal number in the format "0x3A" to UInt32, but it has to exactly in that format "0x3A". I need this because i’m making a program that sends values like a distance for example to a rowing machine that receives the values in Hexa. To send the value 400, i need to do for example: UInt32 [] cmd_data = new UInt32 [64]; // Send a 0x21 (CSAFE_SETHORIZONTAL_CMD) command cmd_data[cmd_size++] = 0x21; cmd_data[cmd_size++] = 0x03; // 3 bytes are coming next cmd_data[cmd_size++] = 0x90; // \ 400 meters cmd_data[cmd_size++] = 0x01; // / cmd_data[cmd_size++] = 0x24; // 0x21 Kilometers | 0x24 Meters // this is the infor ...Show All
D. Choquette Process Guidance - 500 INTERNAL SERVER ERROR
Hello, i am evaluating VTS using the VSIP virtual image that can be downloaded using an MSDN subscription. All seems to work except from browsing to the "Process Guidance" webpage on a created Team Project portal. This page constantly gives me a "500 INTERNAL SERVER ERROR" when i access it from another pc. Accessing it from localhost seems to work fine. When browsing the EventViewer the TF53010 error below is shown: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 1/3/2007 9:45:22 AM Machine: TFSRTM Application Domain: /LM/W3SVC/3/Root/Warehouse-2-1281 ...Show All
George Birbilis mousehover rnd point project
Hi I am trying to find ideas of where to begin my project for what I guess will be a mousehover event. I need to create a button in vb that moves to a random point within the form without moving off the form, I am asking for help and ideas where to begin hints and that sort of help. I am not looking for answers well at this point anyway. Thank you for your help DKB funny, you posted EXACTLY 2 hours after your initial post :-) 4:00pm and 6:00pm UTC anyway the Random class: Dim theRandomNumberChosen as Integer = 0 Dim theRNG as new Random() theRandomNumberChosen = theRNG.Next( min, max ) This is how the Random class works, you give it just a min and max value to gen ...Show All
Metallicox How can I trigger a ButtonClick Event?
Hi Folks, I want to trigger a ButtonClick Event by a means other that clicking the button. Specifically by hitting Enter on the keyboard after typing into a TextBox. I want the ButtonClick Event to happen when I hit Enter with the TextBox in Focus. I've been trying to do it with a RaiseEvent statement but not getting anywhere. Is there a way to do this Here's the Sub I've been messing with: Private Sub txtFindIt_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtFindIt.KeyDown If e.KeyCode = Keys.Enter Then What to put here End If End Sub Thanks OOPS! That won't work with Delete, only works wit ...Show All
GILLT publish permissions full control for share?
Why does one need full control share permission to publish test results to the build server I would thing that "change" share permissions would suffice. Hi Jason, Sorry for not being clear in my last answer. Users not only publish (write) and view results (read) in a TFS server, but they can also delete, and full control makes all these options possible. Thanks, David Gorena Elizondo [MSFT] VSTS Hi Jason, This was a decision taken long time ago. I'm not sure about the specifics. I really appreciate your feedback, and you can be sure we'll take it in consideration. Thanks, David Gorena Elizondo [MSFT] VSTS Change share permissions allow you ...Show All
GS80 how do i make Domain groups into global groups
Hey everyone ok well im in a situation where i want to have some groups that can ONLY read status's and not change it and some that can change the status for different stages of the defect.. my problem is that i created a couple different groups which were domain groups, when i go to the list of groups that i can read only or whatever there are only the global groups, how do i switch my domain groups to global lists thanks Here is how-to article on creating server level groups: http://msdn2.microsoft.com/en-us/library/ms252479.aspx . There is good information on how to manage groups and permissions at http://msdn2.microsoft.com/en-us/library/ms253047.aspx Kardi, If you mean workflow state, you can restrict ...Show All
Kosmo007 Reports against Version Control
I'm looking for a way to run a couple of audit reports; Items currently Checked Out Check Out History by Item I've done some searching, and found some info on the Schemas available here . But, my problem is that I am not yet well versed in the Reporting Services side of SQL Server 2005. In Reporting Services, I've set up a Data Source and Model for the TfsVersionControl database. However, I haven't had any success yet with creating one of the two reports mentioned above, and am not even sure if I am going about this the right way. My problems are likely permissions-related, but my main question regarding Reporting Services is, am I supposed to create my own Model against the TfsVersionControl database ...Show All
Leebo31 OutOfMemoryException when publishing test results
I have a team build that was working up until now. All of a sudden it's giving me an OutOfMemoryException when trying to publish the test results. Here's the relevant portion of the build log: Passed Westeel.UnitTests.UnitTest_UpdatePartSiteInfo_04 Passed Westeel.UnitTests.UnitTest_GetPartsByLikeCriteria_03 Passed Westeel.UnitTests.UnitTest_GetPartsByLikeCriteriaAndSite_04 Run has the following issue(s): C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : Code coverage instrumentation warning while processing file BusinessLayerInternal.dll: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation. ...Show All
