Answer Questions
Chaman Zinga Problem with Workflowdefinition??
Hi all I seem to be having a problem with the workflowdefinition. If I add a branch to a parrallel activity to a workflow at runtime from a host, The workflow runs but when I try to retrieve the workflowdefinition to show it in the designer I get the following error: Unexpected end of file while parsing Name has occurred. Line 19, position 16. Could somone help me with this Thanks Mario I have not yet worked out a solution but it seems it might have something to do with the size of the wf Hi Tom Thanks for your interest. I am using Beta 2.2 but it is hard to give an example here as it includes a predefined workflow. I am creating a workflow from my applic ...Show All
Berky13 BUG in workflow designer
Hi! In VS when you have workflow in design mode, and you select some CodeActivity ( doesn't really matter what you select ), you should be able to resize it... But when you are poiting cursor on one of the dots you got the tooltip saying sth... And cursor changes for "resize" cursor only for 10 miliseconds and than you have a tooltip... So I am not able to change size CodeActivity or any other element in my workflow designer. If there is any way of doing it I'd like to know. Jarod Because the workflow activity names are displayed and wraped in a few rows if the name is too long to fit standart size of code activity. And if the name is too long for just a few letters it doesn't look ver ...Show All
.net sukbir password vulnerability in Vista
Rainbow crackers are currently having their way with Windows LM and NTLM passwords, even in cases where the password is 8 chars long and composed of the standard ASCI alphanumeric character set ( http://www.rainbowcrack-online.com/ x=ntlm ). The situation appears to be getting getting worse ( http://www.plain-text.info/ ). From my naive explorations it seems this is largely because, unlike UNIX variants, a salt is not used when generating the password hash. Does anyone know if Vista is going to remove this vulnerability This does not really answer the question. Does Vista add salt or not Sites like www.plain-text.info are not the problem. The issue is really ...Show All
Bigmo Vista Final Release Date
Have to plan IT budget for hardware & software. Can anyone tell me what is the deadline of the Vista Project if there is one I retail computers to the public I have contacted my suppliers and they tell me that a release date of end Jan 07 and not before. Microsoft supply to just 5 companies in the uk and my suppliers is one of them. If you find it out before then then it is probably not genuine. you can however buy XP Home, Pro or MCE with the upgrade cupon to vista. I have heard that the upgrade from pro or mce is free just pay for postage but the upgrade from home you have to pay for the disks and postage about $40 us or £25 uk my advice however would be wait a while 2 to 3 months or untill the rollup is released (no more ser ...Show All
fatkas how to find the designer associated to an activity
I have an activity and need to know, whether it is drawn below a given designer or above it. How can I get a reference to the designer, that is associated with an activity to get access to the Location information The designer class has an Activity attribute, but Activities do not have a Designer attribute. Perhaps a good suggestion for the next release You can't - but you should be able to from an ActivityDesigner - which is where you'd want to do anything like this anyway. IDesignerHost is a service you should be able to get from any IServiceProvider through GetService. Thanks. How can I get an implementation of the IDesignerHost from within an activity Thanks for your help. I am in an activities code ...Show All
KimberlyL Heavy action and thread blocking
Hi there, I have a question re: heavy action( I use "heavy" to indicate the time to run the a activity is very long). -- I need to build a flow to generate a series of reports. As you can imagine, each reports probably take minutes/hours to run. I create a data exchange service to generate the report ,and create a workflow and use "CallExternalMethod" to run the reports. However, as I understand, "CallExternalMethod" will post the data back to the host thread.So in my case the host thread will be blocked while report is running and it will make this application stop responding for any new request until the report is generated. I can off-load the task using queue based design. But I want to know 1. if my und ...Show All
gomaz Custom State ?
I wanted to create a custom State that did certain things at start up and shutdown (built in, rather than use StateInitialization and StateFinalization). Although I could create a customState inheriting from State, it seems the Initialize() method is called twice Is this a bug Uninitialize is only called once. If not overriding Initialize/Uninitialize which should I hook into for start/end of state I've just tried OnActivityExecutionContextLoad and OnActivityExecutionContextUnLoad which seem to fit the bill - is this right You could use Initialize/OnClose or OnActivityExecutionContextLoad/ OnActivityExecutionContextUnload, both will give you similar results. As an example I created a custom state and overrode a ...Show All
tremault LAN Driver problem
Hi all. Finally yesterday finished downloaded Vista x64 Ultimate for my pc, it is build 5600 rc1. Upon getting into vista and being very impressed with what ive seen i started to install the drivers and such, now i couldnt install the drivers using vista so i set the compatibility for Windows XP SP2 and the drivers installed fine Unfortunately under the network area in vista it says unidentified network and the onboard lan cannot connect to my router. whenever i try to renew my ip address nothing happens and the private 169 address is given to the adaptor. Im using an Asrock 939Dual-SATA2 - This has a ULi M1695 chipset. Does anyone have an idea where a vista compatible driver is for this chipset Any help appreciated! ...Show All
Danny Tuppeny Automatically Binding Properties at Design Time
I am hosting the workflow designer for a set of custom activities. With these custom actitivies, the output of one always becomes the input of the next. The validation of the workflow prevents items other than these activities from being present. What I would like to do to improve the user experience of creating these workflows is to automatically bind the output of the previous activity to the input of the next activity. I would prefer to do this at design time so that users who understand more about windows workflow notice that the property has been set but still of the flexability to modify the workflow if they know what they are doing, while users who don't have a clue won't need to understand the internal structure of the workflow. Is ...Show All
FatjonSaja XAML caching issues
Whenever I change the contents of a WPFE XAML file I have to delete the previously cached file from the Temporary Internet Files directory in order to see the change reflected in the browser. Is this a known issue I’m using IE 7, but Firefox seem to have the same problem. Any comments on this would be greatly appreciated! Thanks a lot! /Billy PS: For debugging purposes, I attempted to write a console app that would automatically remove all the XAML files in the Temporary Internet Files directory upon recompiling my solution. However, since that directory isn’t an actual directory but rather an “illusion” provided by the Windows shell, this is not an easy thing to do. Mike Harsh wrote: ...Show All
Head_Hurts Error while viewing the Workflow Designer
I'm always getting the following error whenever I'm trying to open any new or existing workflow. I've downloaded all the CTP Runtime Components and Visual Studio extensions for Windows Workflow Foundation Beta 2 couple of days back. The Error: Method 'GetSelectedPropertyContext' in type 'Microsoft.Workflow.VSDesigner.ExtendedUIService' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. Hide at Microsoft.Workflow.VSDesigner.XomlWindowPane..ctor(DesignSurface surface) at Microsoft.Workflow.VSDesigner.DeferrableWindowPaneProviderService.CreateWindowPane(DesignSurface surface) at Microsoft.VisualStud ...Show All
KimberlyL MSAgent Character Sizing
On pre-Vista versions of windows I was able to scale an MSAgent Character by changing the Characters Width and Height properties. Under Vista, the character window appears to be changing, but not the character graphics, so the right and bottom get cropped. Any thoughts/solutions This is an existing application we are trying to make functional on Vista. I tried calling SetProcessDPIAware as the first thing in my main program, and even though it is returning successful, makes no difference. Does AgentCtl.dll run in it's own process Or does Microsoft's Agent Control have "known compatibility issues" with Vista The recommended way to do this is to declare ...Show All
AnnabelP Application sharing!
Could anyone help me with application sharing I need to add application sharing feature to my application. Which SDK I need to install Could anyone give me a code sample Thanks in advance! Hi, Your thread seems to be more appropriate in Visual Studio Extensibility where discuss customization, extension, and integration with Visual Studio, including macros, add-ins, starter kits and the Visual Studio Industry Partner (VSIP) SDK. So, there you may find better answers. Thank you This sounds like it is not related to Visual Studio. You might have more success in this Windows SDK forum. ...Show All
dork Confused, what is the relation between MSDTC timeout and System.Transaction Option?
What I seem to be seeing is that when I create a System.Transaction with: transactionOptions.Timeout = new TimeSpan (0) but keep the COM+ Explorer MSDTC timeout at 60sec it timesout at 60secs. I don't have have Enterprise Services attribs on my code. What's happening or am I just going mad! You're a star thanks. Pkr2000, Sorry for the confusion. The 10 minute timeout comes from MaximumTimeout property for System.Transactions. For reference see http://msdn2.microsoft.com/en-us/library/system.transactions.transactionmanager.maximumtimeout.aspx and http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=293621&SiteID=1 The setting from the COM+ Explorer should not influence you ...Show All
akjal Referencing canvas from HTML button with javascript
Hi all, How to get a reference to the main canvas from javasript (called from HTML button). function Button1_onclick() { var control = document.getElementById("agControl1"); var rootcanvas = control.findName("rootCanvas") var xamlFragment = '<TextBlock Canvas.Top="200" Opacity="0" Text="Click for more info" />'; rootcanvas.children.add(control.createFromXaml(xamlFragment)); } I tried this but control.findName is not available. Ideas Thanks Yes. Here is the answer from another thread : It was probably filtered by the forum software. I've posted example here: http://blogs.sqlxml.org/wpfe/load/ Xaml: http://blogs ...Show All
