Answer Questions
NateRickard DVDR-DL fails on write from data, but not from image
Using the imapi2sample, I get an E_FAIL from IDiscFormat2Data::Write() when trying to burn some files to a DVD+R DL (e.g. imapi2sample.exe -write c:\users\raptor2lavbb8\AppData\Roaming\temp\burn ) It works ok with other media types and works ok to DL on other drives. So, how can I further diagnose what the problem is (beyond E_FAIL) The sample fails for me too ... I have a panasonic DVD-RW DVR111D. This sample fails on all types of media, CDR/RW, DVDR/RW, DVD-DL R/RW ... :( C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\WinBase\imapi\imapi Debug>imapi2sample -write c:\windows\explorer.exe -drive 0 Adding c:\windows\explorer.exe - Time: 00:00:00 Supported file systems: ISO9660 Joliet UDF ...Show All
ProSlamBanO How does one get the value for publicKeyToken attribute?
In a manifest for UAC in Vista under the assemblyIdentity element/tag there is attribute called "publicKeyToken". It is something like this:- <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" language="*" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" /> Where is this publicKeyToken value coming from or how do I know the value of publicKeyToken attribute Manifest is not Vista specific; the requestedExecutionLevel is. For more information about manifest and side by side take a look at this: http://msdn2.microsoft.com/en-us/library/aa374191.aspx You might want to ask in the VC++ newsgroups f ...Show All
Joe Duanel WF Dynamic Update - Beyond the basics
By definition WF is made-up of Control Flow and Data Flow (i.e., WF State). It seams that WF have very good built-in support for Control Flow Adaptation (i.e., Adding/Removing Activities). But what about Data Flow Adaptation, i.e., adding (or even removing) Wokflow variables and Workflow Events In other words how to dynamically add Variables and Events Handlers to a WF Any detailed example(s) is also appreciated Updating the WF control generally has an impact of the WF data/state. For example take a WF that has one activity (e.g., decimal GetAccountBalance(int AcctID) ) the latter return the balance in US$, if the customer is accessing this WF from Sydney then the system should dynamically add an activity to call GetExchangeRate(Fro ...Show All
danmor WinXP and CardSpace problems still not addressed.
Hello CardSpace Crowd, I am working very much part time on integrating simple PoC that uses Liberty Alliance with InfoCard being provisioned instead of anything else. In order to do some work have to have CardSpace from user perspective working i.e. working wallet. Unfortunately it doesn't work for me, no matter what I try. I have Installed extension for FireFox and IE7, .NET 3.0 and it always crashes once wallet applet displays or rather tries to display the content. So if I open Card Space from within Control Panel it crashes throwing 'Class not Registered' exception and I have no way of debugging it, as I am out of my depths when it comes to .NET and Win. When I try to install any card (https://www.xmldap.org/relyingparty/ or http://lab ...Show All
GoDaddy Pass input from one activity to another on the designer
Hello Everyone, I am creating a workflow designer and an activity library ( which contains the custom activities i show on the designer). I was wondering how i can let the user link two actvities at design time such that the output from one activity becomes the input of other , something simmilar to setting the parameters of an activity. Please let me know if i am not clear.. Thanks Sonali thanks Vishal, Can you please send me a link to a article that explains that. I have been looking around but haven't found anyhing good yet. There's a good article on MSDN by Vihang Dalal that's around workflow designer re-hosting. It also touches upon the Acti ...Show All
Ross B. WPF/E (TextBlock) is not rendering Unicode correctly
I have downloaded the WPF/E CTP & SDK, I played with them and have noticed that WPF/E does not fully support Unicode, as I use a TextBlock to test the display of Arabic text, WPF/E was rendering the text incorrectly as if it is rendering the text from left to right while it should render the text from right to left. This same behavior is true for Hebrew too which is also a right-to-left language. Can we expect full support for Unicode in the full release Hello Fayez, I tried also that and it did not work. I would expect full language support from MS soon hopefully. it is a must if they want it to pick up fully. I am interested in communicating with you to talk about common topics ...Show All
teplitsa Wasting GUIDs?
Hello, I'm not sure if this is the right place to post this question, but I've been having a look at MSDN and I couldn't really find out an answer to this question, and as I use GUID's following the examples of WF, I decided to ask here. My question is: I create a new guid for every workflow I run (every purchase order). Now, for testing purposes, I create a limited amount of orders, say 20 - 30. But in the future maybe it would have to run 300 orders, and I don't understand exactly how it deals with GUID's. If a GUID is unique, as its name sais, then this means that once you use it once you can't use it again I know that being a 128 bit string this gives a LOT of GUIDs, but isn't it a waste of resources to use a guid for every insta ...Show All
paolob A generic job scheduling engine
Hi I only have a very high level familiarity with WWF. We are looking to build a load balanced generic job scheduling engine to run long running processes within our application. e.g. we can have a job to cleanse some data every night at 1:00 AM etc. Can we use WWF to build such a generic job scheduler Thanks I think this is the same issue that's in this thread - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1243814&SiteID=1 Hope that helps Kavita ...Show All
Aaron Sulwer Error writing to Application Event Log
The following code runs fine under WinXP, but fails under Vista Beta 2 (build 5384) on the WriteEntry call with the error "The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security" public static void LogException(Exception ex) { using (EventLog eventLog = new EventLog()) { eventLog.Source = PS4Strings.ProductFullName; eventLog.Log = "Application"; eventLog.WriteEntry(ExceptionToText(ex), EventLogEntryType.Error); } } Is there a change I need to make to my code to make this work under Vista Any help would be appreciated. Thanks You are attempting to create an event source that doesn't exist, and the accou ...Show All
Oren Novotny previewing Video From Capture Devices on a network
Hello, i want to preview video from a camera via a network ( an analog camera and capture card) with DirectShow Please help me or give some references, actually some quick reference (I don't have enought time) Thank... How far have you gotten Have you looked at the DirectShow samples Excuse me, can u tell me which example is about the previewing video via a network video device thanks Hi, Some time ago I have made an application which uses DirectShow to preview, capture and stream over a network video from a capture device. If you want to see the demo or get some info about video streaming write me an email: bartheq at poczta dot onet dot pl ...Show All
dsula WebCam Pan/Tilt with VB.NET
I am trying to figure out how to control the Pan/Tilt of a Creative Live! Motion webcam. I have seen some posts which talk about the Platform SDK (which I have downloaded) and then say to look at the GraphEdit program. I'm sorry, but I can't figure out how that helps with determining the objects/API calls needed to control the WebCam as required. Has anybody actually tried to control the Pan/Tilt of these webcams and if so, give me some pointers on where to start. I can't find any DirectShow namespace when reference the DirectX libraries in VS2005. Where do I find it (if in fact, I need it) Thanks what is the link to class DsDevive and how to query for the IAM camera ...Show All
Yogesh Kumar Show of Hands! Is WF by itself a viable approach to addressing a customer's workflow needs?
Like many of us in the forum I am in the all too often unenviable position to influence my client's decisions. I currently have a lot of customers evaluating workflow, many for the 1st time. I personally have avoided building "custom" workflow solutions whenever possible as I have had success in the past implementing packaged workflow or BPM offerings, both Microsoft-based and less recently non-Microsoft-based. It's allowed me to focus my energies on building solutions and solving real business problems, not building infrastructure. Granted, there are customer situations that don't require or afford you the opportunity to buy a packaged solution to address a workflow/BPM need, but I would argue those are/should be the exception n ...Show All
normalguy202 How to change the font of a DesignerTheme?
How can I change the font of a CompositeDesignerTheme The font property is readonly and I cannot overwrite the property in a derived class. The root cause is what I have described. I have a designer theme class and would like it to use a new font instance and not the default font. However, I cannot change the font used by a theme programmatically, because the Font property is readonly. Hi mario , what is the "root cause of the evil" - Vihang Hi Tom, thanks for your help. However, it does not help. I must to change the font for my own DesignerTheme derived from CompositeDesignerTheme. Thus, I try to do it in code and cannot use the "Create New Theme" command. The pro ...Show All
Malleyo application compatibility testing
hi, what are the best practices that need to be followed in order to test an application for application compatibility regards, divya Hello divya mittal, Please follow the Test Case guidelines provided here: http://download.microsoft.com/download/a/5/d/a5d3d02a-fd03-466f-9ba8-97f5e7a90a98/CertifiedforWindowsVistaProgramTestCases.doc Thanks! Matthew Braun ...Show All
Scott Munro DirectShow: get_StreamLength inaccurate
Sorry for yet another DirectShow query. I'm using the IMediaDet interface to find out the footage duration and consequently the number of frames in the footage for lots of different formats. I've tried two methods to obtain the number of frames. 1. Call get_StreamLength and get_FrameRate and then multiply the stream length by the frame rate to get the number of frames. 2. Use the number of frame calculated in 1, subtract 15 from it (magic number, nasty I know but I'm getting desperate) to get a frame number 15 frames from the end of the footage, let's call it frameNumber2. Then run the graph from frameNumber2 and use the IMediaEvent interface to WaitForCompletion. Check that the event is the EC_COMPLETE event. Use the IMediaSeeking ...Show All
