Raju_Sreenivasan's Q&A profile
Windows Forms Set Focus to a datagrid row
Hi, I have a datagrid filled with data. I search thru this datagrid and found one row using ds.dt.select( ) stmt. I want to set focus to this row in the datagrid. Please help me, how can i do it. Thanks in advance. thanks.. Hi Mark, Thanks for your reply. I am new to .NET. Can you please tell me, how can I set this CurrentCell property. Below is the piece of code... ---------------- Dat ...Show All
Visual C++ ifstream seekg() problem
Hi all, I'm using an ifstream to read in a file. After reading in the file once, I want to "rewind" to the beginning of the file and read it in a second time. I've tried using the seekg(0, ios::beg) method but it doesn't appear to be working. I've also closed the ifstream (close() method) and re-opened it. It appears that it doesn't reset the eof() flag inside the ifstream and prevents me from reading in any data from the ...Show All
Visual Basic how do i....textbox?
Well basically i want to know how i can write an IF...THEN decision structure based on the contents of a textbox. for example lets say i want to say something like IF textbox1.text (has no text in the field) THEN textbox1.text = 0 Also how do i write a code that only allows integers of a positive value to be typed and accepted into the textbox // IF textbox1.text (has no text in the field) THEN textbo ...Show All
Visual Studio Team System Newbie performance tools question
I tried to use the performance tools in Beta2 and find it's different from the CLR Profiler. At least those graphes in CLR Profiler could not be found in VSTS performance tools. Is the function of CLR Profiler fully integrated into VSTS Or I still have to use CLR Profiler Thanks! Have you enabled .NET memory allocation and .NET object lifetime profiling prior to launching your performance session If not here are some inst ...Show All
.NET Development Connecting problem
Hi. I am having problems with the TCPClient Class in .NET (1.1) If i connect to the server app from either mobile device or the Windows Client application, it of course connects successfully assuming the server is up and running. However, if i quit/stop the service of the server app and try to connect from the client application - you would expect for it not to work. However, it does! It seems to connect but the problem starts when you se ...Show All
SQL Server Connection To SQL Server 2005 / 2000
Hi everybody, I got a bit of a problem with my connection. I wrote a programm in VB.Net wich connects to a sql-server 2005. On my local Computer everything works great, but on another Computer in the Network, I just receving timeouts. I allready check, if the sever allows remote connection. My connectionstring for the SQL connection looks like this: "Initial Catalog=Bauvorhaben;Data Source=P4-2400\SQLEXPRESS;Password= ;Persist Security Inf ...Show All
Visual Studio Team System config files while testing
I have certain config files in my application. When i run my unit tests, they fail saying that the config files cannot be found. Please suggest. Hi Payal, Can you provide more information on this, a) Are you using Visual Studio 2005 b) What language are you using (C#, C++ ) c) What kind of config files are you using, and how did you add them to your project d) Can you provide the exact error message Thank ...Show All
Visual Studio Fu: Can not find keycodev2.dll, or invalid keycode - Developing across network
When deploying a Windows app to our production server. I get the following error when trying to print "Can not find keycodev2.dll, or invalid keycode". I have tried adding the registration merge module to the program with no success. I even was going to try the solution from the crnet_keycodev2.pdf until I got the the part where it tells you to add the ASPNET user account. This server is in not connected to the internet ( ...Show All
Visual Studio usage of the VSSItem.get_Version() method
Hi guys, as asked in the subject header, given the example as C# VSSItem Version [ [OptionalAttribute] [InAttribute] Object Version ] { get; } I understand from the API reference that the input parameter of Object type is the version i am looking for to retrieve from the VSS. Can i pass in a string to get the VSSItem with the label as shown in the example below. string myTestLabel ="URG_FIX_03112005" IVSSItem vssFile ...Show All
Smart Device Development Visual Studio 2005 Downloads ("Deployment")
Deployment to my target fails unless I first manually delete the previously deployed exe/dll on the target. How to avoid this Just to confirm, you are using VS RTM and not trying to use the Beta2 correct :) We did fix some issues that were in the Beta2 similar to what your hitting. I'm going to assume you're using the RTM version :) There's several things you can try. 1. Create a simple .exe that call ...Show All
Visual Studio 2008 (Pre-release) 'BasicSecurityProfile' sample throws exception 'NonValidatingX509Token' does not support 'X509SubjectKeyIdentifierClause' cr
NB: see 'Update' below. I've been trying to work with X509 certificate-based authentication, but couldnt get it working. So, I thought I'd try one of the samples that uses x509 certificates. But when I try and run the BasicSecurityProfile sample app ( C:\Program Files\Microsoft SDKs\WinFX\ samples\WCF\TechnologySamples\ Basic\Binding\BasicProfile\BasicSecurityProfile\CS\ ), I get the exception listed below. The exception is thrown when the c ...Show All
SQL Server Error Message when accessing Report Manager
Whenever I try to access Report Manager, I get this message. I don't know what caused it. I recently installed Crystal Reports v11 & Oracle 10gEX evaluation apps. Could they have caused this How do I fix this Product: SQL Server Reporting Services Event ID: rsReportServerDisabled Source: Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings Version: 8.00 Message: Unable to encrypt or ...Show All
SQL Server Error Message when accessing Report Manager
Whenever I try to access Report Manager, I get this message. I don't know what caused it. I recently installed Crystal Reports v11 & Oracle 10gEX evaluation apps. Could they have caused this How do I fix this Product: SQL Server Reporting Services Event ID: rsReportServerDisabled Source: Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings Version: 8.00 Message: Unable to encrypt or ...Show All
Visual C++ Example C: Getting and Setting Certificates Properties
I am trying to compile the example C program from the MSDN Library about: Getting and Setting Certificates Properties and it appears the next error: c:\archivos de programa\microsoft visual studio 8\vc\platform sdk\include\servprov.h(93) : error C2872: 'IServiceProvider' : ambiguous symbol could be 'c:\archivos de programa\microsoft visual studio 8\vc\platform sdk\include\servprov.h(48) : System::IServiceProvider IServiceProvider' ...Show All
.NET Development Code sample for TCP/IP client/server for Studio 2005 C++ .net 2.0
Consider that I'm new to everything. Is there a document that explains the steps (with complete code example) to have a TCP client and a TCP server for .net 2.0 with Visual studio 2005 C++. Sebastien Thanks Mike, I guess that in C++, this should be almost the same code. But is this really using ". net framework " , or is it instead going back to use win32 or MFC or winsock2 . As I said, I'm new on these thi ...Show All
