Tom Ginn's Q&A profile
Visual Studio Tools for Office KB 907417 & 908002
Hi; Asking new because I think this got lost in the message it was a reply to... Just to confirm, if I have run the latest windows update and it shows no updates for Word, then the fixes in KB907417 should be on my machine - correct I have never run the fix in KB907417 and on my dev machine it has version 7.10.5077.0 but my test system, which shows no pending office updates, has 7.10.3191.0. So it looks like I do have to install it. Do we run this same update for Word 2002 and Word 2000 Or is there a different update in their cases And for our customers, I assume we have to point them at this fix Or will it be included ...Show All
SQL Server Bug in SQL Server 2000 with OPENXML?
Hi, I am trying to make some stored procedures that take in lists of well sites and well ids and find the wells in the sites except for those in the list of well ids. I have a stored procedure like this. ALTER procedure sp_wellSelect (@criteria ntext) as DECLARE @hDoc int --Prepare input values as an XML documnet exec sp_xml_preparedocument @hDoc OUTPUT, @criteria --Select data from the table based on values in XML SELECT distinct w.well_id, w.well_name FROM Wells_by_site ws INNER JOIN well w ON ws.well_id = w.well_id WHERE ws.SITE_ID IN ( & ...Show All
SQL Server Stored procedure issues...
Hi, I have a table set up in SQL Server Express with the following columns: PartNumber (PK, smallint, not null) PartName (nchar(50), not null) Status (nchar(10), not null) Price (decimal(8,2), not null) What I want to do is create a simple .Net form where the user types in a search key and the key is matched against the PartName field to provide matches. This was easily done in the .aspx file itself: SELECT * FROM dbo.PartsTemplate WHERE PartName = @PartName ORDER BY PartName ASC It works exactly as it should. However, since I'm still learning my way around SQL Server Express (and to a degree SQL itself) I wanted to try creating it as a stor ...Show All
Visual C++ project creation failed...
I can't seem to be able to create a new project in VC++ (latest Vs2005). I get the following message "Class doesn't support automation". I only have this problem in C++. All other languages seem to work ( not really helpful to me since i only use C++) I can load existing projects and add/edit classes and resources. I have tried repair, total uninstall and re-install. Nothing fixed the problem. Visual studio was installed on a brand new computer with XP Sp2 (stand alone) and so far logging on as administrator. Any ideas Thanks Mg Reported it but got nowhere since the lab c ...Show All
Windows Forms Cross thread operation not vaild..?????Control "txtthread" accessed from other a thread other than the thread it was created on
AOA Hi Threading Thread rs = new Thread (ListenClient); rs.Start(); void ListenClient() { TcpListener lis; try { txtthread.Text = "Server Started \n" ; } catch ( Exception ex){ Mes ...Show All
Smart Device Development How to open PocktPC Calculator application..
How can I open the Calculator application in the Windows Mobile at a click of a button Thanks, Vijay You can use the CreateProcess function from the coredll import...this is the only why I have found to launch and external program from my application I swiped this from somewhere online... //create the process info class public class ProcessInfo { public IntPtr hProcess; public IntPtr hThread; public Int32 ProcessId; public Int32 ThreadId; } [DllImport("CoreDll.DLL", SetLastError=true)] private extern static int CreateProcess( String imageName, String cmdLine, IntPtr lp ...Show All
Windows Forms Small problem (MDI form, ToolStripContainer) but very urgent
Hello to everyone, I have a small problem but it is a very urgent one. I have an MDI form which contains a ToolStripContainer for ToolBars and some others. The problem is appearing when I am trying to open a new child form. I cannot see this ChildForm because it is behind the ToolStripContainer of the MDIForm. Can you give a solution to this Thanks in advance and HAPPY NEW YEAR. There is a MdiClient control but it's not in the toolbox. Add it in code to the ToolStripContainer.ContentPanel.Controls collection and dock fill it. ...Show All
Visual Studio 2008 (Pre-release) XAMLPad : System.NullReferenceException
Hello, XAMLPad refuses to start up. It simply returns System.NullReferenceException I am attempting to use the WinFX SDK on XP SP2 (P4 3.4GHz, 1Gb DDRRAM) I have installed everything in the following order : 1. WinFX Runtime Components September CTP 2. WinFX SDK September CTP 3. Visual Studio Beta 2 4. Extensions for Visual Studio (Avalon Templates) Here's the CLR Debugger Output: 'Managed': Loaded 'C:\WINNT\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'Managed': Loaded 'C:\Program Files\Microsoft SDKs\WinFX\bin\XAMLPad.e ...Show All
Windows Forms Editing, Sorting, Paging GridView based on custom DataTable
Evening all. I have just been playing around with some code, I have a DataTable populated with some information I want to display to the screen.This is a ASP.net 2.0 app so I decided to use the GridView and attached the dt as the datasource. I now want to enable paging, sorting and editing all via the grid however it doesn't seem to work as I want (I can't just enable it). I have tried to find some code online but nothing seems to relate to data tables.Tried to create a object data source however I can't see how I can link the two together. Could anyone point me in the right direction please..... Cheers Ben Here's what i've found o ...Show All
Visual Basic Question on Registering VB 2005 Express Edition
I realize that this is probable not the correct forum for this question, but perhaps someone could point me in the right direction. I recently downloaded VB 2005 Express Edition and have been unable to register it. I get to the point in the registration process where Micro Soft is to send me and e-mail message for e-mail address confirmation, and I never receive the message. I have attempted redoing the process and now I am receiving an error advisory stating "Pending limit exceeded your limit of verification e-mail messages. I have called the help desk and they claim that they can not help in this manner because it is a free trial o ...Show All
Visual Studio Package Load Failure - VS 2005 Final Release
I just installed the VS 2005 final on a machine that has had no beta software installed on it (just the prior version of VS 2003 - which i removed before installing 2005) and when i started it i get errors about "Package Load Failure" or the "visual studio common ide package". I've found some post about this proble in beta 2 and they seem related to not uninstalling the previous beta correctly... but i am installing this brand new... why would i be getting this error. Awesome! After three "complete" uninstalls of previous products, including all directories associated, I found this forum and trie ...Show All
SQL Server Installing Quickstart DB-Samples
Hello I just installed configsamples.exe with SQL Server 2005 Express Edition. Then I installed the Quickstart Databases "Northwind", "Grocer" and "Pubs". After that I tried to grant access to the ASPNET-useraccount with command (command copied and pasted from HTML-File "Configurationdetails for MS .NET Framework SDK-Quickstart (in german)): sqlcmd -E -S (local)\SQLExpress -Q "sp_grantlogin <ASP.NET-useraccount>" sqlcmd -E -S (local)\SQLExpress -d Pubs -Q "sp_grantdbaccess <ASP.NET-Benutzerkonto>" sqlcmd -E -S (local)\SQLExpress -d Pubs -Q "sp_ad ...Show All
Visual C# abstract/virtual events
If you have an abstract base class which has an event that children may implement, and none of the base class methods connect or raise the event, then what's the difference between declaring that event as either abstract or virtual I can't find much of anything in the docs about abstract or virtual events. An abstract method declaration provides no actual implementation, there is no method body; the method declaration ends with a semicolon no braces ``{ }''. public abstract void MyMethod(); The implementation is provided by an overriding method which is a member of a non-abstract class. Vi ...Show All
Windows Forms Directory picker
I am writing an application with one fn() that will select files -- I want to build the selection list based on a starting directory. Is there a dialog in VS using C# that I can instantiate to build the list of directories and that will return the string of the directory selected If not, any suggestion on how I can build such as c ...Show All
SQL Server Cross Row Referential Integrity
In SS05 XML typed columns, is it possible to have cross row constraints and referential integrity Say I have a column with two schemas: Author and Book. Each has an ID. Each row in the table has only one author or book. Can I enforce that all Author ID are unique across all rows and that there is an author for every book Is it possible now If yes, how If no, is there a plan to add this feature in the future Is there any work around now I am appending the script to demonstrate what I want to achieve. Thanks in advance. ------------------------------------------------------- USE [pubs] GO SET ANSI_NULLS ON GO SET QUOTED_ID ...Show All
