systemX's Q&A profile
Visual Studio VS2005 breaks on unhandled exception in asynchronous code
I am using BeginInvoke and EndInvoke on a delegate to call a function that throws an exception. There is no error handler in the delegate function, because I want to catch the exception when EndInvoke is called. This works fine with both .NET 1.1 and .NET 2.0, but in VS2005 beta 2, the debugger breaks in when the exception is first thrown warning me that I have an exception that is unhandled by user code. Is there a way I can stop the debugger f ...Show All
Microsoft ISV Community Center Forums close excel when finish
hi, i am importing files from excel to access. the problem is that when i finish importing the excel process (in task manager) is still running. is there any way to terminate the process from VBA i tried "close" and "quit" mothods and it's not working. this is my code: Public Function ImportFile(xlFile As String, tbl As String) As Boolean On Error GoTo errorHandler Dim ObjXL As New Excel.Application Dim ObjXLBook ...Show All
Visual Studio Where did Favorites folders go in Document Explorer v8?
I'm just getting started with Visual Studio 2005 and .NET 2.0, and I'm wondering what happened to the ability to create folders in the Favorties area of my local MSDN help (Document Explorer). Does anyone know If it has been removed, this is a very very bad usability mistake, IMHO. Anyone agree -Bill B Hello Bill, The Favorites feature in Visual Studio 2005 represents a change over previous versions of VS in that VS Favorites are ...Show All
Smart Device Development Icon In Titlebar - Platform call?
I want to put an icon in the titlebar (next to the clock) that I can click to always get back to my application. I have seen this done in another application designed by Symbol so I believe it's simply a platform call of some type. Does anyone know what this platform call is to register an icon into the titlebar Thanks again!. Take a look at the OpenNETCF.Win32.Notify class. The P/Invoke call is CeSetUserNotification.   ...Show All
Visual Studio Team System Installation Woes
I have read the installation manuals for TFS (both b3r and rc), and I must be missing something. I am trying to get TFS up and running in a pretty heavily constrained (from the security standpoint) and generally non-Msft environment. The env runs an LDAP directory service but it is not AD. Additionally, it takes a miracle to get domain accounts created. Therefore, I'm wondering what my options are for installing TFS. I will be following the s ...Show All
Visual Studio Express Editions How to store the data grabed into the data base ???????
Hi I ve been working on the rss feeds and rss reader... and i m able to grab all the data from the feed and display into the reader . But i need to know how can i store the feeds obtained permanently into the data base The data base used is SQL Server 2005 express edition.It would be very helpful if i can get to know how to do ............ Thanks naina Writing to a database is covered in Chapter 8 of the free e ...Show All
SQL Server SQL Trigger for Audit Trails
I have a trigger on my Table ( MyTable ). The Trigger saves any changes to mytable . The AuditTrails table has this columns: ID, TableName,PrimaryKey, OLDvalue, NewValue,UserID,DateCreated. Now, how can i pass the application's UserID ( Not the SQL Server User ) and save it to the AuditTrails table In my .NET Application, if someone delete a record from myTable how can i possibly get the userid of that person using my Audit ...Show All
Windows Forms Windows Constants Posted
I can't count the number of times I've wanted to catch a window message but didn't know to translate the message name to an int. In order to make this easier for everyone, I've created a class which defines many of the common constan ...Show All
Visual Studio Team System [1.32 BUG] AssembliesShouldHaveValidStrongNames false positive with .NET 2.0 assemblies
Guys, Not sure if this is a known bug or not, but I'm getting a false positive with the AssembliesShouldHaveValidStrongNames rule when analyzing signed .NET 2.0 assemblies. I am experiencing this only on the standalone FxCop 1.32 (not Visual Studio 2005 RC) and when using either the AssemblyKeyFileAttribute or using the /keyfile command line option (ie the Projects Properties -> Signing tab). The assembly has n ...Show All
Visual C# Deleting a file
Hi, I'm trying to delete a file and the following File.Delete( "C:\\mytext.txt" ); causes an error saying "The name 'file' does not exist in the current context" How can I fix this error Thanks, Bruce Is this a compilation error or a runtime error If it literally says 'file' and this is a compilation error then you have not properly capitalized the name of the class. You h ...Show All
SQL Server Help needed linking into Time Dimension
Hi All, Need some help and I'm not sure how to proceed on this one. We have a table (tblState) which has the following layout: PersonID (PK), LifeID, State, StateDate, EndDate 1, 1, 'Gatewy', 2000-01-01 00:00, 2001-01-01 00:00 The PersonID will appear more than once as that person will have more than one state and or life during their time with our company e.g: PersonID (PK), LifeID, State, StateDate, EndDate 1, 96, 'GATEW ...Show All
SQL Server Schema changes and Merge replication
Hi there, I wonder if I can ask for some advise I wish to use SQL 2005 and merge replication but I have a few concerns over the schema changes that I am allowed to do on the publisher. Ideally I want sql replication to push all my schema changes from the publisher to the subscribers but I don't know if it can. or even if it is recommended. I see the BOL suggesting that schema repl. was mainly intended for ALTER type of statemenets, but ...Show All
Visual Studio Where can I find ANY information about sourcesafe 2005?
Hi, I've been trying to find information about Visual Sourcesafe 2005, but it doesn't seem to be anywhere on the MS web site! Is there a web page for it anywhere All I can find are a million links to the previous version, sourcesafe 6, which we already use. Please help! Thanks. The pricing is per machine where you install VSS binaries, so you'll need 2 licenses. I don't know about the upgrade from MSDN subsc ...Show All
Visual C++ Need Hierarchy chart for VC++ 2005
Hi, Can anybody tell me where can I find Hierarchy chart for VC++ 2005 Thanx ManuLi Hi, Thank for your replies. I am trying to the hierarchy chart for MFC 8, I am aware of MFC 7, but since MFC 8 is available I am looking forward to MFC 8. I searched on the MSDN site, still no result. Thanks ...Show All
SQL Server ODBC linked table support in SQL SERVER 2005
Hi, We still have some legacy applications that use ODBC linked tables to access SQL SERVER 2000. Questions: Will these legacy applications still function with SQL SERVER 2005 / SQL SERVER 2005 Express In order to relink the tables within the Access front-end do we need to install the new SQL Native Client that contains the new ODBC driver for SQL SERVER 2005 Any input would be appreciated. Thanks The existing SQL Server 2000 OD ...Show All
