Answer Questions
codetale WF Technology Directions
Can anyone point to reference material about the future road map for WF technolgies It's never to early to look ahead . I'm especially interested in future designer plans. I am wondering if Microsoft or other companies are in the works to produce custom designer applications, such as possible Visio plug-in, which is tailored more towards business analyst user role and will strictly produce XAML. Windows Workflow Foundation (WF) as well as designers therefor, such as the Visual Studio 2005 Extensions for Windows Workflow Foundation, will surely continue to evolve. There is currently no reference material available regarding what such future evolutions would contain. Visio integrati ...Show All
BTJ Packaging: "[Content_Types].xml" part?
I'm messing around with the packaging APIs (my eventual intent is to figure out how to add my own custom parts to an existing XPS file, since MS isn't telling). I started with the PackageRead sample, and made some adjustments to basically take a .XPS input and dump it to a flat-file structure. I'll know when I have it right when I can take any of the sample XPS files, dump to a folder tree, manually re-Zip that back to a .XPS and get a faithful reproduction. It's mostly working, except some sample XPS files have a [Content_Types].xml file in the package root. But for whatever reason, none of the Package collections (Parts & Relationships) seem to recognize the existence of this. So I have two questions: 1) Anybody know how to get at th ...Show All
thedodo Web service and SQL Server help
I am pretty new to workflows but what im trying to achieve is the following: Call a method of a web service (GetCourses) Use the results (an xml node) as an input for a stored procedure I have that will take the xml and put it into a sql server 2000 database table. I have dragged the InvokeWebService activity onto the workflow and set the url and method but thats as far as ive got. Where do i go from here and how do i use what is returned by the web service I have downloaded the SQL Activity from netfx3 if that will be of any use Cheers After selecting the method the parameters and return value, if any, for the method should show up in the property browser. Click on the blue icon next t ...Show All
arganis Vista Explorer-like window using C++
I don't get an idea - how can one create something similar to the explorer window, I mean the following things: transparent area at the top of the window; back/forward navigation buttons and breadcrumb and search controls in this area. I know this can be created using WPF, but want just do it using WinAPI / MFC / something like that in C++. There is a DWM API that extends the non-client area into the client area, which has two effects: the extended area is glassy and blurs the background, like the non-client area, and the alpha channel of the window's pixels is respected in the extended area (whereas, in contrast, alpha is normally ignored in a window's client area). The API is called DwmExtendFrameIn ...Show All
Milzit The problem of SetTimer, MsgProc function cannot detect the WM_TIMER uMsg
Hi i have some problem to use the settimer() function, i don't know what wrong with the code, because it didn't work. My coursework is develop a game by using the Directx, and my game have a 60 second time limit, so i used SetTimer() to do it, but not working . Wish anyone could help me. declared timer at the global #define Timer 16 i called the settimer function at the main function INT WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR, int){ xxxxxxx xxxx SetTimer(hwnd, Timer, 1000, NULL); xxxx xxx } then the "Timer" appeared at the MsgProc function agains, i put a few break point like below, but the program didn't run throw these part, I thi ...Show All
PeterTPeterT CreateWorkflow throws NullReferenceException when TrackingService added to WorkflowRuntime
I am working off DesignerHostingSample of Lab 10 (Netfx 3). I have added my own tracking service called WorkflowFileTrackingService derived from TrackingService and added to workflowruntime. With the TrackingService added, CreateWorkflow fails with NullReferenceException. If I do not add the TrackingService, CreateWorkflow creates the WorkflowInstance without any exceptions. Any help is highly appreciated. I am stuck with this. I need to have the TrackingService added so as to enable designerglyph to work correctly. Here is the extract from code: workflowTrackingService = new WorkflowFileTrackingService(this.activityStatusListValue); workflowRuntime.AddService(workflowTrackingService); // if I comment this line I am able to run the workfl ...Show All
Grosie Vista's new file redirection to the new "Virtual Store" breaks my app - any advice?
Can anyone direct me as to what "common courses of action" developers and software engineers are taking to make legacy app's that are used to writing log files or other data to the "Program Files\YourApp" directory now work in Vista's user centric environment That's correct I hate to think that all applications will have to start writing more data to the users profile, making it even more bloated that it currently is. For more info on Vista's new data redirection/virtualization, User Account Control (UAC), and the Application Information Service (AIS) read more at http://www.microsoft.com/technet/technetmag/issues/2006/05/FirstLook/ "With so much emphasis on running as a st ...Show All
Els001 How to draw window system buttons?
I am trying to draw the standard window system buttons (Minimize, Maximize and Close) but have no luck in drawing them to look like the ones you see in top right corner on Vista. I am creating custom form so I need those. I tried using Theme API but that does not get my anywhere... Question is how to draw Vista style system buttons I'm also wondering how to draw a vista style button on my own. Seems the last update to following link was long time ago. http://windowssdk.msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_new/lh_b1_whatsnew_byfeature.asp frame=true And the functions like "BeginBufferedPaint" dosn't work at all. Is there some kinds of sampl ...Show All
Xi0N Windows Vista beta 2 boot menu uses a screen mode not supported by some monitors.
I cannot see the Windows Vista beta 2 boot menu on my Xerox XA-3 LCD monitor. The menu works with an older monitor. Since the LCD monitor is quite recent, I expect Windows Vista to be fully compatible with it. From what I can see on my older monitor, the Windows Vista boot menu uses a graphical screen mode, or at least a non-standard text mode. Previous versions of Windows used a text screen mode (80 x 25 characters) which works on both monitors. Why not continue to use the text mode That is exactly my point. The monitor is in perfect working order, but appears not to support that mode. It works fine in graphic modes such as 1280x1024, 1024x768, 800x600, 640x480 and text modes such as 80x50, 80x25 (t ...Show All
NILKAMAL Custom Rule Expression parsing error.
I am creating some custom rule expressions for my users to make use of in rules. I created a basic sample to sum a list of numbers. When I try to use my expression I get an error from the rule set designer saying: "Error parsing the Action(s): The method "SUM" on type "Company.Workflow.Rules.SUM" does not exist, is not accessible, or has no match with the signature specified." I have downloaded other samples of custom expression and custom rule actions and have used them successfully but I do not know why mine is not working. My code is as follows: I tried simplifying this by just having two expressions instead of an array but I had the same results. public class SUM : CodeExpression, IRuleExpression { CodeExpression[] exps; public ...Show All
Sergio Ordine context.CloseActivity()
hi all, public void OnEvent(object sender, ActivityExecutionStatusChangedEventArgs e) { Debug.Assert(e.ExecutionStatus == ActivityExecutionStatus.Closed); ActivityExecutionContext context = sender as ActivityExecutionContext; ..... if (e.Activity is InfoFinalActivity) { context.CloseActivity(); return; } } cotext have three child context ,and ExecutionStatus of all child activitys in cotext is Closed, but there is a exception when i run the code 'context.CloseActivity();', CompositeActivity cannot transition to 'Closed' status when there are active child context still exist for child activity. please tell me why, many thanks. ...Show All
Steve J Wright How to prevent STANDBY and RESUME ?
Vista has new feature in Power Management. I want to prevent STANDBY and RESUME from app. But WM_POWERBROADCAST message with PBT_APMQUERYSUSPEND and PBT_APMQUERYSTANDBY were not sent. I've read "Integrating-with-WindowsPowerMgmt.ppt". There are some explanation about the feature. Calling SetThreadExecutionState() does not work. Calling RegisterPowerSettingNotification() does not work. Does anyone know how to prevent Standby and Resume Vista is build 5600. I've been asking same question to my friends. But everyone say same thing. Vista does not send the message. There is no way to prevent it. it seems that vista rc1 will not send out the PBT_APMQUERYSUSPEND ...Show All
Wim1966 "Unclassified software" warning in event viewer
Hi all, After installation of my product Vista creates a Warning in the Event Viewer saying that I should check the software and decide if I trust it or not. Looked through the article "Keep Windows Vista Secure with Windows Defender" at http://www.microsoft.com/windowsvista/community/windowsdefender.mspx , and it seems my software is just not in the Defender's "base", so it considers my product as some kind of MALware, SPYware, but not as normal SOFTware :) It says that I should analyze the software that made the changes for potential risks and decide whether or not allow to run it ir to remove it from the computer. Of course, I trust my own product :) and do not want to delete it, but it is not good if s ...Show All
SQLme Query in creating a modal window
hi all, I want my captured video image from webcam has to displayed in a modal window with some buttons added to that. How to do that and also help me to find out some documents related to it in sdk . Thanks in advance Well, you might start with http://msdn.microsoft.com/library/default.asp url=/library/en-us/directshow/htm/videocapture.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/directshow/htm/videocapturesamples.asp ...Show All
VoiceOfExperience Why I can not combind the SqlTracking & SqlPerstance Service in RC4?
Hi . I have a sample app written in beta2.2, which simple do persistent and tracking. all my workflow. when I upgrade to RC4, it wont works ! I go back to the foundatmental SDK samples. "SimpleTrackingSample" in RC4. run it again, see the code is simple and fine, then I add some code to do SqlPersistent stuff. but, it wont work !!!, It will always run into WorkflowAborted event. but why any one can help here are my sample. const string connectionString = "Initial Catalog=WorkflowTrackingStore;Data Source=.;Integrated Security=SSPI;"; const string connectionString2 = "Initial Catalog=WorkflowPersistenceStore;Data Source=.;Integrated Security=SSPI;"; static void Main() { ...Show All
