Suma Sushilendra MSFT's Q&A profile
Visual C++ Where is 64-bit test container?
hi, i'm ever. i'm porting my ATL ActiveX control to 64-bit Windows XP. i'm using VS2005 beta2 + 64-bit Windows XP + Dell workstation precision 670. i can build my control successfully at VS2005 beta2 for x64 platform and it can be registered by REGSVR32.EXE. BUT when i open the ActiveX Control Test Container and insert it, i can't find it in the Control List Box. moreover, if i copy my control to Windows\System32 directory and register it in t ...Show All
Visual Studio Team System Credentials probem connecting to TFS
I have installed TFS beta 3 on a single server in workgroup (Server A). Now I have some clients (WKS01, WKS02, ...) in a win2k domain (DOMAIN). If I connect from WKS01 using IE then IE pops to ask the credentials, I type the workgroup user credentials and then I can see the WSS project portal. If I try connect using VS 2005 it fails. I think that this problem is due to the fact the VS2005 pass the credentials of the user (DOMAIN\User ...Show All
Visual Studio Team System Urgent: Beta3 to Beta3 Refresh Backup and Restore Help
We had Beta 3. In the upgrade to Beta 3 Refresh we had some problems. We rebuilt the server after backing up all SQL databases. We now have Beta 3 Refresh on the single-server server - completely rebuilt. We are about to do a restore of the database when we thought the database structure may have changed between the two versions or the stored procedures or whatever might have changed. What process should we follow to restore our d ...Show All
Visual C++ retrieving commandline arguments
Hallo, I am invoking a programm developed using visual c++ from another program which is also developed using vc++. i call from Prog A using the function STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); ::CreateProcess("B.exe"," /mod", NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)==0) Now my question is how to retrieve or using which ...Show All
SQL Server Can I Attach a database with SMO?
I just developed a solution locally, I would like my installer to attach a database on the CD and then modify the web.config, I am interested in learning how to attach it programatically with SMO Thank Here is a very simple example: using System.Collections.Specialized; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; Server svr; Stri ...Show All
Visual Studio 2008 (Pre-release) Hosting WCF in a Windows Service?? "No endpoint listening exception"
Hello, I'm working on an ASP.NET application that i want to host using WCF using "basicHttpBiniding" . The hosting should be done in a windows service. I've did a test by hosting the service in a console application (instantiating a ServiceHost in a console application project), everything worked fine. The same project is now transferred to be a windows service, i receive an exception "There was no endpoint listening at http ...Show All
Windows Forms DataGrid / Combobox / Query
Hi there, i’m quite new on this VB2005 Coding, but there aren’t books in German language on this yet. So what i want to do: a DataGridView shows the content of my query, so far so good. Now i want to filter this DataGridView by a choice in a ComboBox, e.g. i choose "January" in the ComboBox, now the DataGridView should contain all Datasets from my table which contain "January" in the Column "Month". In VBA i know how to do it, but now i just don ...Show All
Visual Studio Team System Team Foundation - what data "lives" on the App Tier machine?
The subject says it all - Exactly what data (if any) lives on the App Tier machine Obviously source control and work items live on the data tier. Formerly, the database used by Sharepoint lived on the app tier, but with Beta 3 that's been remedied. Does any data live on the app tier, or is it now strictly a functional layer with no persistent storage The reason I'm asking is for recoverability - if the App Tier machine goes down, can I j ...Show All
Visual Studio Express Editions csc.exe
hi I installed Microsoft c# express edition.Now Problem is How to get the c# command line compiler to run the c# applications. I found csc.exe file in .net framework 2.0 ,I tried to open it,but it flashes once and disappears. Please help me how to get csc.exe. Thanks in advance. If you have C# Express installed, you don't need to use the command line compiler. You create your project with all classes in the IDE, and ...Show All
Visual Studio Team System Uncalled / uninstantiated warnings go away when InternalsVisibleTo attribute used
We'd like to be able to detect unused code in our application and its related assemblies, but currently a lot of classes and methods are public to facilitate unit testing. To find code that's only used in the unit tests, we tried making the testable methods internal, and marked our test fixture assembly as a friend of the shipping code using the InternalsVisibleTo attribute. Unfortunately, it seems that FxCop sees this attribute and suppres ...Show All
Visual C# Custom control draws incorrectly when moving another window over it.
This issue has seriously frustrated me. I am overridding OnPaintBackground to draw a gradient background in my custom control. It resizes great - very smooth, no flicker. When I try to move another window across it, it will repaint itself repeatedly... but it will repaint the area that was hidden by the window as if it was the entire control. So if I am starting the gradient from blue to green...When I move a window over half of the control, an ...Show All
SQL Server Client Agent Error: integrity violation
Hello: I tried to do the merge replication between SQL 2000 database and the SQL mobile server on PDA with SQL server management studio from SQL 2005 and I have already successfully synchronized my PDA with one small SQL server database file. However when I tried to synchronized my PDA with another larger SQL server database file, I got the error on PDA as following: “ The row operation cannot be reapplied due to an integrity violation. ...Show All
Smart Device Development Upload a file on FTP server
Hi all, I want to know how i can upload files on ftp server. I tried to use opennetCF but it doesn't work every time. The GPRS connection works fine, the log in to the ftp server too, but when i try to send a file I have often this error : "couldn't open passive data connection, no DataConnection IP was given." So, Maybe i have to use another way to send the files, and if someone havce an idea, thanks to tell me it. ...Show All
Visual Studio Express Editions Combo Box List Not Updating As Desired
I have a main form that contains a combo box bound to a field in the main table of a database. That combo box gets its selection list from another table (call it ListTable) in the database, and there is a second form (call it ListForm) that can be opened to allow the user to populate the ListTable manually. The problem is that when I add items to the ListTable from this ListForm, when I close the ListForm, the combo box selection list does not c ...Show All
SQL Server using TransactionOption in April CTP
Hello. I am using April CTP. In the main package, i am setting the TransactionOption to Required whereas in the child packages to Supported. But i'm getting the following error: The DTS Runtime has failed to start the distributed transaction due to error 0x8004D01C "A connection with the transaction manager was lost.". The DTC transaction failed to start. This could occur because the MSDTC Service is not running. However th ...Show All
