Senthil A's Q&A profile
Visual C++ Error when going to wizard mode from tabbed mode
Hi friends, Unhandled Exception in TabbedDialobBox.ex (MFC42D.DLL):0xC0000005: Access Violation I am getting the above error when i am inserting the code line "SetWizardMode()" in my code, But when i am running it in the tabbed mode it's working perfectly, When i tried to debug i got that some where assertion is being done due to the abscense of the window handle, but it is working in tabbed mode.With out a handle how can it work in tabbed mode.That's why i am unable to solve. Please send me the solution for the problem. With regards Suman#SS185 I doubt you're going to get "a solution to this problem" based on the information given. You should use the debugger and diagnose this problem ...Show All
Windows Forms fire function in another form
hi Please help me to sort out the below problem I have 2 windows forms 1) view form with a Show button. Double clicking will call a procedure to load a dataset and bind it to datagrid. 2) Edit form - This is loaded on double cliking the view form, user may change values and update the table. My requirement - On closing Edit form, the function to load dataset has to be fired and the datagrid in View form should be updated. But i cannot access any functions of View form from Edit form... so how to refresh the view form once user changed the data in edit form Thanks in advance Raju Sreenivasan Call editform with EditForm. ShowDialog . method. the control will return back to next line only after the EditForm is close ...Show All
Visual Studio Team System team member expectation and evaluation
We're in the process of establishing a team and/or team member performance evaluation matrix. Since we're now in the process of using MSF, we'd now like to tie up our performance evaluation process to that. Where can we find resources that could help me set proper expectations of each team member coming from the different MSF roles (i.e. Business Analyst, Developer, Tester, etc.) Any help will be much appreciated. Thanks! MSF Agile-specific information is at the website: www.microsoft.com/msf and drill down to MSF Agile section. It sounds like you are starting out with MSF so you may want to understand the fundamentals underpinning MSF; my book covers that: http://www.microsoft.com/MSPress/book ...Show All
Visual C++ StackTrace isn't working in C++/CLI
Hi, I'm working on a wrapper-library in C++/CLI to access an old C++-Library. For Debugging purposes I want to write some informations like line number, filename, method name and so on in a logfile. In C# (where I will access my wrapper) I use the stacktrace-class like this: StackTrace trace = new StackTrace ( true ); Debug .WriteLine( trace.GetFrame(0).GetFileLineNumber().Name ); There I'll get the actual line of the file. But when I write the C++/CLI-statement in my wrapper-code I'll get nothing useful. Here is the code from my wrapper: System::Diagnostics::StackTrace^ trc = gcnew System::Diagnostics::StackTrace( true ); System::Diagnostics::StackFrame^ frm = trc->GetFrame(0); System::Diagnostics::Debug::WriteL ...Show All
Smart Device Development Is WM 6.0 Smartphone to include rich edit, file selector? Release date?
Does anyone know if Windows Mobile 6.0 for Smartphones will include the rich edit control and file selection dialog Other details on upgrades including bundled apps, or is this still a ways off Ideas on a release date and when phones will ship with 6.0 Speculation Hi Mike Microsoft is releasing the next version version of Windows CE named 'Windows Embedded CE 6.0' for general embedded purpose. See http://www.microsoft.com/windows/embedded/ce6launch/default.mspx . That's the support you are seeing in Visual Studio 2005. SP1. Michael ...Show All
SQL Server Only show field on last page
Hallo, i would like to show some fields only on the last page on the report. How can i achieve this (The field is in the body area) King regards, Christian Niehaves I'm understood it, but i have the report server project generated by wizard, and seems to me that i don't have VB or C# codebehind, only rdl file with xml syntax. How i can place current page number into the body of report Sorry for my English. Thank you. ...Show All
Visual Studio Team System Working without DB Pro
We've got a fairly large number of developers (150). Most of them won't be receiving VSTSDBP. Some of those that don't receive it may still need to check some stored procs out of TFS & work with them. Since the scripts within DB Pro don't have drop and aren't alter, does anyone have a suggestion for working in this manner We're looking at a process solution where we do a daily build that would wipe out any work done on a database so they would need to get any changes to us prior to the next build. However, it seems like it could be full of holes. Grant, I could be mistaken but I think you could still check files in and out without DBPro. In this case, all you are doing is checking text files in ...Show All
Visual C++ Focus in Multiple Dialog application
hi, i have an client-server(chat broadcasting) application. where in client side i have 2 dialogs , such that first a connection dialog appears (to connect to server), when the connection is sucessful , the chat window appears . In the server side i have a simple dialog. the problem is when i open multiple clients , each client is able to send data to server individually , but i am not able to transmit the data to other clients(Broadcasting). It seems that the focus is not present on the chat dialog, it is still remaining on the connection dialog. (i have written necessary code in server for sending to other clients) this seems to be a weird problem , pl help me out However you desig ...Show All
Windows Forms Please tell me what "Smart Client" means.
I want to buythe book: Data Binding with Windows Forms 2.0 : Programming Smart Client Data Applications with .NET (Microsoft Net Development Series) , I'm building a windows forms 2.0 application and of course I want to maximize the use of databinding in it. But I'm not sure if my windows forms 2.0 app is a "Smart Client" app. -Thanks, Andy Moyer Theres a bit more to it than that... Your definition isn't really a Smart Client, its a Fat Client. There is a big difference. A Smart Client is an app that runs using a local program to run code, but uses the internet for information or data. Microsoft Office is a great example. When you are connected to the internet, your email comes and goes automatically, but when you are ...Show All
Visual C++ error
I have this program to chk time, but the accuracy is 2 sec. I want more accuracy ( 1 sec or less ) pls help , thanks #include <io.h> #include <iostream.h> #include <conio.h> #include <windows.h> int main(void) { FILE *stream; std::ftime ft; int h,m,s,ms; if ((stream = fopen("TEST.$$$","wt")) == NULL) { fprintf(stderr, "Cannot open output file.\n"); return 1; } getftime(fileno(stream), &ft); h=ft.ft_hour; m=ft.ft_min; s=ft.ft_tsec; printf("File time: %u:%u:%u\n",h,m,s); printf("File date: %u/%u/%u\n", ft.ft_month, ft.ft_day,ft.ft_year+1980); fclose(stream); cout << "\n\nPress any key to continue"; getch(); // wait for key pressure return 0; } ...Show All
Visual Studio Tools for Office "Office document customization not available" - Details are blank
Hello We have written a project in VSTO 2005 and have been using it for several months. We have started seeing instances where people are opening up documents they have already created and are getting the error message "Office document customization not available". If you click on view details this is blank. It does not occur for all documents. Any ideas suggestions would be helpful. Regards Joanne I've had this problem, but only in virtual pc and when opening the spreadsheet using automation ( double clicking the file works ok), I'll try checking the ServerDocument.IsCustomised in my app to see if i have the same problem ...Show All
SQL Server CrossTable - SQL Server 2000 Help me
Hello, sorry for my English.. i have this problem two tables TABLE_A Import 65 132 244 165 TABLE_B FromValue ToValue 0 100 101 200 201 1000 i'd like a query that have to result this Field1 Field2 Field3 (Count of table A) 0 100 1 101 200 2 201 1000 1 and if i change the table B this query automatically change.. thank's very much Try SELECT FromValue ToValue, (SELECT COUNT(*) FROM TableA A WHERE A.ImportBETWEEN B.FromValue AND B.ToValue) AS Cnt FROM TableB ...Show All
Visual Basic CheckBox Service control (VB, VS 05)
I decided to try and expand my project, I now wish to have the (current, I'm adding more as I find out which aren't required ) two processes here's a brief on what stage the additions are at. I have added 4 check boxes named; SpoolCheck1 SpoolCheck2 MDMCheck1 MDMCheck2 (more will be added as I find out more that can be stopped) and two command buttons named; StopCheckedButton StartCheckedButton I would like to 'link' the check boxes to the command buttons, but the checkboxes job (when checked, then clicking the start/stop command buttons) is to start/stop the selected program/process, in this case spool and mdm. I have these codes for starting and stopping the processes and return a message if there is a problem. ...Show All
Visual Studio Express Editions How to display multi name in difference textbox when I click on dropdownlist
Protected Sub DropDownList1_SelectedIndexChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged Dim myconnection As New Data.SqlClient.SqlConnection( "Data Source=JIM;Initial Catalog=Northwind;Integrated Security=True" ) myconnection.Open() Dim cm As New Data.SqlClient.SqlCommand cm.CommandText = "SELECT * FROM Customers" cm.Connection = myconnection Dim dr As Data.IDataReader dr = cm.ExecuteReader Do While dr.Read() Label1.Text = dr.Item( "Title" ) Label2.Text = dr.Item( "HireDate" ) Label3.Text = dr.Item( "HomePhone" ) Loop End Sub End Class After ...Show All
Visual Basic The simplest copy n paste destroys code behind link - ridiculous time wasting nonsense
Novice using vb.net 2005, vb.net 2005 express, vb.net 2005 pro This situation is just down right insulting and another ridiculous time wasting feature of the MS IDE. I've placed a split container on my form. Then cut and pasted a group of controls that are already present on the form with linked code behind already working onto one split panel and another group on another split panel. Nothing works. I've now got to step thru my code and manually update the handles on each and every event from the controls I've cut and pasted just to test the look n feel even before deciding to use the split container model. This: Private Sub btnReports_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles btnReports. ...Show All
