Anthony Chennai's Q&A profile
SQL Server What accounts for this performance difference?
As mentioned in a previous thread, I've got a single Transaction Scope style transaction surrounding a number of DDL style changes. This usually takes ~1.5 hours to complete. What I noticed is the same sort of query starts to take longer the closer to the end it is. I.e. Create Table after the first 1 min takes 150ms, after an 1 hr it takes 2 secs. Is this a problem with SQL Transaction handling or DTC To prove the point I set my root transaction to "not supported" and the overall time dropped for ~1.5 hours to 6 mins!!!! Now I realise I was taking on some overhead using a long running transaction but I never thought it was this ex ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use online help first, then pressing F1 takes up to a minute (looks like multiple redirections happening), then either displays the topic-not-found page or displays something only vaguely related to the select ...Show All
Visual C# Launching Novell mail client programmatically
hey howzit I want to beable to launch Novell mail client programmatically and add attachments and also pull contacts from the Novell address book...unfortunately one can't use MAPI [http://www.codeproject.com/internet/SendTo.asp] which launches Outlook programmatically. Anyway help please! I assume you mean for GroupWise http://developer.novell.com/wiki/index.php/GroupWise_MAPI may help :) Cheers, Greg ...Show All
Visual C# Why is the C# team allowing this to Happen? and Why do they close threads on the topic?
Since PJ. van de Sande Closed the last thread I opened : Why is the C# team allowing this to happen I guess because he didn't click the link or he didn't like the topic. I brought the link information here..... So I ask again... Why is the C# team allowing this to happen If he closes it again, please respond here From the Blog link: From Tom Archers blog Why so many examples in Visual Basic We find another thing for us to ignore from MS when trying to do what they do, and not what they say to do. This blog from Feb I wrote touches on the VB.NET & C# mess discussed in the threads ...Show All
Windows Forms Process won't terminate, even with call to Environment.Exit()
My team and I developed a rich desktop client application using .Net 2.0 (C#) and we are integrating with a 3rd party COTS tool, Tower Software's TRIM Context (records management software). TRIM provides a COM-based SDK that we are interfacing with to make calls to its API. When we start up the application but make no calls to create any of the COM objects and close our application, the process terminates normally. However if any calls are made that create any COM objects in the TRIM API and connect to their dataset, the process does not terminate when our application is closed. I even captured the Application_Exit event and placed a call to ...Show All
SQL Server Graphical tool for creation of database/tables/relationships?
I'm about to create a database (SQL Server 2005 Express edition), but can't find any tools in the Visual studio 2005 beta1 kit that lets me do this visually. I found SQL Server Express Manager - but it doesn't seem to be work like i want (setting up the databases and tables, without maually writing the queries). Are there no MS-tools that lets me graphicaly create the tables/tablefields, and create the relationships visually Hi, SqlServer Express hasn't got any visual tools that allows you to create database objects. You'll need to have SQLServer CTP to gain access to tools like Enterprise Manager in ...Show All
Windows Forms Paint Event Problem
I have a Windows application that overrides the Paint method to change the presentation of the form. Basically, it paints a red border around the edge of the form. I also have a couple of panels that fill up the form. One is docked to the left and the other fills the remaining space. Each of these panels also has an override to the paint event. The overrides are in the Form1 class. The problem: The project solution compiles and runs just fine on my laptop. However, when I copy the entire solution to my desktop computer, the application will run, but the two panels do not update their display! I have placed breakpoints in the respect ...Show All
SQL Server SQL Server 2005, SQL Server 2000 Side-by-Side Installation on the same server
I am planning on installing SQL Server 2005 first and then install SQL Server 2000 as a separate instance on the same server. Has anyone had any experience with this setup When I ran the SQL 2000 set up it didn't force me to create a new instance but I still did. I also installed the files on different directories c:\program files\ just in case. If you have any experience of ideas about this configuration, please let us know. Thanks. If you install SQL 2000 after SQL 2005, you can hit problems during installation. It's always better to install SQL 2000 first, then SQL 2005. If you don't have any problems, ...Show All
Visual C++ LNK1104: cannot open file libc.lib
I have a project built well with VC++ 6.0. The project is built with mutlti-threaded DLL and the project depends on 4 specific libraries and serveral rouge wave libraries. Now I try to build it with VS2005 and get the linking error "cannot open file libc.lib". It seems our specific libraries is built with single-threaded DLL, I am not sure, but that is what I want to find out. I used /VERBOSE to display the progress message, but couldn't find out which library depends on libc.lib. I added libc.lib into ignore specific library and got the 127 linking errors which are related to rouge wave libraries. The following are some errors: tls77-ms ...Show All
SQL Server How can I make this...
Hi have have this problem, I have a table called PABX that has all the callings registry and what I need to do is for each client(PABX.cod_client) I have 2 types of calls (VC1, VC2) , and for these types I need to select all the registries chaging the dialed number(PABX.NRTELEFONE) for the new one (TROCAR.NRTELEFONE) and for those client that doesn't need to change select the PABX.NRTELEFONE is it possible through SQL Server 2000(via stored procedure) or I'll need to do it by my application using a vector Thanks Could you give us the table structure, a bit of data, and what you expect as a return It will make it easier to under ...Show All
Visual Studio Team System VS2003 with TFS MSSCCI Provider "Item is already checked-out elsewhere"
When UserA attempts to checkout a certain file from within the VS2003IDE they get the error message: Visual Studio Team Foundation Item is already checked-out elsewhere: $/Advantage/dotNet/Releases/1.0/Trunk/NCMC.LOS.WinUI/NCMC.LOS.WinUI.Locking/LockInformation.resx I opened Team Explorer (different user, different workstation) and I can check the same file with no problem. What could cause this issue, how do I resolve Thanks for the response. This odd behavior was resolved when we installed the just released "1.0" version of the provider. Tom ...Show All
Windows Forms how to embed child datagrid from its parent
Hi, All, posted a thread earlier regarding nested tables on .net data grid, guess, the simple goal that I am looking for is: for a .net datagrid on a win form app, how can I embed a child datagrid for each data row - so I can click one of the parent row column (e.g. first column of the parent data row and launch the embed ...Show All
SQL Server Error when "SELECT" statement has conditions
Hi everyone, I just started in developing applications for PocketPC. I found an example from this webpage link and I tried it out. I have a listbox to display the results. Dim mySelectQuery As String = " SELECT ID, Name FROM StaffData WHERE Name = 'John'" Dim myConnection As New SqlServerCe.SqlCeConnection("Data Source = \My Documents\test.sdf") Dim myCommand As New SqlServerCe.SqlCeCommand(mySelectQuery, myConnection) myConnection.Open() Dim myReader As SqlServerCe.SqlCeDataReader myReader = myCommand.ExecuteReader() ' Always call Read before accessing data. While myReader.Read() &n ...Show All
Software Development for Windows Vista Workflow Runtime Accepts HandleExternalEventActivity Events Out of Sequence
I am new to WWF and trying to model a simple call tracking application with a sequencial workflow. The first activity of the workflow is to wait for user input concerning the nature of the call (e.g. customer name). The second activity waits for the closure of the call. I have modelled this as a sequetial workflow with two activities. The first activity is a HandleExternalEventActivity activity and handles the receipt of the customer information - Activity #1. The second call is also a HandleExternalEventActivity activity and handles the closure of the call - Activity #2. The behaviour that I am seeing is that the workflow engine allows for ...Show All
Visual C# Controls in diferents forms
hi i have this problem: private void Form5_Load(object sender, System.EventArgs e) { Form1 frm1 = new Form1(); string name = frm1.textBox1.Text; MessageBox..Show(name); } on the Form5 i wrote that code.....ill explain u what the program do: u start in Form1 and when u click in a button it ShowDialog the Form5 and in the Form5_Load it should get the text in the textBox1 of Form1 and MessageBox the text it get. the problem is that i allways get a blank messagebox... and i allready checked that the textBox1 have text in it.. i also made oublic the textBox1 so... what can i do Hi, No, this ...Show All
