Answer Questions
Indo Package Load Failure after installing VS Extensions for Workflow
I saw this problem during the WF betas, but now I have a new machine with a clean install of VS2005. I installed the ".NET Framework 3", "Windows SDK for Vista", and then the "Visual Studio 2005 Extensions for Windows Workflow Foundation" (in that order). After installing these components, I receive the following error when I open Visual Studio: Microsoft Visual Studio Package Load Failure Package 'Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Wirkflow.VSDesigner, Version=3.0.0.0 Culture=neutral, PublicKeyToken=31bf3856ad364e35' has failed to load property. ... Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. ...Show All
keithpsft vista report access denied 0x80070005 when using WMI EnableStatic
Same code works fine in XP and I already login as administrator, Any suggestion I had the same problem, this issue is now fixed with Vista build 5536 and later. ...Show All
John McMillion Exception in .NET 3.0 SDK WorkflowMonitor Sample
I get the following exception every time I run the WorkflowMonitor sample (it's never run successfully). Any ideas exception = {"Could not load file or assembly 'Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.":"Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"} Copying my workflow DLL into the WorkflowMonitor executable directory worked... ...but I'm not getting the correct layout for my state machine workflow ...some sort of ugly default layout. Any ideas I got this error when I didnt have the latest version of my workflow dll (and all required dependencies) in the runtime directory of the Workf ...Show All
suep11 getting data from workflow with out workflow completing
hi there, i cannot figure out how to get data from workflow with out the workflow completing. i a have a state meachine workflow which basically runs for the entire lenght of my application life time and i have couple of webservice actvities that run wnd get data from a remote site ( many times ) now i need to get tthat data to my ui with out that workflow completing. i know i can gat from workflow completed event but my workflow doent complete, so is there a solution for my current situation. thank u prasanth You can use local services to communicate with the host from workflow and vice a versa. Take a look at documentation of HandleExternalEventActivity, CallExternalMethodActivity, WebServi ...Show All
chaza How can I get the type at design time of the value represented by an ActivityBind?
I would like to retrieve at design time (more precisely in a specific activity designer I am coding), the type of the value that is represented/bound by an ActivityBind instance. I have found no direct API for this. Is there an easy way to get this information Thanks, Rachel Hello , I have the same problem. The ActivityBind object represents the entity. I would like to obtain all the methods on that entity to put the names of these methods into a combo box. Like the CallExternalMethod activity. 10x Can you please explain your scenario and what you are trying to achieve. ...Show All
Chandra4332 Is there a possibility to run the SendEmail Activity with Lotus mail server?
Hello, Is there a possibility to run the SendEmail Activity with Lotus mail server if it's how would I proceed Actually this sample uses the System.Net.Mail.SmtpClient class; there are no credential properties on the activity sample, but we can add it : the SmtpClient class has a "Credentials" property. Serge yes very easy : one additional string property for the password (it can be encrypted if you want), and in SendEmailUsingSmtp() , add the following lines : NetworkCredential myCredentials = new NetworkCredential(<your email>,<your password>); client.Credentials = myCredentials; // if necessary: client.EnableSsl=true; client.Send(message); No I thin ...Show All
bishoycom Unable to create folder in C:\Windows\WinSXS in Vista OS
Hi, I was checking compatibility of one of my MFC application in Vista OS. Usually if the MFC shared dlls are not present, i used to copy them in WinSXS under folder with the required folder name like x86_Microsoft.VC80.xxxx. (Installing VC++ Redist also didnt work in my case.) And this would make the application work perfectly. When i tried to do the same thing in Vista OS, it failed to create the folder. I removed the read only attributes and tried again but in vain. The error i am getting is "User didnt have enough permission to perform this task" but I logged in as Administrator. I tried to change the security attibutes of Administrator but could not find the Users under Computer Management. Is there any solution ...Show All
gmcbay FLIP 3D
Few days ago,i installed windows vista rc-1 But i can't see the flip 3d function.At the beta 2 version it worked good,but at rc-1 it isn't.What to do This most likely means that the Desktop Window Manager did not start for some reason. Open up the Event Viewer application and look under Windows Logs, Application. Look for entries with source "Desktop Window Manager". You should find there a message indicating why the DWM did not start. ...Show All
R.Tutus Need Help! Prob in Passing ArrayList to Web Service in WWF
Hi guys, I'm calling a WebService in my WorkFlow . The method exposed in web service looks as follows { IList MethodName(string str1,string str2,IList myList) } I need to pass the IList as input to the WebService. IList may be: 1) XmlDocument objects (Xml files loaded to Document Object) 2) Business Objects (these may be "user defined class" instances ) However I have Serialized the types im passing. Im getting an exception: "There was an error generating the XML document." With inner exception: The type "MyBizObj" was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. How can i do this ...Show All
NetPochi Silent elevation in IE7 protected mode
I'm trying to make use of the capability for IE7 to silently elevate a broker process to medium integrity, as described here: http://msdn.microsoft.com/ie/default.aspx pull=/library/en-us/IETechCol/dnwebgen/ProtectedMode.asp#wpm_elebp Unfortunately, this information seems to be incomplete; it decribes the values that need to be filled in to the registry, but not the structure of that data (e.g., "A REG_SZ value for the executable name" but not where this REG_SZ lives). Is there more complete documentation for this, or better yet, a working example While I'm on this topic... I have been able to use the CoCreateInstanceAsAdmin() function described in various places with some success, but there are some times when I really want CoC ...Show All
Shadowz O Death pushsource filter and mpeg multiplexing
Hi, I am trying to create an application which captures desktop audio and video in mpeg format. I am able to capture both audio (using audio capture device) and video (using pushsource desktop filter). I am also able to encode them into mpeg format using mpeg encoders. Individual audio and video streams are great at this time.Problem comes when I multiplex them using mpeg multiplexer.The stream just vanishes and only zero byte file is created. If I pass just audio through multiplexer, it comes out properly.However, if I pass just video through multiplexer, the stream is gone. Can anybody tell me why this might be happening and how to fix it thanks and regards, Nikita I do not know your r ...Show All
LotusExigeS1 ClickOnce gets stuck in loop on dev machine
I am running Vista Business and creating ClickOnce deployments. When I publish to a web server and run the clickonce app from a different machine (XP or Vista) everything works correctly as expected, but when I try to run the app on my machine I get prompted to install the .NET Framework, but of course 2.0 and 3.0 are already installed b/c I'm running Vista. If I click yes, to continue with the install then it starts a download, then I get more information saying that Windows Foundation Components for WinFX 3.0 Runtime Components Beta 2 is being installed. The install completes, then I am prompted again, and get stuck in this loop. Short of rebuilding my machine from the ground up I don't know what to do. Any ideas I guess no one ...Show All
Callavin "WORKFLOW FAILED VALIDATION ERROR" in XOML WORKFLOWS!!!!
Hi Gurus, Pls Help..I got stucked with this error while running the XOML State machine Executable Workflow.Here is my Code where it showing error XmlReader reader = XmlReader .Create(xomlpath); WorkflowMarkupSerializer wms = new WorkflowMarkupSerializer (); Activity wf1 = wms.Deserialize(reader) as Activity ; //HERE I GET ERROR SAYING WORKFLOW FAILED VALIDATION!! NewInstance = WFRuntime.CreateWorkflow(wf1.GetType()); NewInstance.Start(); 'xomlpath' is the path of the Xoml workflow. I tried other ways of creating workflow passing (xomlreader,rulereader,parameters).That also is showing the same error. Pls help..Its soo urgent Thankz in advance Sunath If your workflow c ...Show All
bkizzy Sample Grabber misses samples
Hi All, I'm struggling to work out why the sample grabber sometimes misses samples. I have a filter graph which consists of a DV camera as source, dv splitter, dv decoder and a sample grabber on the video chain through to a video renderer, and the audio chain terminates in a null renderer. I'm using the sample grabber's buffercb method, which includes a double SampleTime parameter. I write a simple callback which basically divides this double value by 0.040 (my video is 25Hz, 40ms/frame) to get a frame number. I'm then just storing this frame number in an array. I'm not doing anything else in the callback, so it's very lean and mean After ~50 minutes of video, I dump the array contents out so i can analyse what frames i receive ...Show All
richmtl Queries regarding XPSDrv sample
Here are a few questions for the XPS team There is a sample XPS driver in the location ..\WinDDK\5308\src\print\PrintFeatureFilters\.. . I tried to build this sample after installing the Feb CTP Platform SDK and Visual Studio 2005 beta (using build -cZ from the Vista Checked Build Environment). However, the build did not succeed, and no log file was generated On trying to compile individual souce files (for specific filters), compilation errors were received (atl files were not found). The documentation said that atlmfc 8.0 from VS 2005 was required to build this sample, but the build-log stated that atlmfc71 was required. I tried copying the atlmfc headers from both VS2005 and VS2003 to the DDK's include-location, but could still no ...Show All
