David Wrighton's Q&A profile
.NET Development How to get rid of Windows Excpetion "no disk in drive"
Hi, I have code to read the files from a dvd surrounded in a try/catch block, but for some strange reason, when I have no dvd in the dvd drive, the exception isn't caught here as I expect. Instead, my UI gets a Windows exception: "There is no disk in the drive. Please insert a disk into drive D:.", with the Cancel | Try Again | Continue buttons. If I hit Continue here, then I see the dialog that gets presented via catching the excep ...Show All
.NET Development How to pass parameter to attribute in XQuery? Thanks!
How to pass parameter to attribute in XQuery Thanks! I have stored the XML content (Part 3) to a XML field in a database of SQL 2005. When I run the code Part 1 in SQL Express Manager, I can get correct result, but when I run the code Part 2, the result is blank, why //------------------------------------------Part 1---------------------------------------------------------- select Bookmark.query('declare namespace Res=" http://www.hellocw.co ...Show All
Visual Studio File Deleted
hi! i have some problem regarding one file in VSS. The file is shown in the VSS interface but when i took some action on this file, error message displays, which says that e.g aaaaa.b file not found. i want to recover this file how can i do. thanx Do you see a file with the same name but a ".a" extension You may be able to recover at least a version of it by renaming that ".a" into a ".b" Regards, ...Show All
Visual Studio Team System Procedure for using Build Server with Multiple Branches
I have question in regards to properly using the Build Server with multiple branches of an application. As an example lets say I have a simple solution (called TEST) with a web 'project' and a class library. When I first setup my build type, I set it up to build the TEST solution. I run the build and it creates build number: 20051008.1. I then "Branch" my solution in Version Control to keep a build history.& ...Show All
.NET Development how to create ad hoc network using wi-fi
how can we create ad hoc network using wi-fi by how i mean how we can implement a connection between two pocket pc using wi-fi give me a sample of code in any programming language that can built a connection between the pocket pc using wi-fi Do you know what p/invokes you would use All I can find is windows vista NativeWifi and I am even having trouble finding out what dll to call it out of. thoughts thanx ...Show All
Visual Studio Team System Team Project creation fails by failing in task SharePointPortal
Hi, after migrating a "full functional" installation of Team Foundation Beta3 to Team Foundation Beta3 refresh containing two Team Projects we cannot create new team projects. The existing projects seem to work. The log points to a sharepoint problem while creating the team web site. The installation is a single server box. The migration was done as described in http://msdn.microsoft.com/vstudio/teamsystem/b3rmigrate.aspx The sharepoint servi ...Show All
Visual Studio Team System Copy source control items with history
Hi all, Is it possible to copy or move source control items to another team project, but without loosing the history Thanks, Michael. As long as the team project is on the same server and you have appropriate permissions on each folder, then it is possible to move the files between the two places using the Source Control Explorer or the command line client and history will be maintained. You might need to do some manual tweekin ...Show All
Visual Studio Tools for Office Shared Add-In
Hi I just created a new shared Add-in project in Visual studio 2005 and i selected application host as "MS Word" and laguage as "Visual basic". I have office 2003 installed in my machine. I just added a message box in OnConnection event and i did build the solution. Now I opened word application but the message box doesn't pop up. But i can find the entry in registry key in word AddIns. I am trying to resolve this ...Show All
.NET Development off topic but need help - Java Script
Hi all, sorry i know this is totally off topic. but i need to get some help with a java script..... i dont want to bother you all with my problem unless i know there is someone out there that is good with javascript. So if your good with java script please let me know as im stuck in a desperate whole. Thanks Dan ...Show All
.NET Development Unloading an assembly
If I have an assembly and I use reflection and --Load the assembly --Instantiate a class in the loaded assembly. When I finish using that class is there a specific mechansim through which I can unload that assembly or does it unload automatically. ...Show All
Visual Studio 2008 (Pre-release) MDI Apps with WPF
Can I develop MDI apps with WPF Thanks. I blogged about this a few months back ( http://laurenlavoie.com/avalon/80 ): Why Doesn’t WPF Support MDI Thursday, September 8th, 2005 A few people have asked me why the WPF builds that we’ve released don’t include support for MDI. On one hand, I still want to do this for V1. On the other, I can’t imagine making people wait any longer before we ship this thing, on account of adding ...Show All
Visual Studio 2008 (Pre-release) is Sparkle can't use with Feb version of SDK?
I installed Feb version of SDK, and Try to install Sparkle. It said "The Setup Wizard will install Microsoft Ecpression Interecteve Designer January 2006 CTP on your computer.." When is the day new beta version of Sparkle.. ...Show All
SQL Server Scripting Roles and role rights
Is it possible to script roles and their detailed dimension/cube rights easily Why I ask is that In converting cubes from 2000 to 2005, some dimensions have been a pain to port, and removing/adding them to a cube results in having to re-create the cube security (not dimension security). Reverse engineering the roles to a script only creates a command to add the role, not to add the role to the cubes. What would be nice would be a way to reve ...Show All
Visual Basic Skinning Application
How can I apply a " not-windows-style " to my VB Form Is there a Control that can skin my application Thanks so much!! Sorry for my bad English ... Hi everybody! I think I found a little answer for this post. My answer is the next: I put transparent the backcolor of my windowsform, then I start to paint diferents images in my form, this images are in a folder with my app, called "skin", the images are: C1 Corner ...Show All
Visual Studio Express Editions New and Need Some Help PLEASE!
I want to be able to select one or several records in a datagridview and update or change a specific column for each record selected. For example: A Customer database that has a date field for "work completed". I want to be able to select certain customers and update only the date "work Completed" for each customer selected to Todays date or any date I choose. How can I do this In VB express. Thank You Hi and welcome ...Show All
