ysrini's Q&A profile
Visual Studio Tools for Office Explorer Wrapper for C#, VSTO 2005 & Outlook 2003
I have tried many variations for the explorer wrapper, and my last attempt was with a few bits of code taken from the Microsoft "ShortcutBar Sample". My resulting Explorer wrapper is at: http://pastebin.com/844445 But I'm facing a problem: If I open multiple Explorer windows and close them, the Outlook process is still running after all Outlook Explorers have been closed. This doesn't happen if I only have one Explorer running. To reproduce the problem, take the code pasted at the URL above, and debug it. When Outlook launches, open multiple explorer windows (right click on a mail folder and select "Open In New Window"). And then close them. You will find that your debugger doesn't stop on its own, and you ha ...Show All
Visual Studio Team System Problem with Areas and Iterations not being updated in work items
After creating a new area or iteration, the new item does not appear in the area drop down used when creating a new work item in Visual Studio. I verified this behavior (create an area, but it is not visible at the work item level) is reproducible from Visual Studio, Excel and MS Project. I deleted my local cache (C:\Documents and Settings\<userid>\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache), re-started Visual Studio, but no dice. When I expand the dimensions in the TFSWarehouse, the new area appears as a dimension. After some time (3 to 4 hours), the areas and iterations become available and are visible from the work item view. Why are areas and iterations not immediately available Some f ...Show All
Software Development for Windows Vista Cannot install June CTP Windows SDK
I have downloaded the *.img file contning Image of the DVD with June CTP Windows SDK I followed all the instructions to uninstall May CTP SDK & WinFX I Installed Net 3.0 June and here's the problem: While trying to install Windows SDK I get this error : "Error 1330 A file that is required cannot be installed because the cabinet file F:\Setup\WinSDK-SDK_MDAC_BIN_common.0.cab as an invalid digital signature This may indicate the cabinet file is corrupt" I checked this file (Size is 2 438 462 / 2 439 168 on disc) - and this file does not contain the digital signature (neither have all the files named starting with WinSDK-SDK_MDAC*.*) I tryed to install MDAC2.8 SDK separetly so that Windows SDK Installer won't inst ...Show All
.NET Development Editing and Deleting nodes in VB
Howdy, I'm working with a program using an XML file, and I'm trying to delete and edit nodes and attributes (well, delete nodes and edit attributes). I've looked around a fair bit, including through these forums, and simply can't find any good easy-to-use tutorial or documentation on this sort of thing. Does anyone know how I can edit or delete nodes using VB.NET, or any tutorials Any languages is pretty much fine (I can sort of try to translate it, but I would really prefer something about VB.net, if anyone has something of the sort). I've looked all over, and can't really find anything that I'm looking for. Thanks so much! Anything really is greatly appreciated. Thanks again! -Robert Sure, here it is: <xml> <stack> ...Show All
Visual Studio Team System Suggestions to improve VSTS for Testers
So after using VSTS for a bit there are a few things that I found pretty annoying that I wanted to suggest MS improve on. When Creating a load test, you are unable to specify the name of the load test, it always names it LoadTest#.loadtest and then you have to change it, it would be nice to specify the file name When generating a coded web test it always places it in the project directory, even if the web test is in a sub folder, it would be nice to either specify where to create the file or put it in the same directory as the web test. I think there were some others as well so I'll edit the post later if I think of them :) Thanks for the suggestions jakeb16. Note that for #1, if y ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help Please, kinda alot of questions in here
Hi, im a complete beginner with any kind of coding and i want to make a simple game to start learning how to code. I'm very fluent in 3ds max and want to put some use to the models i've made and put them in my own game... I want to make a simple space ship flight game. I've done the 3 tutorials for moving models but I dont really know how to apply them to my own game. heres mainly what i want; 1. I want the camera to rotate around my model using the right thumb stick. 2. the gun on top of the ship to rotate with the camera view. (when you look up and down the guns would aim up and down etc.) I have bones going through the gun on the model. 3. want to press up or down on the d-pad to toggle 3 different speeds. 4. steer the ship with the lef ...Show All
Gadgets IFrame Sample
Thanks tod ToddOs, my module has now been submitted and it's working ... The 10 downloads I got so far don't really compare well to the 15,000 hits I get from G**gle per day, but what the hell, at least I'm learning :) Anyway, since the script appears to work well, I think it could potentially be useful to others as well. Here are the individual files, which have to be packaged into a ZIP file for submission. This will load an iframe from http://www.tapper-ware.net/patience/live/patience.htm , resize it to width=100% and height=224px ==== gadget.xml: ==== < xml version="1.0" > <rss version="2.0" xmlns:binding=" http://www.live.com "> <channel> <title>Solitaire / Patience</title> <descri ...Show All
Visual Basic Unable to cast COM object of type 'X.YClass' to interface type 'X._Y'.
Dear all, I'm getting this nasty error and I cannot find any answers (google didn't help either). Here's the thing: I'm calling a VB6 DLL from a VB.NET (VB2005) application. This is the error I get when I call the DLL: Unable to cast COM object of type 'X.YClass' to interface type 'X._Y'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{780BDA61-8169-4A5D-AD31-59A902BC3B84}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Strange thing is, sometimes my code works properly, and the next hour I get this error. I rebuild the DLL, unregistered and re-registered the DLL, swept through the internet and the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA GSE for 360 ? - This Holiday Season ?
... Just Checking ... The XNA GSE for the 360 is supposed to be released ... "This Holiday Season" ... Any actual Date Ranges at this Point http://blogs.msdn.com/xna/archive/2006/12/11/xna-game-studio-express-has-been-released.aspx \ ...Show All
Internet Explorer Development IDownloadManager
I am using SHDocVw.InternetExplorer to automate IE. I want to replace the default IE Download handling and I believe this is done using IDownloadManager. Does any one have any sample code that shows how this is done (C# would be great) Regards Douglas Hi Douglas, Have you seen the Implementing a Custom Download Manager article on MSDN There's a code sample there, though you have to click the SHow Example link to see it. Hope this helps... -- Lance ...Show All
Smart Device Development OpenNETCF.Desktop.Communication and Windows Mobile 5.0
In 2005 I built a great Data Transfer application using C# and VS2003. This provided the bridge between my Desktop application and its companion Pocket PC application. This Data Transfer app has proven to work successfully on every Pocket PC I've tested it with, going back to the old HP Jornada 548 and right up to my own Dell Axim X30. The application makes heavy use of the OpenNETCF.Desktop.Communication DLL. The one I've been using is from Version 1.4 of the OpenNETCF library. But now I've acquired a new HP iPaq running Windows Mobile 5.0 and it is no longer working! I've tracked down the error to this set of code: OSVERSIONINFO osVersionInfo = RapiTools.GetOSInfo(rapi); ... which calls: public static OSVERSIONINFO GetOSInfo(RAPI rap ...Show All
SQL Server Help with an error message
I keep getting this error message when I try to restore a database backup that I have made. System.Data.SqlClient.SqlError: Directory lookup for the file "D:\Databases\GTT_Data.MDF" failed with the operating system error 5(error not found). (Microsoft.SqlServer.Express.Smo) What I have done is created a backup of my sql sever database and I am now trying to restore it into sql server express for someone to play around with without it affecting my actual database. This is where the error messages are coming from. Please help It took me an hour to find out that. When you backup database on one machine and then restore it on another it could happen that *******.mdf files is situated in different folders. Then you ...Show All
.NET Development datatable to xml
I know it is possible to write out a datatable's xml by using the writexml method. Is there a way to convert a datatable to xml in memory, rather then to a file Like somehow convert a datatable to an xmldocument object directly instead of having to create a physical disk file. And if that's possible, apply a transform to the in memory xml (it's okay if the xslt is a flat file though). Can anyone help me with this thanks. Have you tried: public XmlDocument DataTableToXML( DataTable table) { XmlDocument _XMLDoc = new XmlDocument (); _XMLDoc.LoadXml(table.DataSet.GetXml()); return _XMLDoc; } ...Show All
Windows Forms Threads and Timers
I am having trouble with refreshing a dataset on a form. On this form, I have a DataGridView, a button , a DataSet with a connection to a SQL Server database, a DataTable, a TableAdapter and a bindingsource. I wrote a helper method, RefreshData(), that calls the TableAdapter.Fill() method. From the button's click event, I call this function. This all works fine. The data refreshes on the DataGridView as expected. However, I wanted to automatically refresh the data when certain events fired. I created an event handler for the desired event, and in it I call the RefreshData() method. I am getting DataError on the DataGridView. "Index 0 does not have a value." With further testing, I added a timer and a timer event handler to ...Show All
Software Development for Windows Vista MsiRMFilesInUse dialog using VS2005 Installation Project & Orca
I have a pretty simple installation project created using VS 2005 installation project, and am having several issues complying with some of the requirements. So far, my most frustrating problem is test case 25(v1.1.001 of Certified for Windows Vista Test Cases). There is no MriRMFilesInUse dialog available through visual studio, so my understanding is that I have to create my own manually using Orca. After digging and digging, I was able to find a very old, prerelease rss feed of what the tables needed to have in them for the dialog: http://blogs.msdn.com/windows_installer_team/archive/2005/11/03/488945.aspx Based on this, I added all those fields and values (with a couple minor variations such as the binary banner filename (i just u ...Show All
