Answer Questions
jmcilhinney Where is the definitive post-beta ASP.NET Workflow Sample or Walk-through?
Hi All, Since the release of .NET 3.0 I have not been able to find an ASP.NET Workflow sample that was not actually written for one of the betas. Many of the examples out there that come up in the search engines have implementations that seem inconsistent with the final release of WF. The SDK does not include anything close to a complete ASP.NET workflow sample. The free Microsoft Learning module did not cover it anywhere near complete. So, what I am looking for is a clean, complete, post-beta example of how to use workflow in an ASP.NET application, not a web service, just a plain old ASP.NET workflow example. Any links to a good post-beta sample or walk-through Th ...Show All
hazz Passing data from one activity to another
Hi all, I'm trying to pass data from one activity to another. Is there any way to do this Help me... Hiya Try this previous post on passing parameters. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=273309&SiteID=1 The easier way is to use databinding with Dependency properties : In your custom activity1 add a dependency property "MyFirstText". In your custom activity2 add a dependency property "MySecondText" Drag and drop these activities into the workflow. In the workflow select MySecondText property in the property page, click on the ellipsis...button, select "Bind to an existing member", and choose MyFirstText property on activity1 ...Show All
Sandeep-Kamath Single-instance DCOM server problems with high/low integrity levels
I am working on an application that employs a single-instance DCOM server. The application works fine on all other versions of Windows except Vista. There is a strange behavior that I observe on Vista in regards of the instantiation of the singleton COM interface if there is a difference between integrity levels of the server and client applications. The single instance is accomplished by having the singleton interfaces declared with DECLARE_CLASSFACTORY_SINGLETON ATL macro. Additionally, there is a code in the application that ensures only one instance of application is running by utilizing a named mutex. The application checks if the mutex exists, exits if it does and stays running otherwise. The scenario of the problem I pbserve is the ...Show All
Farhan H Soomro State Machine - Resume Workflow with newer version of the workflow library
Hi all, Is it possible to have a persisted workflow instance resume on a newer version of the workflow webservice I've got a StateMachine workflow published as a web service and it works fine, but if you make any changes to the workflow and publish the webservice, it cant resume the workflow (IndexOutOfRange Exception). Is there something I'm doing wrong or is there a workaround / fix Thanks If you want to continue to you a previous version of a workflow after making changes you need to increment the version number. You can't make changes and automatically update already running instances. To change those to have the new logic you can use dynamic update, sample can be found here . Hi, ...Show All
rdeal3 Dependency props and .Net Properties - performance difference?
I realize there are reasons why you would use a dependency property vs a .Net property, but in general, are there any performance implications if you use nothing but dependency properties Also, when a workflow is serialized or unloaded, do .net properties get serialized into the 'state' of the workflow or do only dependency properties get serialized Thanks. 1°Reasons why you need dependency properties instead of normal .Net properties : read this post : ( in summary :Activity data-binding , Defining activity metadata , Attached properties) 2°I think dependency properties are stored in static hashtables, so if you have many objects they can take less memory (dependency props take room o ...Show All
Phillip S. Microsoft Product Identification Tool and ClickOnce
My app use clickonce to deploy, and it's no referenced in Microsoft Product Identification Tool list of softwares. Is there any incompatibility between clickonce and Microsoft Product Identification Tool Claudio, Please try the following. 1) Install your application 2) Open Regedit 3) Browse to HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\<your application>\\ 4) Create a new REG_SZ called InstallLocation 5) Set the value of InstallLocation to the install path of your application, for example: C:\Program Files\Foo 6) Run the Product Identification Tool Thanks a lot. It works!! I had issues with this solution. I had to actually copy another Uninsta ...Show All
BabyGBear JSApplication.zip?
Hello, Based upon the "Getting Started" documentation ( http://msdn2.microsoft.com/en-us/library/bb190632.aspx ). I need a JSApplication.zip file that is suppossedly a part of the WPF/E SDK, in order to use Visual Studio 2005 to create a WPF/E application. Does anyone know where I can find this file or work around this Thanks, Alan I've posted a zipped project template on my blog at http://blogs.conchango.com/johnrayner/archive/2006/12/05/WPF_2F00_E_3A00_-Setting-up-your-workstation.aspx including installation instructions. Cheers, John Rayner When you install the WPF/E SDK it will place a start menu entry for the WPF/E VS template in your st ...Show All
Umesh_DB2 Binding of reference type property to activity/workflow member.
I'm looking for a way to bind a property of a class which is a type used by a dependencyproperty on an activity to a property on a workflow. Say I have an activity that has a DependencyProperty that is an array of type MyClass. Using the default collection editor I'm able to add MyClass items to the array and set values for MyName property. However, what I need to be able to do is bind the MyName property of the MyClass item to a existing member of my workflow. I've tried deriving MyClass from DependencyObject and making the MyName property a DependencyProperty but have not have any success in doing so. Ideally I would like to be able to enter a value for MyName or have the Binding Dialog pop up so the user can select an existing memb ...Show All
humble.apprentice Moving Outlook Contacts from PC to Mobile Device
Is there a way to copy contacts from the Microsoft outlook program on my PC to the Contacts on my Windows Mobile device I am using a PC running Windows XP and an Acer n300 using windows mobile pocket pc Hi GJ: This forum is for discussions about developing applications for laptops, Tablet PCs and Ultra-Mobile PCs. You may want to repost your question in one of the forums for discussing Windows Mobile devices. However, I can tell you that if you use ActiveSync, you can tell it to sync your contacts from Outlook to your Pocket PC or Smartphone device. This functionality is built into ActiveSync. Thanks, - Mark Hopkins - MSFT ...Show All
Staun fake Video Capture devices - don't always work for some reason
For what I do at work I need to send some other data (streams / files / network info /some other things) through the video capture filters. It has been claimed (in many places I've looked in) that the fake capture devices can be implemented purely in user space because the applications simply enumerates all the filters that are in "video capture category", and don't care (or know) about the underlying imlpementation. This works great with Skype, for example, but windows messenger only shows fake devices. I'm not sure What it shows, but it doesn't show the pure userspace filters I've written even as an option (Skype does). It does show the example "testcap" driver from the Microsoft DDK samples. Any idea what's the prob ...Show All
mracuraintegra mcms - VA Error please contact site Administrator
Hi I got a error in mcms db.( VA Error Please Contact site Administrator ) In my application, i am using Sharepoint 2003, mcms 2002 and SQL server 2000. I using mcms placeholder in portal and retrriving the data's from mcms. in production i got a VA Error some times. Once this error comes full production stop. we have a temperature solution. i.e, There were two process on the mcms db that were bloked. These two were both owned by vzh/rc_admin - one was select command and other a DBCC. When the two processes were killed, the application retured to normal functioning. i need a permanant solution. Please do the needfull Thanks Jenkins Try the “ Where Is the Forum For... ” forum. Its related ...Show All
hawash Validator prevents compile of Activity Library
I've been reading the book "Essential Windows Workflow Foundation" by Dharma Shukla and Bob Schmidt. I have downloaded the code used in the book and attempting to add an activity to the library. One of the activities has a Validator attribute and when I compile, it seems to run the validation. Why would it do this when I do not have a workflow in the project anywhere How can I just compile the library without running the validator Does it make sense to do so Here are a couple of lines showing the Validator attribute: [ActivityValidator(typeof(PickValidator))] public class Pick : CompositeActivity { } The error I am getting comes from the validator: Activity 'Pick' validation failed: At least one child of Pick must not ca ...Show All
VSB CreateProcess and iscsicli.exe fails on 64 bit pc
I am running iscsicli.exe from within a c++ 32 bit application using CreateProcess. This works fine on a 32 bit machine. However, when I download & install the 64 bit version of iscsicli.exe on a 64 bit pc ( AMD64 ) CreateProcess fails with the error FILE_NOT_FOUND, despite the fact that the exe file can be found using a search with Explorer. Interestingly, on the 64 bit pc iscsicli.exe works fine from the command prompt. It will also run from within a batch file if the batch file is run from the command prompt, but if I run the same batch file from CreateProcess in my application it fails. Anyone any ideas Hi there Thanks for that - very grateful - it has solved the prob ...Show All
Samsudeen B how to force the interactive user to logoff
is there a way for a service to force the interactive user to logoff the ExitWindowsEx API applies to caller's desktop, so i don't think this works from a service to shut down another user. i'm trying to write a program that is similar to cybercafe software -once a user has used up their allotted time (to be monitored by the service), i want to force that user's desktop to lock or logoff. if i have a timer program running within the user's session that initiates the logoff, then the user could (in theory) cancel that process. I've gotten WTSDisconnectSession to work in a WinForms and console app using c# and pinvoke. But in a Windows Service on Vista, with logon as Local System it doesn't do anything. I' ...Show All
Buddhist Duration change not reflected in WMP (EC_LENGTH_CHANGED)
hi, i have build a source filter, when the source file length changes I send a EC_LENGTH_CHANGED, CComQIPtr<IMediaEventSink>(m_pGraph)->Notify(EC_LENGTH_CHANGED, 0, 0); this works perfect in all directshow players, but not in windows media player. i get asked for the new stop position, but nothing changes. the duration keeps always the same. can somebody help me please. thanks. I'm afraid I haven't done much with WMP. You might try one of the forums over at http://msdn.microsoft.com/newsgroups/topic.aspx url=/msdn-files/028/201/070/topic.xml hi,now i have posted there. when i dont get help ...Show All
