Jorge Stalin's Q&A profile
Visual C++ Addition Operator Overloading Problem
Hi folks, I'm writing a Windows Forms app in Managed C++ for MS Visual C++ 2003. I wanted to overload the Addition operator for the System::String class so that I could Concat Strings with '+'. However, when I added the following code: static String* op_Addition(String* strStringA, String* strStringB) { String* strResult; strResult = String::Concat(strStringA, strStringB); return strResult; } ....... Form1(void) { InitializeComponent(); String* strString1 = "This is "; String* strString2 = "a test."; Debug::WriteLine(strString1 + strString2); } The compiler outputs, "c:\Documents and Set ...Show All
Visual Studio "Only for me" installation of packages
Hi, Our customers want to be able to install our integration with "only for me" installation type. Is it ever possible As I know Visual Studio and all its packages are installed under HKLM only ("all users"). So, what about installing packages under HKCU only Thanks in advance, Yes, all packages must be registered under an HKLM key so per-user installations aren't really possible. Visual Studio doesn't currently support per-user packages, though it does support per-user add-ins. Please add a request at http://lab.msdn.microsoft.com/productfeedback/ so we can track how i ...Show All
Visual Studio How can I debug from a web project in a class library
I have two solution files. The first is my web application. In the second are some class libraries with helper classes. I’ve set in the web application the references to the output dlls from solution two. I won’t include the project from solution two in solution one. They should be separated. How can I debug in the class libraries Thank, Attila little_Attila wrote: How can I debug in the class libraries You should be able to step right into a class library method call using F11 (or Step Into). A ...Show All
Visual Studio Team System Windows Sharepoint Services is not configured as Recommended by Team Foundation Server
I have gone through an installed all of the parts for Team Foundation Server. I installed SharePoint Services 2 (SP1). When the final page came up I did not do anything (per the instructions). I still keep getting "Windows Sharepoint Services is not configured as Recommended by Team Foundation Server" . I can not select "continue" as it goes back to the main Team Foundation Server Setup. What can I do Matthew I may be wrong on this, but take a look to see whether your TFSService account is a member of the IIS_WPG and STS_WPG security groups. I had to ensure that this account was a member of these groups to get my inst ...Show All
SQL Server connect to MSSQL2005 via ODBC
Installed SQL2005, connect via (the new) SQL Nativ Client ODBC Vers. 2005.90.1399.00 works, just as (the old) SQL Server ODBC-Driver 2000.85.1117.00. Works fine. But from an other machine -there is no client installed - using driver 2000.85.1117.00 I get the message "Server dosn't exist or access denied" How I can connect It is due to the fact of .NET FRAMEWORK 2 Thanks! Thanks Laurentiu, upon configuration Surface Area Conf.Tool the connection works. I did not know this feature ...Show All
Visual Studio Team System Project site error - Unable to locate control: ctl00oReport
on Portal site, opened Project Documents, viewed the project list, closed, click Home to return to main page. error dialog is returned with msg: Unable to locate control: ctl00oReportCell Build and Quality indicators web parts show scroll bars. The following error is displayed under Bug rates part on the right: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'AreaPathPath1'. (rsErrorExecutingCommand) The default members for the dimension 'Specified' do not exist with each other. Please see this post for the solution to fix this error: http://forums.mi ...Show All
Visual C++ Can't Get the Form to appear
I have a program that I am working on. I have run into this problem countless times and it is strange to me that it works sometimes and other times does not. I have created an application using Visual C++ .NET 2003 standard. Here is an example of the situation. I add a new form called aboutDialog. Set the form properties. In another form I add the #include "aboutDialog.h" In the code I have the following: aboutDialog *about = new aboutDialog(); about->ShowDialog(); The compiler is failing to compile and giving a C2061, and C2065 error code. It states ...Show All
SQL Server Upgrade to Advanced Services; full-text indexing not working
I upgraded to Sql Server Express 2005 w/Advanced Services, chose to install full-text indexing, rebooted, but appear to be unable to set up full-text indexing for a column. After attaching the old mdf file and opening any table in either Management Studio Express or Visual C# Express, I don't get anything but a disabled (Is Full-text Indexed) property for the fields I want to set up. I have verified that FullText Search service is running, and have tried restarting the service. I have also checked that full-text indexing is enabled on the database. I just feel like I am missing some simple step. Any info would ...Show All
SQL Server Access DB2 on AS/400 using IBM OLE DB Provider
Hi, I am using the IBM OLE DB Provider (IBMDASQL) provided with Client Access (IBM) to access a DB2 database on an AS/400 (iSeries). Using an OLE DB Source in the data flow and Access Mode set to "OpenRowset" this works fine (even though I think it is quite slow). However, when I change the Access Mode to "SQL Command" my data flow fails at the OLE DB Source component - not giving me any meaningful error description (only the mysterious "... the error is specific to the component..."). Using and SQL Command to access the data is important to me, since I need to put a WHERE-statement on the rows returned from the source. /Michael PS: I am no ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My project, help (directdraw, direct3d, gdi)
Hi, My goal: size different map of boxes, which are of different colors, redrawing realtime as it's content is changing. It should be as fast as possible. My tries: > Gdi:: too slow > Gdi with direct pixel access (dPa), boxes created as two cycles of pixels:: too slow > Gdi, map created as only pixel map dPa, resized by Gdi to boxes:: slow for bigger maps > DD resized pixel map dPa ... bit faster as gdi > DD, boxes precreated as surfaces :: fast enough, see problem no 1 > D3D... not initialized, see problems with initialisation of d3d Problems: 1) how to stop forms invalidating or erasing and repainting I tried: > V ...Show All
.NET Development a javascript error when transforming xml using xslt
deployed on different IIS servers, results are different if using IE as browser. On one server it is totally correct, on the other IE will give an error message when transforming xml to html. " The stylesheet does not contain a document element. The stylesheet may be empty or it may not be a well-formed xml document ." And the response HTTP headers are different in Content-Type -- the correct one is " application/xml ", the other is " application/octet-stream ". While on firefox, both are right. I think there must be some different between two servers, but I can't figure it out. ===================== ...Show All
SQL Server 2 questions concerning versions/ version numbers
Hello I successfully used ADSI and WMI to get to following Information: a list of all servers in a domain the OS installed and if it's standart or enterprise edition a list of all products installed (such as 'Microsoft SQL Server Desktop Engine (SHAREPOINTPORTAL)',' Microsoft Windows SharePoint Services 2.0', and many more) and their version numbers Now I'd like to know: What version-numbers are used by the different editions (standart, enterprise). Within this information i'd be able tell wich edition is installed on each server If there is a way to find out which Licenses are used for each Product on each server ...Show All
Windows Forms Backgroundworker Problem
Hi, I have a problem. Im using a backgroundworker object to do some processing, but the dowork method is not executing properly. When debugging, the debugger goes to the first line of code in the method, and does not move on. Can anyone give me some insight Here's the code: { int current = 0; localhost. Photo [] photos = galleryService1.GetPhotos( CurrentGalleryID); current = 0; foreach (localhost. Photo photo in photos) { System.Net. WebResponse response = System.Net. WebRequest .Create(ImageHandlerLocation + "Size=100&ImageID=" + photo.PhotoID.ToString()).GetResponse() as System.Net. WebResponse ; CustomPictureBox ...Show All
Windows Forms How to change/insert images at runtime?
Hey I am using VB.NET and I am trying to display an image on the report for every item in the database. Could anyone tell me how this is done Many thanks in advance... arjun hi, im glad i can help here... in any way you need a blobfieldobject on your report, for do that you nee to create a dataset with a field named image o ...Show All
Smart Device Development High DPI
I am programming for the Compact Frameork 2.0. On a Windows Mobile 5.0 smart phone. I want to provide a different picturebox.image on a High DPI device. In C# what is the best way to determin that I am running in a High DPI environment. TIA, Al I have to say that I think it is a bit of a pain. I was hoping to create a globally available resource which I can setup for the particular resolution, a little like one might do for languages. Then I can just refer to the GlobalGraphics resourcemanager and pull the relevant graphics out of this in a way that would be common to 96 and 192 DPi. Also when diffe ...Show All
