Ananth Govindarajalu's Q&A profile
Visual C++ I am use visual c++ about 3 years. I found MFC is hard to learn. I want to return to pure c++. Is anybody likes as me?
I am use visual c++ about 3 years. I found MFC is hard to learn. I want to return to pure c++. Is anybody likes as me Yes, I feel the same as the original poster. I wonder if it ever occured to Microsoft that most of us have to develop projects to make a living and don't have the time anymore to invest months into studying new languages, new frameworks and new paradigms In our company we made the decision to continue using C++ and MFC. Fr ...Show All
.NET Development Unable to connect Sql Server from VS.Net
I am a new .Net user. I am trying to use Visual Studio.net 2003 to creat a Windows application. When I try to connect to my SQL server I am getting th efollowing message "Unable to connect to batabase. It is only possible to connect to SQL server Desktop engine database and MS Access databases with this version of Visual studio. Someone suggested that I may not have proper security set up. i am not sure where to start checking. Any help would be ...Show All
Windows Forms lockbits
There are two ways to process an image right 1. Bitmap.SetPixel, Bitmap.GetPixel 2. Bitmap.Lockbits Which one is faster To tell you the truth, I don't know how to benchmark. How do you record the CPU time, considering multi-tasking Are there any ...Show All
Windows Forms Validating parameters
Is there an easy way to validate parameters against their type and size before they go to the database. (We're still using framework 1.1) I'm calling a procedure in an oracle package from my class which has about 100 parameters. I've got to create about 6 more procedures with just as many parameters after this. The procedure is doing either an insert or an update, return an id, error code.... The values are contained in different web controls th ...Show All
Visual Basic reading text from a document and displaying it
I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2 ...Show All
Visual Studio Team System Different test results by using of Performance Tools
I crated a very simple project (WinForms). The project has only one form and one button. When you press the button two simple functions are invoked: f1 and f2. Then I created a performance instrumentation session, which lunches the executable through the project. The result seems to be ok. For example the tab functions show following list: - WindowsApplication1.Form1..ctor() - ...Show All
SQL Server How to Delete Files on Maintenance Plan
Hello, I am creating a Maintenance Plan in SQL Server 2005. The 'Back Up Database Task' has the choice 'Create a sub-directory for each database' as SQL Server 2000 does. But when I add a 'Maintenance Cleanup Task' I do not see a choice to delete files on subdirectories. Looks like it only deletes the files from the directory I specify. So, looks like SQL Server 2005 is removing some functionality already available in SQL Server 2000. ...Show All
Windows Forms How to set values in grid cells programmatically?
I wonder I cannot find a way to do it... I think this should be a very common task. What I need - a kind of calculated columns. A user enters values in a row of datagrid. I want some cells to be calculated automatically, based on ...Show All
Visual Studio Wizard size and colors
Hi all... I'm using standard wizards to gather data: < Wizard xmlns = " http://schemas.microsoft.com/pag/gax-wizards " SchemaVersion = " 1.0 " > and I want to know if i can change the size and colors of that wizard. The problem is that the window displayed is too big and there is an unnecessary big blank space i'd like to remove. I'd also like to change the colors of some fields in the wizard. How can i do th ...Show All
Smart Device Development Emulator softkeys
I recently upgraded to VS 2005 FC1 and now I have a problem. For some reason, the Windows Mobile 5 Emulator's softkeys are mapped to numeric keys. For example, pressing the left softkey while in the home view will result in a '1' being entered instead of display the start menu. Pressing the right softkey will result in a '2'. Pressing the home and back buttons work. Pressing the Green phone button will result in a '3' and the red phone button in ...Show All
Visual Studio Team System Request failed while playing back a webtest.
I just installed Release Candidate of VSTS and was trying to make web test run with our test web site. Here are the steps I recorded off the script: 1. https://projectpoint.buzzsaw.com/_bz_web/login.aspx 2. Site: bcsqa User: Barry Tsai Pwd: Changeme1 Some how the script doesn't play back. It failed due to "Request Failed: the undering connection was close: The connection was closed unexpectedly". I am pretty ...Show All
Windows Forms Smart Client Install/Uninstall broken
Howdy all, I have a smart client application that is giving me an error when I try to install it (error text below). There is an interesting twist though that is likely causing the error. I recently developed this application in the hopes of making it a smart client. The server where the smart client application will be hosted does nto have the .NET 2.0 framework installed. It is not expected to be installed until somet ...Show All
Visual Studio Tools for Office Suppressing "Do you Want to Save" window
I have written a macro that automatically saves a file as a Tab Text file and quits Excel, but the "Do You Want to Save the Changes " message box pops up. I want to suppress this window. I can do it in Windows with the "saved=true" statement, but I need this particular macro to run on a Macintosh, and that statement doesn't seem to work. Any Ideas THANKS Never mind, I figured it out. Someday when you're old an ...Show All
Visual C++ Converting ByteArray to Char Array.
Hi. I'm having some troubles when performing this conversion. In my C# code I read a image to memory, a TIFF, then I convert this to a ByteArray. After that I call a method from a managed class that I developed in C++/CLI, that receives a Byte Array and a int. On my managed method I need to call a unmanaged funtion from a C header file, and that functions receives a Char *. However, when I call the function the return is not waht ...Show All
Windows Forms updating datagridview
hi everyone, i have a problem here with databindings, i use datagridview to store data and textboxes binded to that data so if i edit values in textboxes in the datagridview the old values changes only when i select row. the result i want to have is when i edit data in my text box i want to see that in datagridview it is changing in present time but not only when i select other row. any help will be appreciated. ...Show All
