Meaks's Q&A profile
Windows Forms VS 2005 CheckBox bound to SQL Server 2000
Using VS 2005 beta 2. I did a drag and drop of a data source table that points to an existing SQL Server 2000 table. I want to use a chekbox with a few fields. They are defined as smallint and have nulls, 0, and 1 in the exisitng data. The chekboxs show up OK on the form in IDE but at runtime they do not track the data values. If I add a teckbox instead the data displays OK. When I click on any of the checkboxs in run mode the program hangs. I ...Show All
Visual C++ int = string; problems with atoi
I want to set an integer value to the value inside a string of string type (I have my own ways of making sure the value inside of a string is an a valid integer). The problem is that I can't do this, where question is an integer and input is a string of string type. question = input; or this: question = static_cast<int>(input); or this: question = atoi(input); Anybody have any ideas que ...Show All
Visual C++ LNK2019:Unresolved External Symbol when trying to link my DLL
can anyone help me in this problem. I have a program which i wish to compile to dll. I managed to compile it into a dll format. But in order to ensure the dll is working I wrote a simple test program. But when i compile the test program it give me this error: This is the dll program: #include "stdafx.h" #include <math.h> #include <cmath> #include "caaSfdt.h" #include "caaLinearInbtwn.h" #include "caaFi ...Show All
Windows Forms Messagebox Not Going Away!!
Hello all, I'm having a particular issue that I seem to can't correct or fix. I have a form that display buttons which support actions when pressed. Some of the buttons send a confirmation box which ask yes or no to confirm. If&nbs ...Show All
Visual Studio Team System VSTS for DB pros - Not using SQL Express
I just installed VSTS for DB Pros CTP over VSTS Team Suite. I already have SQL 2005 DEV eidtion installed as 2nd instance (SQL 2000 as my default instance) all running on same machince - Windows2003 server std. I had no errors during setup, but when I try to create a SQL2005 project, it fails trying to connect to my SQL server. I changed the connection options to my local sql 2005 instance name (Boxname\SQL2005) - but I still get an error tr ...Show All
Visual Studio VS2005 on XP 64 bit Itanium
I am stuck here. I have a Windows Server 2003 Itanium server and a Windows XP 64 bit Itanium backup workstation. VS2005 requires SP1 before it will install. Windows Server 2003 SP1 is installed, so all OK. However, I cannot find the service pack for the workstation. Does anybody know where it is Thanks There's a workaround which you can do to update the setup data files to avoid the check. Please send me ...Show All
Visual Studio Team System Load test - page response time measurement unit
Hi there, I'm running load tests against my .NET 1.1 web app using VS2005 Team Suite. I got it to work just fine but cant seem to make sense the measurement unit that the VS2005 provide. I'm just wondering if ppl know what these means: Counter: Page Response Time Instance: [some page name] Scale: 1 Max Time: 0.865 What is the max time being scaled to 0.865 of ... Thanks! Ronny Just adding to what I asked before. ...Show All
Windows Forms Adding extra controls to a User control as a container
I would like to create a UserControl as a base for a set of other controls for a common look and feel. I create UC1 inheriting from user control and add in a groupBox and a inside the group box a small panel containing some labels and stuff that will be common to each inherited control. The group box is dock.Fill and the panel is dock.Top. e.g. +-Groupbox---------+ | +---Panel--------+ | | | Label1 Label2 | | | +----------------+ | | ...Show All
Visual Studio Report Viewer Export Feature
does anyone know of anyway to execute the export to PDF feature of the reportviewer in code i was thinking i could use reflection to do it but have not been able to. any ideas RenRen, Nice post. Here I am find the same issue with Open option. Save option is working fine. I get " file not found" error. I cleared the Temperory internet files too. any ideas ...Show All
Visual Basic Catch arrow keys and enter in a datagrid combobox
how do you catch an arrow or enter key press event in a datagrid combobox Try the KeyUp event - Occurs when a key is released while the grid has focus. It is passed (ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) You can check e.KeyCode of a Return or Arrow keycode like this: IFe.KeyCode = 13 THEN END IF ...Show All
SQL Server backup does not backup
Hi. SQL Server 2000 EE was able to do this but just found out that SQL Server 2005 EE does not do this. When I select a database to backup, even if i select a different path to backup to - it says it has successfully backed up and verified the backed up database however I am unable to locate it in that path specified. I have also ran a Windows Search on the file - it does not pick up anything. When I go back to SQL S ...Show All
Visual Studio Express Editions How do you reload a form
Hi all, I know this is proberbly a really basic question but how do you reload a form, I'm need to put some code in a catch - end try block that will reload the form or allow the user to re enter a value in textbox2. The best way to do validation is to handle the leave event of the text box, and tell the user right away that they need to make a correction. You can also make changes to a textbox so it on ...Show All
SQL Server calling stored procedure in VC++
i have a stored procedure to get the user pin. the stored procedure works perfectly as i tested it both in VB and ASP , but when i try to call stored procedure from VC++, then i get a Idispatch error #3092. here is the code: BSTR newpin; _bstr_t qsql = "{call user.getpin( ,{resultset 100,pin})}"; command->PutActiveConnection(conn); command->PutCommandText(qsql); command->Parameters->Refresh(); command->Parameters->It ...Show All
Visual Studio Team System Missing Specified field in Scenario work Item
Hi, I read in MSF agile process guidance that Scenarios item should have a field called Specified which is used to indicate that the scenario has been written. But I cannot find this field anywhere and if I try to add columns in the Scenarios.xls and the column is not displayed here either. Could someone please check if this is a general issue or only an issue with my installation I’m running the ...Show All
Visual C++ show/hide/show window
Hi. Sorry if this is too smple, but I can't get this to swing. I am making a small graphics app that includes a few windows that I only want to appear at certain times, via a trigger. Setting up the trigger is not a problem. I use it to start and stop animations and show/hide scene nodes. But I can't seem to apply this same way to a window. Here is what I have at the moment: ShowWindow(hMessage , SW_HIDE); if (distance < 10.0f) { ...Show All
