Alan Zhou's Q&A profile
Visual C++ Unable to debug: "The breakpoint will not currently be hit. No symbols have been loaded for this document."
Hi, This is the forst project I compiled with VS 2005 and I got this error when I tried to debug. The PDB is in the same folder as the executable though and the project was set to "Debug". What did I forget Thanks for your help. Yes!!!! This worked for me. Download Framework SP1 on PC and install it. after that, headaches will disappear !! brian hwang ...Show All
SQL Server Reporting Services SP2 CTP "Select All" back in preview but not on web
Hi I've installed SQL Server Express 2005 SP2 CTP specifically because I require the "Select All" checkbox to reappear in multi-value parameters. This was successful in Business Intelligence Studio and when i preview the report the MV params have Select All options. However, when I deploy to the web the MV params do not have Select All options. Why would this be Regards Adam Whitehead I sure hope so. It's a real shame - it is difficult enough convincing management that RS is a good platform for us to run with when it wont play nice with Firefox and with this whole issue of the Select All feature being removed. It would be nice to demonstrate the reporting I've produced in a fully functional envi ...Show All
SharePoint Products and Technologies Connecting MOSS2007 to Office 2007
When I tested the Pre-release version of MOSS2007 the site seemed to connect it self to Office and my windows network. It showed up in "My Network places" etc, automatically. I started over when the RC came out but the installation did not have the same effects. I cannot save a document from Word2007 to the sharepoint site, and I cannot sync my tasks or calendar. When I try it just tells me to "Contact my network admin"...I am the network admin and I don't know what's wrong. Any suggestions on even a place to start Ok I did that. I set up an Audience with all of the people in my department. I put the url of our sharepoint site in the Publish Links To Office text box. I even hit t ...Show All
Visual Studio Get source control information from add-in
Is it possible to find out what source control provider is currently used, the name of the server and a files path on the source control server from an add-in Using the DTE.SourceControl object I can find out if an item is under source control, but it doesn't provide any more information than that. Hi Appel, Unfortunately, the current SCC provider is not exposed via DTE. This information can only be obtained via the VSIP interfaces. Thanks, Aaron Marten ...Show All
Commerce Server Handling Refunds.
Does commerce server support Refunds in built,some thing like a RefundPipeline in which we can add our pipeline components to compute refund. Thanks There's nothing built in to Commerce Server, although writing custom pipeline components for this is probably the best approach I can think of. Nothing presently exists because this sort of thing is largely the responsibility of your payment ISV to handle, whereas the only thing you can really do on the site is update the order status/lineitem status (dependent on whether you want to refund the whole order or individual line items). The implementation of this sort of thing can vary dramatically between Payment ISVs (such as CyberSource, PaymentT ...Show All
Silverlight (formerly WPF/E) Inline XAML
Been trying to follow the CTP SDK documents I can't seem to get "inline" XAML going in a HTML page e.g. have the XAML tags in a HTML page and not in a seperate .xaml source file. Anyone have better luck or have a simple example cheers The agHost construction example in the SDK is different. Both syntaxes should (hopefully) work. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual C# WaveInOpen Error (MMSYSERR_ALLOCATED)
I have been working on an application that records audio off of a soundcard. I use the Winnm.dll to give my application this functionality. The problem I am encountering is when I call WaveInOpen, it is giving me an error 4, meaning MMSYSERR_ALLOCATED. I cannot find any rhyme or reason why I am receiving this error message. I am not doing any TAPI or modem functionality, just using functionality that I discovered on the internet for recording of sound from the soundcard. The WaveInOpen call is a standard call. One rather funky situation that I have encountered is on the lower end soundcards, I am not receiving this error. On higher-end cards ($300+), I am receiving this error. I am running XP and I encounter this problem on VS2003 and V ...Show All
Visual C++ Trying to create a pointer array in a class
Hi, I am trying to create a dynamic array with pointers in a class. Would the syntax be int* x, int* x[], int** x, or something else When I try to do it with int* x[] and I dont put it in the last line of the class, it will give me the error "error C2229: class 'Stack<T>' has an illegal zero-sized array" while if I put it in the last line it will give me the warning: " warning C4200: nonstandard extension used : zero-sized array in struct/union" When I increase the size of the array I do this, void Stack<T>::push(T X) { array[size++] = new T(X); } Whenever I run the program and the program exits, it gives me the runtime error "Run-Time Check Failure #2 - Stack around the variable 'test' was corrup ...Show All
Visual Studio 2008 (Pre-release) Passing, persisting, and returning anonymous types
This is what I am trying to do: static void Main( string [] args) { var t = new {Number=5,Name= "test" }; Test(v); } static void Test( object v) { Console .WriteLine( "{0}" ,t.Number); } Is this possible or must the dynamic (anonymous) class be used within the scope of the method it is declared in. Since i cant use var as a field, I am having a hard time understanding what to do with a projected type such as in the example below: var storelist = from store in Program . DataContext .Stores from region in Program . DataContext .TaxRegions where store. TaxRegion == region.RegionID && store.StoreI ...Show All
Visual Studio Team System E-mail Alerts Problem
Hi, I'm having a problem receiving e-mail alerts from TFS. I know the problem is with connecting to the e-mail server due to the page: http://blogs.msdn.com/psheill/archive/2005/11/22/495863.aspx but I don't know exactly how to solve it. To quote the page it says: "Sometimes the mail server will refuse to accept email if the sending account doesn't itself have a mailbox, or if the "from" address doesn't match the account that is connecting to the server. " When it talks about the sending account itself not having a mailbox does this mean the server must have outlook installed on it or something else Could anyone give a clearer explanation of this quote please Thanks, SMudie ...Show All
Software Development for Windows Vista Change Activity Name in readonly Designer
There have been a number posts about this topic but I have yet to find a solution to my problem. I have rehosted the designer in a win form and the workflow diagram for a particular instance renders perfectly. However I want to dynamically replace the name of the activities in the workflow. By default the programmiatic Id name is displayed, which is not very user friendly. Instead I would like to display the value of a DependencyProperty that is defined on the activity. I can't understand why the Text property of the ActivityDesigner is protected so that I can't modify it. Some threads on this topic have suggested overriding the Print() method on the activity. But all I want to do is change the text when I render the workflow instance in m ...Show All
Software Development for Windows Vista Guidelines for deriving custom activities from custom base activities?
Context - Creation of a library of a dozen or domain specific custom acitivites - Natural inclincation to create 1-2 custom base activities that the other custom activities are dervied from Questions 1. What to are guidelines, concerns, issues and best practises for deriving custom activities from (custom) base activities 2. Should activity derivation be discouraged ..encouraged Thanks, Michael. Hi Angel Thanks for the advice. It makes sense, I can see how that would work. However what I would really like to do is hide the addition of my activities so that the user would only see an empty sequence. I was going to do this by altering the designer. Using the ToolboxItem approach it seems I could not acheive that. A ...Show All
Visual Studio Team System Visual Studio does not replay check box Javascript actions
Is there a known issue with VS2005 not playing back HTTP requests correctly, if the pages have checkboxes that were enabled during the initial recording I could not run this web test on the machine that had SP1 installed, because of the bug that I discovered in Service Pack1, in relation to Visual Studio not playing back HTTP Requests that have spaces in the Query String Parameter. I was hoping that the SP1 would solve the javascript issues, but I need a fix for the Query String Parameter issue before I can run the test on that PC. ...Show All
Visual Studio Team System Compuware & VSTS
Please can someone confirm the benefits of haing the Compuware Test partner tool as well as the VSTS test suite having scanned through the posts here all I can find is that VSTS does not support UI very well. Alongside this are there not problems with the recognition of Java bits as well (forgive my tech. speak there - I'm just a mere tester). Thanks Dave Hi Dave, I cannot answer for every group at Microsoft (because I don't know the answer), but I can answer for my team, Visual Studio Team System edition for Testers; we use the tools that we shipped for our customers, and we use our own libraries for UI testing. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
.NET Development error: "the given key was not present in the dictionary"??
I'm trying to execute a stored procedure, then plug the results into an object. When I run the code I get the error above on each of the MessageBox lines below. At least, I believe that's where I'm getting the errors at. I get two duplicate errors after the first MessageBox shows correctly (number of results: 1). Any idea what I may be doing wrong here I'm not entirely sure what dictionary object the error is referring to either BTW, I am using some internal data access libraries, so it's not strict ADO.NET to execute the Stored Procedure... Thanks for any help you can provide!! Eddie Code: public dataPkg GetDataPkg(string prefix, string activityNum) { DbStoredProc cmd = null; DbRecordList results = nu ...Show All
