Tallman's Q&A profile
Visual Studio 2008 (Pre-release) Resources, Templates and Styles
I think there must be some fundamental that I'm not understanding correctly. Why are Style Resources with an explicit TargetType key not utilised inside DataTemplates This does not seem intuitive to me as DataTemplates with an explicit DataType key are utilised. See the following example: < Window xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:sys = " clr-namespace:System;assembly=mscorlib " > < Window.Resources > < Style TargetType = " {x:Type TextBlock} " > < Setter Property = " Background " Value = " Cyan " /> </ Style > < DataTemplate DataType = " {x:Type sys:Int32} " > ...Show All
Software Development for Windows Vista Custom EventListener Activity no longer works in RC2 or RC4
I created a custom EventListener Activity that creates a queue and then subscribes to it. However, when add a queue item to the queue, it is never processed by the activity. I also have a custom Scheduler Service, so I know work is being scheduled and executed for this workflow instance. The QueueNames are correct. The workflow instance in question executes until my EventListiner activity. It then persists and unloads. After some external work is completed, an item is queued up and the workflow is reloaded and schedule for execution. It then persists and unloads without running my activity This worked in Beta 2.2 and I haven't read anything that would indicate a change to how this worked. Any help would be greatly appreciated. ...Show All
Visual Studio Problem in OAProject.Properties
Hi I'm using the MPF with my specific VS projects but I got an error while acessing their properties (i'm using September SDK). In the OAProject property, public virtual EnvDTE. Properties Properties { get { object outputProperties = null ; IVsExtensibility3 vsExtensibility3 = this .project.GetService( typeof ( IVsExtensibility )) as IVsExtensibility3 ; vsExtensibility3.GetProperties( this , this .project.NodeProperties, out outputProperties); return (EnvDTE. Properties )outputProperties; } } I always get an error 'Attempted to read or write protected memory' in the GetProperties call. However, if I change the code to an implementation similar to OAProjectItem ... ...Show All
Software Development for Windows Vista workflow project type
hello, My workflow run from a win form application. which type of the workflow ( Sequential Workflow console App or sequential workflow library..) must be used. ...Show All
Gadgets What ever happend to the old gadgets from Microsoft ?
Today i was going through an old video which was basically showing the sidebar development team. The video had some cool gadgets in it like the wmp11 gadget, a gadget which showed emails etc. I just wanted to know does Microsoft plan to release them to the public >>Today i was going through an old video which was basically showing the sidebar development team. The video had some cool gadgets in it like the wmp11 gadget, a gadget which showed >>emails etc. >>I just wanted to know does Microsoft plan to release them to the public I've not seen the video you mean, but a lot of these kind of gadgets can be found, when you click on the "Add Gadgets" and then follow th ...Show All
Software Development for Windows Vista menu commands do not work immediately
I am working with the designer rehosting example. There is a MenuCommandService class in the solution, which adds common actions to a context menu. When I choose an entry from the context menu (for example, "add branch" or "delete"), then it does not work immediately. I have to select the entry 3 or 4 times until the command is being executed. Does someone have an idea, what goes wrong here I am assuming you are using Vihang's ReHosting sample. I tried the sample and was able to access all the MenuCommandServices in first go. Is this issue still happening with you Thanks, Kushal. ...Show All
Gadgets How to submit a gadget questions?
It says that all the files need to be zipped together and that the manifest needs to reference the relative value of the js and css files. Does there have to be a folder structure or could I just zip the gadget.xml, gadget.css and gadget.rs files and have the manifest as so "in bold below" < xml version="1.0" > <rss version="2.0" xmlns:binding=" http://www.live.com "> <channel> <!-- Specifies the name of your Gadget --> <title>My Interesting Photos</title> <!-- Gives a short description of your Gadget --> <description>A gadget to display your six most popular flickr photos.</description> <!-- Specifies the default locale for y ...Show All
Visual C++ Inconsistencies in overriding private function (bug?)
I have a class, "Facade", which has two private members. One returns void, the other returns a pointer to another class. virtual void doProcessing(); virtual ResultSet* processPolicy(Policy* policy, boost::gregorian::date evaluationDate); I have two derived classes, class A overrides doProcessing(), class B overrides processPolicy(). I noticed that A's doProcessing() will get called, but that B's processPolicy() does not. Both instances of A and B get created and started in the same manner. Once started, doProcessing() gets called, which in turn calls processPolicy(). The only differences I can spot One is void and has no parameters; the other returns a value and has parameters. Do I need to treat one different from t ...Show All
SQL Server populate access database from a TableCollection
Hi, I need to ask about how can I populate an access database tables directly with the tables in a TableCollection that already exist in my application. Thanks for any help, Aya. The TableCollection in my case is the collection of tables contained in the DataSet. Can I use the DTS to copy it directly to access database Thanks, Aya. ...Show All
Visual Studio Team System Error 1 The specified schema name "Sales" either does not exist or you do not have permission to use it.
I'm playing with the AdventureWorks DB to test the DB Pro piece, however after importing the DB I get tons of errors like the above. Is this a known bug in this release or did I miss something ciao andreas Andreas - Support for SQL Server 2005 is still being implemented. In CTP4, there were still a number of SQL constructs that would result in errors. One significant issue in CTP4 was that schemas other than dbo weren't yet working correct (as you noticed with AdventureWorks). CTP5 should be better, but will still have some outstanding issues (fewer than CTP4). Unfortunately, with CTPs, you get to see the product as it moves towards being complete but you also get to experience the growin ...Show All
Visual Studio Team System FXCOP XML is not getting generated properly
Hi all I am facing an issue with fxcop, whenever i will try to generate a XML with XSL i am getting an unformatted xml getting opened after all. i have pasted the same here. Kindly let me know what is going wrong... < xml version="1.0" encoding="utf-8" ><html xmlns=" http://www.w3.org/TR/xhtml1/strict"><head><title>Analysis Report</title></head><style> #Title {font-family: Verdana; font-size: 14pt; color: black; font-weight: bold} .ColumnHeader {font-family: Verdana; font-size: 8pt; background-color:white; color: black} .CriticalError {font-family: Verdana; font-size: 8pt; color: darkred; font-weight: bold; vertical-align: middle; } .Error ...Show All
Visual Basic Simple Listbox control issue that I have trouble with!
I have been searching the help files and tutorials I have, but for the life of me I can't seem to figure it out. All I want is a simple Listbox control, that should return either the tag or the text. This will eventually be used in a loop to get items from a database. Thus it should be eg. 1 = apple = fruit 2 = orange = fruit 3 = egg = etc. It is really urgent and I need help. If my English is not good enough or explanation to hazy just say please. [South African here] InvalidArgument=Value of '1' is not valid for 'index'. Parameter name: index This is the error that keeps reoccuring. I can't extract the text value ,because the index stays out of range. Any ideas how this ...Show All
SQL Server MDX Query returning all upper level defenitions??
Hi, I have created a query like this: SELECT non empty CrossJoin(Descendants([Centro Custo].[All Centro Custo], ,Leaves), Descendants([Tempo Mes].[All Tempo Mes].[2005], [Tempo Mes].[Mes], Leaves)) on Rows, {[Measures].[Valor com Imputacao]} on Columns FROM [Controlo Gestao] WHERE ([Tipo Medida].[All Tipo Medida].[REAL]) What is happening is that this query on reporting services is returned with all upper level defenitions.. My intention was to have only 3 columns... [Centro Custo], [Tempo Mes] and the selected Measure, what i am facing is alot more columns like... [Centro Custo].[Level 01].[Member_Caption], [Centro Custo].[Level 02].[Member_Caption], [Centro Custo].[Level 03].[Member_Caption], [Tempo Mes].[Ano].[Member_Caption ...Show All
SQL Server Connect on SQL DMO fails
Hi All I went through the FAQ and installed the Backward Compatibility update on my new SQL 2005 installation and tried to connect using my BORLAND C++ application that uses DMO to get SQL Server names and their databases. I can't see the name of my server (my SQL 2000 servers show up.). THere is a (local) option available and when I select this, the database list contains only master database. I have confirmed that the login and password combination I am providing will work in the user database I want to go to. Can anyone suggest any tips/ tricks to make it work TIA ...Show All
Smart Device Development Can't call web service from Windows Mobile 5
My vb.net program calls a web service, which works fine on Pocket PC 4.2, but when I run the same program on a Windows Mobile 5.0 (deploying from a VS 2005 project), it doesn't work; here's what I see in the immediate window when catching the exception after my web method call: A first chance exception of type 'System.IO.IOException' occurred in mscorlib.dll A first chance exception of type 'System.UriFormatException' occurred in System.dll A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll A first chance exception of type 'System.Net.WebException' occurred in System.dll A first chance exception of type 'System.Net.WebException' occurred in System.Web.Services.dll ex.Messag ...Show All
