Answer Questions
Xelestial Unable to install VS Extensions for .NET 3.0 , November 2006 CTP
I have uninstall VS Standard Edition and then have installed VS Team Suite for Software Developers. When try install VS Extensions for .NET 3.0 , November 2006 CTP, the installation failed because valid VS version required. How to resolve this issue Here the list of installed VS products: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise Microsoft Visual Basic 2005 77642-113-3000004-41884 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77642-113-3000004-41884 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77642-113-3000004-41884 Micro ...Show All
Eduardo Poças Problem with SetTokenInformation (cannot set session id information)
Hi, I have a service that works fine under XP and that needs to launch a process in a given session (not necessarily 0). No communication needed, I just have to launch (inject) the process in the user's session. This is done as follows: OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY | TOKEN_ADJUST_PRIVILEGES | TOKEN_ADJUST_SESSIONID | TOKEN_ADJUST_DEFAULT | TOKEN_ASSIGN_PRIMARY | TOKEN_DUPLICATE, &hToken)) LookupPrivilegeValue(NULL, SE_TCB_NAME, &tp.Privileges[0].Luid)) AdjustTokenPrivileges(hToken, FALSE, &tp, 0, NULL, 0) SetTokenInformation(hToken, TokenSessionId, &m_dwActiveSession, sizeof(DWORD)) CreateProcessAsUser(hToken,... Under Vista, everything works fine except SetTokenInformation that ret ...Show All
Shaile Error :Could not complete the operation due to error c00cee2b
Hi Friends , I am Dinesh Chaudhari ,i have got error when i write following line in my wpfe applicatiion by using JavaScript : var Newcanvas=wpfeControl.createFromXaml(xamlstring); Error is like Could not complete the operation due to error c00cee2b So any one know how to remove this error .plz send me the solution. For Referance My Code is as follow : xamlstring= "xmlns='http://schemas.microsoft.com/client/2007' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' x:Name='jcan' >" ; xamlstring=xamlstring+ "<Canvas Width='300' Height='300' Background='Red'>" ; xamlstring=xamlstring+ "<TextBlock Canvas.Left='30' Canvas.Top='120' Foreground='Blue' FontSize='48 FontStyle ...Show All
IamHuM How to create default fault handler for state machine workflow
Dear all, A few months back, I asked the question: Trevor E Hilder wrote: 1) It is a major irritation that I cannot apparently define a fault handler for the whole state machine workflow (which can be done in a sequential workflow). Is there any way to provide such a global fault handler, which can then be overridden by local ones inside the states Paul Andrew kindly replied: You can create a super state that contains all of the states in your workflow. This superstate can have a fault handler which applies to the whole workflow. I asked him for clarification of how to do this, but he didn't reply and I got involved in other issues. I have just tried to do what he suggested, b ...Show All
Silaros [FeatureReq] A "data flow" graphical view of a workflow
Hi, how about to introduce a "data flow" view in the visual workflow editor Currently the dataflow can be seen only via visual studio property editor where activity property bindings are displayed (bindings to other activities, to method call arguments, etc.). So to see the data flow through the workflow, every activity has to be clicked on... pretty tedious and bad overview. The "data flow" should display: - relevant properties of activities - read and writes access/flow to and from other activities, dataexchange service etc. Maybe it could be even not just a view but an editor where one could define the data flow per Drag&Drop. What do you think Thanks, Philipp Thank you for t ...Show All
Speedie List of Glass copmatible APIs?
Hiya! In some of my projects I use several winAPI's using VS05RTM with C++, and C# both. The problem is that I don't know which API cousing Desktop Compositions to be temporaly switched off. And even If I may find one, I don't know what to use instead in order to be able to let Glass effect not turned off. For example one of my application uses SetParent() and MoveWindow(). The window is drawed fine useing glass after execution. However, When SetParent() called aero glass switche off, the when SetParent() returned it switches back. So I only have a few seconds without aero, but that can be really annoying for a User, it ruins User Experience. So where can I find a List of GLASS compatible API's Or are there any resource showing NO ...Show All
RameezM Install of the SDK fails(setup will not start).
When I try to run the setup.exe nothing happens. Not setup will start. Any ideas what goes wrong OS: XP SP2 with IE7 Now it is fixed For all with the same symptom: I have run an repair installation of .Net 3.0, because the repair installation of VS C++ 2005 Express has broken .Net 2.0 and 3.0. ...Show All
OhDuck DependencyProperty
I am very new to Windows WF Development so I apologize if this is a dumb question, however, it seems like this would be a common task so I thought I would ask. I am trying to create a custom activity that will allow a user to choose an item from the fabulous provider model. For the sake of reference, let's pretend I had the code for the System.Web.Security.RoleProvider class. In addition, let's also pretend that I had the code for the providers that derive from it (AuthorizationStoreRoleProvider, SqlRoleProvider, WindowsTokenRoleProvider). From my perspective right now, I'm viewing the desired output as the listed "properties" within visual studio 2005. I am trying to accomplish 2 things, and I debated placing these in 2 se ...Show All
MA2005 Using an In-Memory XML Stream To Create A Workflow
IDesignerHost designerHost = workflowDesignSurface.GetService( typeof ( IDesignerHost )) as IDesignerHost ; Activity rootActivity = designerHost.RootComponent as Activity ; MemoryStream memoryStream = new MemoryStream (); XmlWriter xmlWriter = XmlWriter .Create(memoryStream); WorkflowMarkupSerializer xomlSerializer = new WorkflowMarkupSerializer (); xomlSerializer.Serialize(xmlWriter, rootActivity); XmlReader xmlReader = XmlReader .Create(memoryStream); workflowInstance = workflowRuntime.CreateWorkflow(xmlReader); workflowInstance.Start(); Does anyone out there know why the CreateWorkflow function would be failing. If I write out the xmlWriter content to a file and then use that f ...Show All
michaelleewebb Outlook 2003 or 2007 RPC/Http using Vista
I use 1and1.com and a hosted exchagne account. My old machine (XP/Outlook 2003) could connect to the Exchange server using RPC/HTTP and a hotfix from MS. Now that I have upgraded to Vista, I am not able to get to the Exchange server. is there a simlar hotfix that will allow the HTTP tunnel or is there some config in Vista that will let me achieve this using Outlook 2003 Bonus, I have a copy of Outlook 2007 which I would like to upgrade to as well, but 1and1 does not yet support this, at least not in tech support. In thinking this through, this is actually a windows issus vs. outlook (I think) so if i can get vista working, then theoretically Outlook 2007 shoudl work as well. Thansk t.a. I am having this exact problem ...Show All
dragoncells How to run a workflow in a WPF application
I have tried adding the following references into a WPF project and got the error (shown below the references): References: System.Workflow.Activities, System.Workflow.ComponentModel, System.Workflow.Runtime Error: Unknown build error, 'API restriction: The assembly 'file:///C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\System.Workflow.Activities.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.' What am I doing wrong Can Workflows be run in a wpf application Thanks in advance, Marko Vuksanovic. It seems to be an issue with the .net framework 3.0 sdk. If this happens, restaring the computer solves the problem ...Show All
Ali Jannatpour SetState / State Transition ignored by Runtime
We have developed a Windows Workflow Web Service containing a State Machine. The Workflow runtime is persisted in the Application object of the webservice and we have also made use of the Persistence and Tracking services using the SQL scripts shipped with the framework ( although the SQL code leaves a lot to be desired). At each state transition within the workflow calls are made to other web services. These have been added to the Raise event methods in the Service class added to the ExternalDataExchangeService. (They were initially in the event handlers of the workflow but we discovered if the calls fell over the persistance of the workflow disappeared from the database !). Occassionally we are seeing response timeouts or errors w ...Show All
Andre&#39;s Retrieve the property value of an activity Of Workflow Instance
I need to retrieve the property value of an activity inside a running workflow (while the workflow is still running) from an asp page. I was browsing the forum and got to know taht it can be done by using SQLTracking service, and SqlTrackingQuery. Can someone please provide code example of retrieving data from tracking database based on a GUID workflowInstanceID I am using .net Framework 3.0. Thanks much in advance. Hi sam - you are right, you can use tracking for retrieving activity data from a running workflow. You should use UserTrackPoints and Activity.TrackData method to accomplish your need. For example, please look at Technologies > Tracking ...Show All
Luis Esteban Valencia Mu&#241;oz SUA Parameters
What are the parameters that we need to supply in the App Info tab, in the Parameters field. Also when i open the SUA the launch elevated check box is disabled. And when I click the Launch button nothing is happening. I just supply the path to the folder having the exe. and then click on the Launch button. And after that nothing happens. Can any one help me solve the problems. Thanks in advance. When I use SUA I am required to enter the directory which has the exe and then the parameters in the App Info Tap of the application. I dont know what parameters i have to give. Please help me in that . Thanks would you detail your question like App Info ...Show All
fbecker Does Downloader allow cross domain calls?
I'm developing a WPF/E application and I'm trying to download content using the Downloader object. While this works when the url property points to a relative path the downloader fails (no event is ever fired) when the uri points to another site/domain. Is there a security restriction preventing cross domain downloader calls Wouldn't be usefull an onError event on the downloader were you could retreive information on why your request failed Thanks I'm having the same problem. I'm not seeing any event fired (completed and downloadProgressChanged) for x-browser pulling. This is a major limitation to especially pulling images that often reside on various servers, for either security, performance or storage reasons. For instance if y ...Show All
