Answer Questions
David Sadler regarding dependencyproperty
what is the difference between dependencyproperty and regular properties can anyone explain the difference with example please Regards, Chakri The main difference is that DependencyProperty can be bound to other activity / workflow properties and variables. ...Show All
Abu Yaman The requested operation requires elevation.
I'm trying to download Poser 6 to my computer running Windows Vista but I keep getting a message saying "The requested operation requires elevation." I'm using the adminstrative account and can't figure out what the problem is. I tried to install Poser 6 (trial version), I did not get any problem. Here are th steps that I followed. 1. download the zip file to the desktop. 2. Extract the files. 3. Run the exe.( got an elevated prompt.) and installation proceeds. regards Santhi Eric, thanks for your responses -- I found both of them helpful and informative. How does one create a shortcut to cmd.exe that will run as administrator I tried ...Show All
Floppy_pillow Problem in ASP.NET's Global.asax with June CTP
Hi I've got a web app that uses WF which was working fine with Beta 2.2 but no longer starts with the June CTP RC build. Everything compiles ok, but I get the following exception when I start the app from Visual Studio: "Object reference not set to an instance of an object". This seems to be thrown from the usual code in Global.asax that sets up the workflow environment: void Application_Start(object sender, EventArgs e) { System.Workflow.Runtime.WorkflowRuntime workflowRuntime = new System.Workflow.Runtime.WorkflowRuntime("WorkflowRuntime"); Application["WorkflowRuntime"] = workflowRuntime; workflowRuntime.StartRuntime(); } The stack trace references the line 'workflowRuntime.StartRuntime()' and can be seen below: [NullReferenceExc ...Show All
bikerchick How do you pass data from an html web form back to the custom form activity (to the XOML only state workflow)?
Matt/All WF Gurus, We are creating a custom Form activity that will load a web html form and retrieve results back into the XOML only state workflow. We can program the form loading in the browser from a custom activity, but are not sure how to retrieve the data from the form directly into the state workflow so that the workflow can persist this data and continue working with this data (from the form). How can you pass data back from a web form directly into a running workflow during an idle state (XOML only state workflow using WF 3.0) Any suggestions Sincerely, John Portnov It is part of the SDK (Windows SDK now) and is a command line tool tha ...Show All
Shady Brady Credential Provider instead of GINA
Hi, Earlier I had a customized GINA dll , which reads the credential from the smart card and allows the user to login. Now How Can I provide the same functionality on Windows Vista, Can I get the sample code which reads the credential from the Smart card and passes to VISTA. One more thing, Can I use Visual Studio 6.0 for Creating the dll which will use ICredential Provider Any kind of help will be highly appreciated. Take a look at the Credential Provider Samples download package available here - http://www.microsoft.com/downloads/details.aspx FamilyID=1287ec56-77b4-48c4-8b58-35b7295d6c2c&DisplayLang=en . You should be able to take the existing smart card logic in your GINA ...Show All
somecrazyguy Exciting Possibilities.
Hi everyone! I have only just discovered Workflow Foundation and it seems very exciting to me. I would like to ask the wise heads of this forum how to tackle my application. I am developing an IVR (Voice XML) development tool, and would like to use Workflow Foundation (if it makes sense to do so), so it would need to be hosted outside Visual Studio. The application will allow a user to drag an drop activities and behind the scenes the VXML code will be created (so I don't think I need to generate CS or VB code). Also, I don't have any intention of trying to run the VXML in my application, it simply is a creation / editing tool. A very basic IVR script could look like: New Call -> Play Welcome Message (wav file) -> Play Menu Options - ...Show All
Maximilian Machedon Cannot install .NET Framework 3.0 after removing WinFX
I have previously installed the Beta 2 of the WinFX Runtime Components. Actually I have only installed the Workflow Foundation and the Workflow Extensions for Visual Studio 2005. After manually uninstalling these in the Software section I tried to run the installer of the .NET Framework 3.0. This gave me following error message (sorry in german): http://www.diegeneration.net/uninstall_error_winfx.jpg I tried to translate the error: "Thank you for attenting the Beta program. You have to deinstall all products of the Preview version in a certain order, before you can continue the setup process. You can find additional information on the support page for the unistallation and in the info file. - Microsoft Windows Communicatio ...Show All
fiaolle MS .NET SDK *.img download - install problems
Running XP2 I burned 6.0.6000.0.0.WindowsSDK_Vista_rtm.DVD.Rel.img as an .iso onto a DVD but under XP2. All I can see is one file ReadMe.T which says This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification. I tryed ISOBuster, MagicISO, Nero Backup, DeepBurner and other tools to get a DVD created but to no avail. I also tryed coversion from *.img to a *.iso format file to no avail. This identical problem happend to other SDK users in the last (October) release. Same problem set but for this current release. I have some suggestions to the MS SDK release team. [1] Release an *.iso image not a *.img file (recent tools will work wit ...Show All
Enix591 How can I access the xml document which my workflow start with?
Hi My workflow will be associated with infopath form documents,and I want to access some data in that form inside my workflow activties in runtime. please tell me which object or api should I use to accomplish this. thanks in advance Hi Josh - there is no special API we ship for dealing with Infopath documents in WF. I am not sure if Sharepoint team has any special activities [custom activities written by them] that will help read/write infopath documents directly. At the core of it, infopath documents are xml documents so you should be able to use the .NET xml classes to read/write. How you use it inside workflow is really very varied. You could write the .NET code inside a CodeActivity, or have it in the event handler ...Show All
Vibhu Bansal how can i use anonymous pipe in vista? i can't pass the handle through createprocess..
Hi, I 'm trying to pass string from a parent process to child process.. parent process is low-previleged(browser addon) child process is medium or high-previleged(through manifest file) Passing it by cmdline parameter fails because the string is too long. Using file is error prone. Memeory mapped file is not supported by win98 I was thinking anonymous pipe to solve the problem, but then I couldn't find an example that shows a pipe with *ShellExecute*. Am I stuck with File for process communication One more question, is anonymous pipe secure (can a user hijack the info on pipe ) ...Show All
LEPScapa Test Case 30 - Restart Manager - quite shutdown
Hi, I'm running through test case 30 and noticed if I issue the shutdown command, my application prompts me to save the current file before it shuts down. At the time the shutdown command is issued, the app was not "running or performing any operations" (TC 30, note 1). If the app has no file open, or the the the currently opened file has already been saved, the app shuts down quietly. Any opinions as to whether or not the above behavior meets the requirement that the app responds "to shutdown messages using the Restart Manager API quietly without user interaction while idle" Thanks. Wes The minimum requirement is that you shut down, any decision to save or restart is up to you. I r ...Show All
Curtis Bridges Error when installing my application under Windows Vista RC2 (running object table?)
Hi, I have just discovered that my installation fails on Windows Vista RC2. The installation was written under InstallShield 10.5 professional, as an "Installscript MSI project" and works properly on Windows 2000 and XP. I have recorded a log of the failure: Action ended 12:39:41: CostFinalize. Return value 1. MSI (c) (84:48) [12:39:41:188]: Doing action: SetServerDir Action 12:39:41: SetServerDir. Action start 12:39:41: SetServerDir. Action ended 12:39:41: SetServerDir. Return value 1. MSI (c) (84:48) [12:39:41:188]: Doing action: MigrateFeatureStates Action 12:39:41: MigrateFeatureStates. Migrating feature states from related applications Action start 12:39:41: MigrateFeatureStates. Action ended 12:39:41: MigrateFeatureStates. Return val ...Show All
Tridex WritePrinter doesn't work with "FILE:" Port.
Hi all!!! I made following code and compiled it with 2003SDKSP1. In order to test in VISTA RC2, I changed the port from USB001 to FILE: in printers properties. But It showed error message like "Error - Printing" after running. Actually, It works well with 9x,2k and XP. Any help would be appreciated Thanks, JMH HANDLE hPrinter = 0; DWORD dwBytesWritten=0; CString strDocName; DWORD dwFileLength = 0; char szData[512]; strcpy(szData,"TEST TEST TEST TEST TEST"); if (OpenPrinter(szPrinterName, &hPrinter, NULL)) { DOC_INFO_1 DocInfo; DocInfo.pDocName = "TEST"; DocInfo.pOutputFile = NULL; DocInfo.pDatatype = _T("RAW"); if (StartDocPrinter(hPrinter, 1, (LPBYTE)&DocI ...Show All
Keithyboy1 Uninstall of our product pops-up a strange explorer.exe crash dialog
The product that I work on has a Wise based installer, and when we uninstall the product, you get a pop-up saying that explorer.exe crashed. There is no visual evidence of the main explorer.exe crashing, and the task manager does list a second explorer.exe process running. Our uninstall is removing some file types and mime types, and does an SHChangeNotify(SHCNE_ASSOCCHANGED), but nothing that looks like it should crash anything, let alone explorer.exe. The error is: Problem signature: Problem Event Name: APPCRASH Application Name: explorer.exe Application Version: 6.0.5744.16384 Application Timestamp: 45234a84 Fault Module Name: StackHash_0c47 Fault Module Version: 0.0.0.0 Fault Module Timestamp: ...Show All
Coach24 How to open .net sdk examples with vs 2005.
Hello, I downloadade .net 3.0 RC1 and the sdk (1.1), when I tried to open a .csproj file it gets me this erros. The project type is not supported by this installation What can I do The RC1 build of the VS 2005 Development Tools for NETFX 3.0 is a bit delayed. It will hopefully be released sometime this week. I'll follow up with the owner. For WF projects you should be ok by installing the latest Visual Studio 2005 Extensions for Windows WorkFlow Foundation . I tried that and it worked for me. Keith, I haven't had time yet to download the RC1 Build but it looks very promising. Looks like I asked at just the right time. Thank you very much. The RC1 build was just released this morning: http://w ...Show All
