Answer Questions
Alba Sqlite with transactions ?
Tried it with transactionscope and it didn't rolled back. Doe's it work with transactions Thanks Avi harush Hi Avi, I recommend asking this question on the sqlite forums / support. Transactions are opt-in. We don't control/enforce who participates and who doesn't. Cheers! ...Show All
Rich Hoffman Having a custom designer set the background color based on the custom activity's DependencyProperty
Context - Custom activity Foo with custom designer FooDesigner - Foo has a dependency property BGColor Questions 1. How can the custom FooDesigner pick up the BGColor value I've tried the following in the designer constructor but I'm getting object reference problems (I'm guessing the designer is instantiated before the actual activity ) public PDSBaseContainerActivityDesigner() { BaseColor = Color .FromArgb(255, 255, 255, 255); LightingColor = Color .FromArgb(255, 0, 255, 0); PDSBaseContainerActivity actOne = (PDSBaseContainerActivity)Activity; LightingColor = (Color)(actOne.BGColor); 2. Any other way of solving this have you tried doing this in the Initialize method of your designer ...Show All
wum Visual Studio 2005 Macros and 5744
Macros in Visual Studio seems to have stopped working in Vista RC2. When attaching to vsmsvr.exe exceptions are thrown when you try to run a macro from devenv.exe. From debugging the disassebly I think it is a access denied message. I also saw a string "Bad IL format" if that helps. Anyone have an idea how to solve this issue without waiting for RTM or going back to RC1 I don't get any exceptions or other errors. But it does not work either. Running a macro does nothing. Debugging macros is the same... nothing happens. Probably this is something to be fixed in the RTM SP1. I tried that too. The debugger attaches and the Output window says "'vsmsvr.exe ...Show All
Ieuan0928 Unidentifed program wants access
I am testing the installation and running of a vb6 program. The program installs okay. The program is signed with a test certificate created using makecert/cert2spc/signcode. It requires administrative access when it is run and this is stipulated in it's manifest. I have put the Root Agency into the Trusted Root Authorities Store and put the publisher/signer into the Trusted Publishers Store. I have 2 problems. 1. When the program is run it displays the "unidentified program wants access" dialog with "unidentified publisher". Shouldn't this be an elevation dialog with the publisher's details shown 2. When the program is run "as administrator" the same unidentified program displays ...Show All
Marc6679_MarcCS InfoCard and CardSpace Self Issued STS
Hi, I would like to know how can my service communicates with the built-in Self Issued STS service when using CardSpace: do I still need to provide my WCF service with a certificate or can it work without Thanks, Amadrias You can't communicate directly with the built-in STS. You can request a security token from the user, and if a Personal Card fits the bill, the local STS can issue the token. Your service needs to identify itself with a certificate, in order for CardSpace to release a token to it tho' g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn.com/garretts Relying Party should identi ...Show All
SynergyNT error while registering a exe in Vista.
Hi everybody, I am getting error while registering an exe on Vista. Faulting application query.exe, Faulting Module Querydb.dll, exception code 0xc0000142, fault offset 0x000089f3, etc. Please help me in resolving the problem. TIA, with Regards, Ravi Mudhol. Hi everybody, It is properly registering in xp, but only in vista it is not registering. It is developed in VS2005 in vc++. Regards, Ravi Mudhol. ...Show All
ron nash Bug: Autoplay cancellation fails in Vista
Our application needs to cancel the Autoplay for USB flash devices in order to update the device firmware and format the media. In XP, the cancellation works fine, but in Vista you have to be logged in as Administrator to be able to reject the Autoplay for MSC devices. Even being a user in the Administrator group doesn't do it; the Autoplay handler is never called. It only works if logged in to the Administrator account. The same issue is present in x64 Vista as well. Our customers do not want their users to have to close the Explorer window or anything else, and are complaining about this. If they don't close it, the app will fail by not being able to lock the drive. Logging in as Administrator is not a good solution to this p ...Show All
rattatosk How to pass parameter in ManualWorkflowSchedulerService
when using WorkflowRuntime.CreateWorkflow, there's a overload, so that we can pass some parameter to workflow but, in statemachine workflow, if an instance already exists we use ManualWorkflowSchedulerService to RunWorkflow how to pass the paramter To answer you first question, even if you are using the ManualWorkflowSchedulerService.RunWorkflow, you still need to create the workflow using WorkflowRuntime.CreateWorkflow. So you can still pass the parameter the normal way. there's another database i need to synchronize with workflow i want to use stateInitialization to do this, and i put some activities in them, like createactiviy, updateactivity in the initialstate, i can pass parame ...Show All
Whoisit How to get the list of Running Instances?
Could you please let me know if there is any way to get the the list of Running Instances and their Type without using the Tracking or the Persistance Service Just something as simple as RunningInstancesCollection ic = WFRuntime.GetRunningInstances()! Thanks Thanks Serge for the answer. One it get WorkflowInstance::GetWorkflowDefinition(), can I perform dynamic update on that Instance My scenario is as follow, I have a WF runtime service that get events (for example a ShipmentHasArrived Event) then my runtime service should workout the WF instances that will be affected by this event then it should do some dynamic adaptation (e.g., Remove some activities because the Shipment has arrived). Could you pl ...Show All
kgaudana123 Thread Synchronization between Automation Client and UI Program
Hi all, I have a question about thread synchronization and UI automation. Say I have a GUI application and an automation program similar to the one in the TreeWalker sample in the SDK documentation. Now say that in my automation program, I start up the GUI app by using the methods in the Process class. My question is this: What is the best way to programmatically go about determining when my GUI app is done loading its UI so that I can begin the automation Essentially, how do I stall the automation client until just the right time I tried doing Thread.Sleep for an arbitrary amount of time, but I want to find a more deterministic (and less touchy) solution. Moreover, I tried the Process.WaitForInputIdle method(because I think ...Show All
Matthew Power On Vista, iexpress launching the application window in the background!!
We use the Microsoft's IExpress to package a bottstrapper and MSI file into a self-extractable installer package.The self-extractable installer extracts bootstrapper (setup.exe) and MSI package and launches setup.exe which in turn launches msi package. The problem is when self-extractable is launched on Vista machine, the UI window is getting launched in the background. I have to use ALT+Tab to bring it to the foreground. But when the self-extractable is launched on other OS (XP, W2k3 server etc), UI window is properly launched in the foreground. Has any one experienced similar issue Is this an issue with Vista Great, to know that. I'm going to make the assumption you are going for Vista Logo Certification. If t ...Show All
qwv batching : IPendingWork.Commit
MSDN Says : " The workflow runtime engine calls the Commit method when its semantics dictate that the pending work in the work batch should be committed . When it reaches a commit point, the workflow runtime engine calls the Commit method on each IPendingWork object in its work batch; the workflow runtime engine passes the Commit method the collection of items associated with that IPendingWork object. Either all of the work in a batch succeeds or none of it succeeds. You should throw an exception if any of the work items passed to the Commit method in your implementation cannot be committed. Depending on your implementation, you may want to perform some rollback in your Commit method if it cannot commit its work items. If th ...Show All
Neotech msbuild error when build workflow project after install dot.net 3.0.
Hi, I have installed dot.net 3.0 under windows xp. (run time, SDK, visual studio extention and workflow extention) When I tried to open my workflow project or tried to build the workflow project using msbuild, I got the following error error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Does anyone know what install should install workflow foundation under msbuild directory I have uninstalled and reinstalled everything but still not working. (I checked C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation, the folder is empty af ...Show All
MosheDeutsch Developing RTP Renderer & Source Filters in DirectShow
Hello Fellow Developers, I have been trying to find a way out to write RTP Source and Renderer filters for streaming H.264 video over the network, but so far no one (even resources on net) have given me idea how to go about it. Some links are suggesting use of JRTP Lib but there also its just words rather than some indicative code. I request all of you to help me with resources or links. Thanks in Advance Menghraj P. Menghraj wrote: Hello Fellow Developers, I have been trying to find a way out to write RTP Source and Renderer filters for streaming H.264 video over the network, but so far no one (even resources on net) have given me idea how to go about it. Some links are suggesting use of JRTP L ...Show All
Vypur Certified for Vista - TEST CASE 15
I have a question, regarding Certified for Vista, TEST CASE 15. Verify application installs to the correct folders by default (Req:2.3) and which one it says: 6. Default install directories are: a. Native x86 and x64 applications i. Program Files - %ProgramFiles% ii. User’s AppData - %APPDATA% iii. ProgramData – ALLUSERSPROFILE% Our application has 2 kind of shared user data: 1.) Sample data that is the same for all users, that is copied at the install time, at may be modified by users at application run-time 2.) License data (serial number) that is the same for all users, that is taken from user input at the install time, and also sholud be written at install time to a shared folder. In witch directory should I put this kind of ...Show All
