Answer Questions
jaskey error VFW_E_NOT_FOUND while using pFilter->FindPin(L"XForm In",&pIn);
Hi, I'm trying to directly connect the pins of the filters I have added in my graph. I therefore use the following function to get the proper pin for each filter: HRESULT GetPin(IBaseFilter *pFilter, PIN_DIRECTION PinDir, IPin **ppPin) { if (!pFilter || !ppPin) return E_POINTER; *ppPin = NULL; IEnumPins *pEnum; IPin *pPin; HRESULT hr = pFilter->EnumPins(&pEnum); if (FAILED(hr)) return hr; while(pEnum->Next( ...Show All
JOCable IExtendedUIService must be installed
I am working with the designer host code provided by Vihang on msdn. I am creating a state workflow. I have defined an interface that has the attribute of "ExternalDataExchange" and a class that implements it. I then add this assembly to the designer host application via the WorkflowLoader's initialize method using this code: typeProvider.AddAssemblyReference(typeof (MyAssembly.Services.DocumentService).Assembly.Location); Af ...Show All
Sacristy Using rules without WF
Hello, I'm trying to understand if it is possible to use the Policy functionality without running WF. I looked on the method Execute at RuleSet : public void Execute( Activity activity, ActivityExecutionContext executionContext); It's obviously public. Does it mean i can use it How Example: public void MyRuleSetExecution() { DiscountPolicy p = new DiscountPolicy (); p.Q ...Show All
TCS BAJA workflow monitor
hi all, does annyone know: is it possible to have something like a workflow monitor in a self programmed application. if yes, how would i do that and: would it then be possible to edit the workflow of my application via the monitor at runtime please advise, thanks in advance, .k Hi, For the workflow monitor check out the c:\program files\microsoft sdks\windows workflowfoundation\samples.zip ...Show All
Moso Sharing Data between Activities
I have a workflow that is hosting many custom activities and I want those activities to be able to get/set some common properties. I created a DependencyProperty but can't get the get/set to work. 1. I have a simple sequence activity public partial class ActivitySaveEmployee : SequenceActivity 2. I added 1 property and the DependencyProperty for it: public static DependencyProperty MyEmployeeIDProperty = System.Wo ...Show All
JamesQMurphy running the workflow designer multiple times.
I'va build an application that is based on the workflow designer lab. in the original sample, and so is in my code, once the user has clicked the run button (which executes the workflow) the button goes disabled. I've been trying to go pass this constraint, but it seems to be a difficult task because once you have run the workflow instance, the dll is held up in the current process and executing the compile() method again, results with the ...Show All
ShelleyPike Interop Problem with COM IDataObject and TOM Paste
I have been trying to access the text object model (TOM) using the RichEdit control in NET. So far I have successfully implemented most methods of the ITextDocument and ITextRange interfaces. I am now trying to implement the Paste method of the ITextRange interface which is defined as follows: STDMETHODIMP Paste(VARIANT *pVar, long Format); Where pVar is a pointer to the IDataObject to paste, but the contents of the clipboard are used if any o ...Show All
zicovn Problem: Install Vista 5308 on Virtual PC?
I need to install Vista on a Virtual PC to test installation and running of some current apps I've developed. When I try to install Vista, it boots from the DVD I provide but when I "Install Now (->)", I get an error dialog box: My friend right next door installed vsssta 3508 very smoothly on virtual pc. But i am still unable to install. Also, The latest Beta 2 installs without any problems at all and works fine unde ...Show All
SeRya TransactionInDoubtException
Source: System.Transactions.TransactionInDoubtException: mscorlib Text: The transaction is in doubt I'm getting the following error is a very specific circumstance and I don't understand why. I've got a single unavoidably long running transaction (~90mins) that I run from a .net component against a SQL Server 2000 database. If I invoke my component from MMC.exe (COM based root) I'll often (eventually) get the above error message. However, i ...Show All
Dan Kahler Asynchronously Started Workflows Running Independent of ASP.NET Request Thread
Hi, I've got a question about hosting the WF runtime in an HTTP Application scoped variable within ASP.NET. My scenario is that I have a web service that runs a workflow synchronously during which it asynchronously starts another workflow which should run independent of the web service request. This asynchronous workflow may start other workflows, each of which are responsible for updating a database after a response has been returned from ...Show All
Erling Johansen Will 5270 be available for other MSDN subscriptions?
I'm an MSDN professional subscriber, and it looks for now that Universal accounts are the only ones with access to the new 5270 build. Will it be released for the rest of us soon Thanks, Dan It just got posted...Now everyone promise me that you will wait 44 minutes to download it...43 mins.... Sweet! Thanks for the heads up! ...Show All
DavidBB DeInterlacing video when using DV cam
when using DV cam there is interlacing in the video...how to DeInterlace the video. If u use windows Encoder it also shows interlaced video but there is property to DeInterlace it any such options in DirectShow.. I am in first step to Create Instance of VRM ...by the way found out that the exception is of video card capabilities i guess i have to install graphics card... Any other option of DeInterlacing video .. (trying DScalar currentl ...Show All
John280459 Question about state machine workflow designer form
I am following the hands-on Lab 4 but for somereason, my state machine workflow designer form lines up every state as a line and when I create SetState activities, there aren't lines being drawn as it shows on the Hands-on Lab. Can anybody tell me if I am missing anything You need to enable the free form designer to see the states in the way they are shown in the lab. Please take a look at http://forums.microsoft.com/msdn/ShowPost.a ...Show All
EPISWarren How much of WWF designer support in VS is managed by the project system?
Hello, In order to create a new workflow in VS, one normally selects a template from the Workflow node of a C# or VB.NET project type in the New Project dialog. I tried creating an empty C# project (not of the workflow variety), copying the .cs and .Designer.cs files to this project, changing the namespace, and adding the same references to my empty project system that are present in the one created explicitly from the C ...Show All
DLLnewbie Problem with TransactionScope when running Unit Tests
Hello, we are having a bit of a problem here. Three of us are running Unit tests daily. One of us have installed an English OS and the tests are running excellent. Two of us have Swedish OS and frequently run into this exception: Failed Test method UnitTest.CompanyTest.UpdateCompanyTest threw exception: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> Syste ...Show All
