Answer Questions
AndrewVE COM functions don't return HRESULT values?
Following is a method to init TV capture device. but I don't know what has caused a very strange thing. Anywhere an HRESULT return value is expected, I cannot see a value. I debug it in Visual studio and set breakpoint, and I cannot see any value for hr. see note in the code, FAILED(hr) is true and it comes to "return hr;" but it doesn't really return, it goes on to the following code. What's the possible cause HRESULT TVControl::InitDevice() { ICreateDevEnum *pDevEnum = NULL; IEnumMoniker *pEnum = NULL; // Create the System Device Enumerator. HRESULT hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, reinterpret_cast<void**>(&pDevEnum)); if(FAILED(hr ...Show All
Octopus384 Selection of values for Dependency Property
Hi, I'm using a custom state activity with its own dependency property. This property should have the same functionality as the InitialStateName property of the StateMachineWorkflowActivity.It should contain the name of one StateActivity already existing in the current workflow. Currently my property looks like this: public static DependencyProperty InitialStateNameProperty = DependencyProperty.Register( "InitialStateName", typeof(String), typeof(MyStateActivity), new PropertyMetadata( DependencyPropertyOptions.Metadata, new ValidationOptionAttribute(ValidationOption.Required)); [Category("My State")] [Descri ...Show All
Eran Kampf Why graph fails to open after disconnecting pins
Hi, i'm new in dShow, building a graph to capture video. I build graph with no problem but i want all filters to disconnect when i want. Before disconnecting all i save graph file (as connected.grf) then watch it, it has no problem; and after disconnecting filters save again(as disconnected.grf) when i try to open, it fails and it is surprising that connected.grf is 14 KB and disconnected.grf is only 2 KB. Also i can not reconnect filters again. HRESULT DisconnectAll() { HRESULT hr; DisconnectFilter(pFilter, PINDIR_OUTPUT); if(hr != S_OK) return; DisconnectFilter(pFilter, PINDIR_OUTPUT); DisconnectFilter(pFilter, PINDIR_OUTPUT); //And so on } HRESULT DisconnectFilter(IBaseFilter *pFilter, PIN_DIRECTION pinD ...Show All
Jack Wheeler What Windows Workflow Foundation can do?
Hi all, We are currently in the phase of comparing different WFMS's like JBPM, K2.Net, Ultimus etc. Came to know about microsoft own WWF, and we are really interested in this. Just downloaded the beta pluggin for VS 2005 and the labs, now I'll try them out. I have three questions: 1. We can orchestrate ASP.net web pages using WWF alright, but can we orchestrate webpages developed in any Non-.Net language using WWF like JSP 2. Does WWF support importing of Business process from MS -Visio , if yes then how 3. It is said that we should not go for WWF in the case of EAI or integration scenario, but from WWF we can call web services and can reach outside systems from that, In a scenario where all the systems which need to be ...Show All
AJama BizTalk Sever 2006
Hi there, I am new to BizTalk server 2006. I have read in one of the posts that I should post questions related to BizTalk Server 2006 in the newsgroup dedicated for that, but unfortunately, the support there is very bad and no one answered my questions neither lots of others questions. I am inspired by HL7 accelerator of BizTalk and I am not able to answer several questions. I am posting these questions here as well since I saw several people talking about BizTalk here. So please if you know the answers let me know or just tell me where can I post them: 1) Does BizTalk Server 2006 provide free installation for HL7 Accelerator 2) Is there any other standards covered like DICOM 3) What is the difference between what Biz ...Show All
NeederOfVBHelp How to record from 'Wave' or 'Stereo Mix' in Vista?
Hi all, I wrote the following question in other forum space but some MSFT guy told me to try this forum for my question. I hope I could get right answer as soon as possible here. On Windows XP or earlier, I could capture the audio stream to the speacker not from the external device (maybe endpoint device in Vista) like the microphone. In other words, D irectSoundCapture was able to capture from the selected recording device/source line in the Windows record control utility or mixerXXX APIs. And if "Wave Out Mix" or "Stereo Mix" or something similar was selected as recording source line, D irectSoundCapture was able to record the audio stream to the speacker. However, I could not find the way to do tha ...Show All
msp0815 StateMachine Workflow and States
Hi together, I am wondering if it is possible to start a workflow instance (StateMachine Workflow) in a special state. So assuming I have the following states: A, B, C, D. Now I want to create the workflow instance and set the state to e.g. C. How can I achieve that. I didn't find a "SetState" or something similar at the workflow instance object. Thanks for any help Cheers, Franz You need to use the StateMachineWorkflowInstance type to use the SetState method. ...Show All
Embirath Problem calling web service with more than 1 Windows Workflow at a time
I have a Web service call that is made to invoke the Windows Workflow from a Windows Service running on a server. If I run 1 Workflow at a time, it's fine, but when two are processed within a short period of time, it gives me the error objProxy_manageWorkflow ERROR: System.ArgumentException: There was an error during asynchronous processing. Unique state object is required for multiple asynchronous simultaneous operations to be outstanding. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'System.Object' Key being added: 'System.Object' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Collections. ...Show All
Abi_ramanan Unable to click the MS Forms button that is on Excel Sheet
Hi There is one excel sheet where some values are in cells and some controls present on sheet like button, checkbox, datafilter button. I want to click the button that is on excel sheet from another application may be C# based code application. I tried but unable to click on button. I can access the button, can change the caption of button but unable to click on that button. Some one can help me out from this problem. This button can be added by right clicking the toolbar of excel sheet and select Control Toolbox and grag the Command button control on sheet. Regards Sunil Kumar Sinha Sunil, that is a good one. In my case, I dynamically create the button in excel sheet, but I ...Show All
Yuhang 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. The advantage is knowing what your workflows are doing now and when did they finish, for example if you want to shut down the application you may want to make sure all workflow threads have completed or wait for the ones to complete yet. The way to get these notifications is by subscribing to the runtime events that the runtime engine emits the ones of interest to you would be Workflow_Completed & Workflow_Terminated. Take a look at the other events emitted by the runtime to determine which ones are of interest to you. A couple of is ...Show All
WXS123 Creating a sharepoint workflow
Hi, i'm trying to create a sharepoint workflow, i have the steps to create it, but, in the project types i dont have a sharepoint option, i only have the basics options of workflow, i installed Extensions of Visual Studio 2005, Share Point 2007, Share Point Services v3, Office 12 and I dont know if i need something more to create a share point workflow. Can you help me please! I continue with the same problem, but, now the sharepoint server option only appear on Visual c#, and i need on Visual Basic Is it possible I don't have VB.net project templates either. I have installed this toolkit, and i dont have the sharepoint option on project types. I need something more You could try running devenv.exe /ResetSkipPkgs ...Show All
Adam Weigert Context in workflow?
I was curious to know if there a way of sharing a "context" between all activities in a workflow instance. I am looking at something analogous to HttpContext in ASP.NET and LogicalCallContext in Remoting. Of course, I can resort to ThreadLocalStorage or AppDomain data myself, but I wondering whether there is a better way of handling this. Thanks, Manoj ... I’m not sure this applies to your problem. But as a understand it, you’re invoking the workflow and you need to ”interact” with it (approve) before it finally executes the last activity. Let’s assume you have a wf that looks something like this: Create (Code activity) -> Approve (Code activity)-> Complete (Code activity). If you’d chan ...Show All
AshishMalhotra Windows Photo Gallery Problem
I dont know what happened, but When the Photo Gallery isnt in Slideshow mode. it will not display the picture i want to see like so.... IMAGE As you can see, it says the picture SHOULD be displaying but it isnt. Can someone help me troubleshoot this NVIDIA GeForce Go 6200 with turboCache supporting 128MB. Hopefully, this is what you're asking for...! I have the same problem too. Using an ATI Radeon 9800pro AIW. Was working fine before then suddenly it decided to stop working. I still need help.... mvl wrote: I also have this problem... any solutions anyone Please post your video card ...Show All
AshishMalhotra Error message - "The memory could not be read" - Help please!
Hello all I'm new here, so I'm not sure whether I'm posting this in the right forum. I have just bought a Toshiba laptop today. I have been playing around with it (always had Windows XP, so Vista is brand new to me!) and everything had been fine till a few minutes ago. I uninstalled Norton (which was already on there) and installed McAfee instead. Installation was okay etc. So I restarted the machine and after the 'welcome' screen (before you arrive at desktop), a pop up box appeared saying something along the lines of "Instruction at 0xc4e9b825 referenced memory at 0xc4e9b825. The memory could not be read". You close that pop-up box and another one appears saying explorer.exe - application error... and that the machine ...Show All
Priyananth Any MSFT website supporting CardSpace at all ?
So I have Vista RTM running since more than a week now, however until now I haven't come across any MSFT (not to mention other corps) that are supporting CardSpace. How will MSFT try to convince people using this technology if they themselves not using it on RTM Or did I miss a site that does support it It is not something that as a whole, we can just turn everything on, and have support on our websites. It was necessary to ship the client (Windows CardSpace) before we could get adoption moving. While you don't see any sites right this moment, we have work going on all over the place, and as we proceed into the future, these websites will begin supporting CardSpace for authentication. Given the rad ...Show All
