jack-n-jill's Q&A profile
Visual Studio Protected method of sealed classes appear in the Index
Try generating documentation for the following code: using System; u sing System.Collections.Generic; using System.Text; namespace SandCastleTest { public class BaseTest { protected virtual void Help() { } } public sealed class Test : BaseTest { protected override void Help() { } } } Generate documentation for it using the Sandcastle Aug CTP (HtmlHelp1x). If you'll look at the Contents-tab of the compiled help-file you'll notice that the Help-method is only shown as a method of the BaseTest-class. It correctly doesn't appear as a child of the Test-class as this class is sealed. If you then click on Test Class in the Contents-tab, you'll get a list of all the members of this class. ...Show All
Windows Live Developer Forums Annotation function of the URL API broken
The URL API specifies an annotation parameter for the scratch pad: sp=an.latitude_longitude_title_description It should allow you to add a push pin at a specific latitude and longitude. It definitely used to work, but does not appear to now. Has this function been disabled or changed Or can someone provide an example URL where this works I've passed this information on to the folks responsible for documenting the URL changes, and we'll get an update out soon. Sorry for the confusion regarding the URL parameters! ...Show All
Visual Studio Express Editions Delete a Selected row
I am trying to delete a row in DataGridView with a Button from a ToolBar. I have written code to add a row with input from the user and need to find out how to delete a certain rwo that I click on and highlight. Is this possible If yes how would I go about telling the delete command which row is to be deleted Thanks. Nick If you are binding the DataGridView to a binding source, I would recommend you call BindingSource.Remove(BindingSource.Current) instead of directly calling the remove method on the DataGridView. The binding source will synchronize the current values with the DataGridView based on the change of the BindingSource. Similarly, I recommend using the BindingSource.AddNew method for adding a row in the DataGridView from e ...Show All
Windows Forms Eject CD
Hi, I am making an application that allows user to eject CD through pressing some button. How can I do this Do I have to call some API which API would that be any alternative ways any pre-built DLL from some website Thanks, THanks for reply, I have not used APIs before, so not really sure where would the import statement go [DllImport("winmm.dll")] private static extern int mciSendStringA(st ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SpaceWars SceneItem implemenation
I've been going through the code files for the SpaceWars sample game. I was somewhat confused by the SceneItem class, because it inherits from List<SceneItem>. This throws me off because I wouldn't expect a "scene item" "is a" list of scene items. Does anyone have any insight into the logic here SceneItems is a hierarchy - and can have child items below it. So it makes sense that a scen item is indeed a collection of other SceneItems Yes this could have been handled buy having a member which contains the child items but its just a design choice I made. ...Show All
Visual Studio Express Editions interested in programming
I am interested in learning programming. First, I need to find a dictionary of keywords. Rules for using keywords. How to express ideas in computer language must be learned. Then some hard work learning and using knowledge. Microsoft encourages people to use resources to develope programs I believe. C++ combined with visual studio to make Visual c++ Express 2005 with Windows xp in my computer. VOS, I looked at your link and was initally impressed. Then I looked at your topics, and noticed that they have a login and an "Add to cart". For the life of me it looks as if you are advertising and profitting off this this board which is against the gudelines of this board. ...Show All
SQL Server Query performance
I have a query as follow Select product.name, vendor.name from product join vendor on product.vendor_key = vendor_key Vendor_key is the primary key on Vendor Table If I want to increase the performance should I use Stored Procedure or create index for the vendor_key on Product Table The first thing to check is that both tables have indices on the linking columns. Vendor(Vendor_Key) is a PK, so it is automatically indexed. Does Product(Vendor_Key) have an index ...Show All
Visual Studio Problems installing Visual Studio 2005 SP1
I am currently running "Visual Studio 2005 Team Suite for Software Developers" (Vn 8.0.50727.51) on Windows 2003 Standard Edition. I tried running the SP upgrade by launching the exe, and when that gave an error, i extracted the contents and ran the msp file. Both methods resulted in an error prompt message "Windows cannot access the speciried device, path or file. You may not have the appropriate permissions to access the item". However my account has administrative privileges on my workstation. Appreciate if somebody can tell me why the upgrade installation fails to load. I launched it from a local folder. Also to note is that my workstation does not have any optical drives (all insta ...Show All
Visual C++ CreateFile to device in VB.NET 2005
I have an application that communicates with a USB or Serial device using CreateFile(). It was originally created in VB6 and I ported the project to Visual Studio 2005, and it works fine. But, I wanted to move the old C code to a dll or class and then use the new GUI features in VS2005, along with CLR, managed code, etc. With the class version (done in a mixture of managed C++ and the old C code compiled as not managed), it compiles fine and I can step through the code from my managed VB GUI to the unmanaged C code in the class, but now CreateFile fails, with a return code of 2 ("The system cannot find the file specified"). Can anyone explain why CreateFile works fine in the old unmanaged code, but now doesn't work in my new 2005 pro ...Show All
Visual C++ VC8 CRT merge modules with instanced MSI install
I've got a unique situation: the installer for our product is MSI based. Having recently switched to VC8, I've been tasked with getting the runtime DLLs included with our install. I've successfully applied the CRT merge modules, however I am having a problem... Our installer is capable of installing multiple instances of our product on the same machine. Suppose I install two instances of the product. Everything works great. As soon as I uninstall the second instance, the first instance is broken because the VC8 CRT was removed from the GAC -- it appears that it wasn't reference counted. I'm wondering what (if any) comments the MSFT folks have on this. Thanks, Aaron Klotz Interesting. Our build process does ...Show All
Windows Live Developer Forums MSN Activity and external content
Hi, I seem to remember reading somewhere that content in the activity window can only originate from the domain where the activity comes from (probably for security reasons). However I can't find any info about that in this forum. Also in a demo i have running in which a have defined an activity in the msgrp2p.xml i can display all kinds of info from many different domains. Am i mistaken in the assumption that content can only originate from the original domain or am i missing something thanx for any help. Hi, Is this security feature still in place I does not appear to be. Last week I was making some adjustments to an existing and provisioned activity. I noticed that I could show content from di ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I like that... maybe with a list?
Hi: Are there any tutorials regarding applying any effects to sprites or textures For example I want to apply 'motion blur' based on the sprites velocity vector. Do I need to write some kind of custom shader or does the XNA framework have this included Any help greatly appreciated! Regards: John I would like to try is both ways... can anybody point me to some tutorials on creating a Pixel Shader and applying it to a 2D Texture using SpriteBatch.Draw Regards: John ...Show All
Visual Studio Express Editions <br> tag shortcut?
Is there a shortcut key for the <br> tag I know this is prob a dumb question but I couldn't find it in the keyboard customizer settings, nor online. Seems like an obvious need for a keyboard command.... maybe it doesn't exist. ...Show All
Internet Explorer Development JavaScript Detect browser close IE 7
We have an application that logs into a system, we need to trap when a user may close the browser with the (X). In IE6 we can do this succesfully with the following code In body tag onUnload = "handleBrowserClose();" function handleBrowserClose() { if (screenTop > 9999) { //handle logout event } } Unfortunetly since IE7 the screenTop now actually contains the actually value of the top position. Does anyone have any suggestions on how to fix this in IE7 or a different way to trap that a user clicks the (X) button to close IE7 Hey Matt, thanks. I was searching for something similar. It works on IE7 but the condition is not to open a new tab. If you'll print the 3 values of below &l ...Show All
Software Development for Windows Vista Tracking only works inside VS2005
I've defined a tracking profile and inserted to the tracking database to track a workflow created by a xmal file, however, it only works if I start and debug the workflow host by vs2005. If I start the workflow host console by double clicking it, it always throw exception the workflow is executed. Exception: Event "Abc" on interface tyoe "IAbc" for intance id "xxxx" cannot be delivered. ---> System.ArgumentNullException: Value cannot be null Parameter name: profile at System.Workflow.Runtime.RTTrackingProfile..ctor(TrackingProfile profile, Activity root, Type serviceType) at System.Workflow.Runtime.TrackingProfileManager.GetProfile(TrackingService service, Activity workflow, Version verionId) The same file, database and the same actions ...Show All
