Steve Geffner - MSFT's Q&A profile
Windows Forms How to display mdichild window over the controls hosted in mdiparent
Hi I am having a MDIParent window with some controls hosted in that.When I show a MDI Child window on that it is showing behind that controls.Is there any method to bring the MDIChild to front view Thanks in Advance Joy ...Show All
Visual Studio Team System Team Build Server error
Hi Can anyone tell me how to build using Team Builds No matter how I tries, my build ends with an error. Arild Attaching the error log and .proj file. Build started 13.10.2005 10:57:01. __________________________________________________ Project "c:\data\components\duplo\Duplo\Test2\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: Target CoreClean: Removing directory "c:\data\components\duplo\Duplo\Test2\BuildType\..\Sources". Target InitializeBuild: Creating directory "c:\data\components\duplo\Duplo\Test2\BuildType\..\Sources". Creating directory "\\192.168.3.20\data\builds\duplo\Test2_20 ...Show All
Windows Forms Print a datagrid
hi can anyone tell me how to print the contents of the datagrid thanx a lot here try this.. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/printwinforms.asp frame=true. http://www.thescarms.com/dotnet/printdataset.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vbcode/html/vbtskCodeExamplePrintingDataGrid.asp ...Show All
Visual Studio Team System TF30177: Team Project Creation Failed
I'm getting the following error when trying to create a new team project using a WORKGROUP install of the TFS Release Candidate: Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Portal plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Portal plug-in used to create the new team project could not be initialized and returned the following error: Invalid URI: The hostname could not be parsed.. User Action Contact your Team Foundation Server administrator The team project creation log is as follows: 2006-02-12 12:15:35Z | Module: Inte ...Show All
.NET Development C# Finalizer for .Net Framework class System.Security.Principal.WindowsIdentity
Ok, first I'll not bark at the obvious poor choice made to not support a 'delete' statement to force finalizing an object; rather I'll assume your approach is correct... According to everything I've read, If you allocate unmanaged resources within an object one should support the System.IDisposable interface and free resources there. This post is to point out that in the Framework 1.1 the class System.Security.Principal.WindowsIdentity allocates a global windows handle when instantiated with a security token. This handle is not released until the destructor is called. This is contrary to your own best practice, is it not Backgro ...Show All
Visual Studio Tools for Office TSQL issues
I want in incorporate quereis in my VB.Net app to populate word documents..i am getting the data from a sql server database... Do i need to just write regular t-sql statements or do i need to begin with some type of reporting You can use TSQL to extract the data from a SQL Server database. What are you using to generate the word document Are you using the Microsoft Word Object in the COM tab in the Add Reference option If you are, you can store the results of the TSQL statement (after calling the corresponding ADO.NET objects to execute the query and retrieve the results) in a string then print this in your word doc ...Show All
Visual Studio LAN booster & RPC error 06ba
Hi, we have problem with LAN booster service. Visual studio reports " Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal ". After some investigation i suppose there should be some problem with anonymous RPC on server: DebugView reports VSS RPC Service call failed, server: develop1, err: 06ba , which means that RPC is unavailable small utility SSServiceTest (Alin Constantin) reports RPC_S_ACCESS_DENIED in RPC Ping call. VSS is running on Windows2000 server SP4 with all patches applied. There is no firewall or other blocking software. Telnet can open ...Show All
Windows Forms FileSystemWatcher
Is there a way to use on FileSystemWatcher object to watch both a certain type of file and all folders or do you have to use two FileSystemWatcher objects to do that Also, if two are necessary, how would you go about having both of those work on different threads (I'm pretty new to threading) Many Thanx! :) FWIW, I think ...Show All
Visual Studio Team System ReportServer database not migrated
I followed the instructions in the Beta 3 Refresh migration guide and was successful in installing the Beta 3 refresh with SQL Server 2005 Enterprise edition and restoring my team project. Unfortunately, the reporting services data associated with my team project is located in the database backup file of ReportServer and ReportServerTempDB, whose schema is an older version than that of the reporting databases installed with SQL Server 2005 Enterprise edition (I was using SQL Server 2005 Standard September CTP prior to this). I found this out when I restored those backups and then reporting services no longer worked and just threw the error r ...Show All
Visual C++ Intellisense seems to be crashing
Hello, I am using VC++ 2005 Express. I have a template function ToString: template<typename T> string ToString(const T& type) { stringstream strstrm; strstrm << type; string ret; strstrm >> ret; return ret; } Whenever I type "ToString(" VC always crashes. It seems like Intellisense is having trouble with it and I don't know why. Is there any known reason for this and a fix Slaru If you can reproduce the issue constantly please log it at http://lab.msdn.microsoft.com/produc ...Show All
Visual Studio Express Editions No output from Debug.WriteLine
Hi, I must have changed something in VB. My Debug.WriteLine("What ever") statements no longer produce any output in the Output window. The window is blank! I would appreciate help in how to get Debug.WriteLine working once again, thanks. I'd need to check in Express but in VSTS it is producing the output in the output window whether I use Debug.writeline or Console.writeline. The dropdown at the top of this window show output from debug was set to Debug. I'll double check with express when I get into work. Is this a windows or console application that you trying to use this with - just so I can try and duplicate you ...Show All
Visual C++ LNK2019 problems
I'm currently migrating a DLL which compiles and links fine on Visual Studio .NET 2003 over to Visual Studio 2005. Its using a couple of custom libraries provided by a thrid party (but source included). I've recompiled the external libraries without a problem, and the linker can find them fine. I have to specifically tell the linker to ignore libcmt.lib and libcpmt.lib, as for some reason it tries to link them in (I'm compiling as a multi-threaded DLL), but that's not a big issue. The problem is that when it links, it gets a linker error LNK2019 for each of the external libraries I'm using. The error messages are as follows: error LNK2019: ...Show All
Windows Forms Cannot set GenerateDBDirectMethods to true in type datasets
Hi guys I have used strongly typed datasets in vs2005 to create my dal. I am having an issue that some of my TableAdapters dont have Insert/Delete methods generated. I have tracked this down to the GenerateDBDirectMethods being set to false on those table adpters. However, If I try and set this to true, I get an error saying “property value is not valid, The type of database object does not allow to set GenerateDBDirect to true” Now I cant see how these particular datasets are any different to any other in the schema which have this property set to true. They were all created in the same way. They all use predefined stored pr ...Show All
.NET Development Renaming a column in ms access!
Hello! I hope this is the right forum :) I'm creating a multi database interface tool but I have stumbled across a problem I didnt forsee - renaming a column. After doing SQL in Oracle for so long I didnt assume this would be a problem, but in access it seems to be! For the life of me I cannot find out how to do this in Visual C#.net! Adding or dropping a column is very easy: write the correct SQL and execute it.... It seems however there isnt an SQL to rename the column. Can anyone point me in the right direction on how to do this please Thanks in advance.... Hello. That seems to work, but only to some exte ...Show All
Windows Forms Toolstripmanager and Visibility
First, please forgive me for making a second independent post on the same topic. I have new information and my sense is that if I reply to my own posting the automatic procedures at MS won't pop it up for action. (Correct me if i'm wrong and there is a better way to handle this.) Second, please forgive the bright red print below. It separates the new stuff from my original post. I wrote: It's clear that loading and saving settings with toolstripmanager works great for strip position on the window and for item position with in the strip. It does not seem to track visibility / availability. Is my observation correct If so, then li ...Show All
