Answer Questions
WalangAlam Multiple disks
Hi, How do i write multiple disks using IMAPIV2 . i.e. data (ISO) to be wirtten is bigger than the dvd size. when the DVD gets full user should be asked to insert another disk Thanks in Advance An ISO file is an entire disc image that contains both the file system metadata and the file themselves. Typically the file system metadata cannot be separated from the file data itself. You accordingly cannot span this over multiple volumes. Are you actually writing an ISO image or do you instead look to write some file and directories which total size exceed the capacity of a single media ...Show All
Danalynn Test Case 32: Is WER necessary for this test case
I am not clear about ThreadHijacker tool to test my application.It inserts /AV in to the app. I think that there must be the code to handle the structerd exception in my app. so i am trying to use following code : #include "stdafx.h" #include <windows.h> #include "errorrep.h" static LONG WINAPI ExceptionFilter( struct _EXCEPTION_POINTERS * pExceptionPointers ); int _tmain( int argc, _TCHAR* argv[]) { DWORD *pdw = NULL; BOOL fUseGlobalExceptionFilter = FALSE; if (argc > 1 && _stricmp(argv[1], "UseGlobalFilter") == 0) { LPTOP_LEVEL_EXCEPTION_FILTER myfunc = SetUnhandledExceptionFilter(ExceptionFilter); if (myfunc == NULL){ exit(0); } // caus ...Show All
intrepid Replicator and Generic IList question
I have a custom activity that looks like this: using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Workflow.ComponentModel.Compiler; using System.Workflow.ComponentModel.Serialization; using System.Workflow.Runtime; using System.Workflow.Activities; using System.Workflow.Activities.Rules; using HFO.BusinessDataSet.Pricing; namespace MCP { public partial class CreateStagingRecordsActivity: System.Workflow.ComponentModel.Activity { public CreateStagingRecordsActivity() { InitializeComponent(); } public static DependencyPr ...Show All
sean_kirkpatrick Shell Extensions?
In Vista Beta 1 our shell extensions worked but in beta 2 Build 5384 it no longer works. I found some mention of Like all COM objects, Shell extension handlers must implement an IUnknown interface and a class factory . Most must also implement either an IPersistFile or IShellExtInit interface in Windows XP or earlier. These were replaced by IInitializeWithStream , IInitializeWithItem and IInitializeWithFile in Windows Vista. The Shell uses these interfaces to initialize the handler. In some msdn documentation but I can't find any samples. Anyone have any information Thanks. what type of extension are you creating these docs refer to property handlers, perview handlers and thumbnail providers. Chris ...Show All
Kirankrb 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
Keyth Using Com+ For Transaction
Hi I have a problem in using com+. I used to use vb.net 2003. My program's architecture is 5 layers. The Business objects and dataobjects are com+ objects.I use tcp channel for remoting and the atributes for com+ that I use are : < Assembly : ApplicationName("App Name")> < Assembly : ApplicationAccessControl( True )> < Assembly : ApplicationActivation(ActivationOption.Server)> <ComponentAccessControl( True ), _ SecurityRole("MyRole", True ), _ Transaction(TransactionOption.Required)> and for all of my functions I use try/catch .at the end of try I use ContextUtil.SetComplete and In catch I use Contextutil.SetAbort. also I Inherit a class from Exception for my own ex ...Show All
ctalbert Sample Issue Editing XAML in Blend or VS.net
Hi, I just downloaded WPF/E to give it a first run through in the dev environment. I setup the SDK and downloaded the samples. When I open the xaml in blend or vs.net, the WPFE schema is not recognized and so I receive errors: The name "Canvas" does not exist in the namespace http://schemas.microsoft.com/client/2007 . Since the namespace of WPF and WPFE are different, how do I include the namespace below so that the designers recognize the WPF types : xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " Thanks, Thomas Goddard www.illuminatedpixel.com To make the WPF/e project created in Visual Studio 2005 work on Expression Blend you need to change ...Show All
DineshSharma I can't find the workflow items in VS2005
I have installed .NET 3.0(July),MicrosoftR Visual StudioR 2005 Extensions for WindowsR Workflow Foundation Release Candidate 4, and SDK, but when I click new website in VS2005,I can't find the workflow items. Anybody can help me Thanks! there is no website project template. You'll need to do a New project and then look under C# or VB for the workflow category. In your case, you probably want to build a workflow library you can reference from your ASP.NET application. Matt Thanks for your help. At the Other PC, the same solution, when I click new website in VS2005 ,I can see the template of WinFX site. And clicke new project and select C# ,the Winfx template will display in right ...Show All
Jiju Glyph's don't register mouse events?
Is this a known issue of Glyphs not responding to mouse events Check out my sandbox for an example: http://jgrunstra.blitzagency.com/wpfe/sandbox/ You can click on the TextBlock ("I Am WPF/E") and the image (blitz logo), and both register the event, but clicking on the Glyph ("Click Me") doesn't respond, and if you click an area of the glyph that is covering the image then the image registers the click event even though the sudo z-order has the glyph positioning on top of the image. The SDK says Glyphs recognize all the usual mouse events. http://msdn2.microsoft.com/en-us/library/bb188338.aspx Thanks! -Jason can you help me with the last question at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=14131 ...Show All
einaros Setting volume levels with IAudioVolumeLevel
Hello, I've been trying to set the level of a particular part by using the IAudioVolumeLevel interface of the API. I can Activate a valid instance of the interface, and when I call GetLevelRange on it, I get a min value of -34.5, a max value of 12, and a step value of 1.5. However if I loop through the valid step values and set them with SetLevelUniform, while comparing the value of the volume level slider in the Control Panel (which goes from 1-100), I get unexpected results. The number on the slider (and volume from the speaker) remains at 0 for the first 8 iterations of the loop until I get to a level of -24 for the SetLevelUniform call, at which point the slider value moves to 1, where it remains until the 8th iteration in the loop ...Show All
Nikster About Test Case 32 of Certified for windows vista test cases
Hi all: After testing Test Case 32 of Certified for windows vista test cases, I find something as below: If the user is limit user, there is only "Application Error" in the Windows Event Log. if the user is administrator, there are "Application Error" and "Windows Error Reporting" in the Windows Event Log. Is this a correct behavior Hi Darren_Yu, When you say user are you talking about the user that is currently logged in or the user credentials under which the process is running It's worth while noting too that the test case does not specify what user context a process needs to be running under. Thanks! Matthew Braun Matthew Braun - MSFT ...Show All
mswlogo How to Syncronize audio/video ?
Hello, I wrote two directshow source filters, one for video processing and the other for audio. I Would like to know wich specific methods i will need to implement in order to get the two streams synchronized and how to implement them. I'm not used to program on this interface, so it's being a really hard job to put things right. If this was already discussed elsewhere please help me to find. Many thanks Daniel To ensure that the two streams are synchronized is very simple : you need to give identical StartTime timestamps to samples that need to be rendered at the same time. You do this by setting the sample time with pSample->SetTime (The renderers use the Sample's Start Time to begin presenting ...Show All
NoEgo Designer re-hosting related
Hi, Is there a way I can get information which activity or sub activity is being clicked from the designer What I want to do is give users right click (Context Menu) for activities and shapes in activity so that they can get custom data based in command clicked. e.g. I have extended logging mechanism and when user right click on an activity or its shape(ExternalMethodCall, WaitforExternalEvent,CodeActivity etc.), a context menu would be displayed and based on users' selection, a new form would be displayed having data related to that selection. I want this feature in runtime hosting and not in design time. Any one has any idea how to do this Thanks, Hiten You can subscribe to the selectio ...Show All
mameelas Intel(R) 82801ER SATA RAID Controller
When I want setup Vista RC1 from DOS, I will need to install raid driver. When I put floppy into floppy-drive, setup begin copy driver-files to HDD, when I will seen "blue screen" with error. This driver was worked correctly in Vista Beta 2. How can I correct this problem. Hi Louis: Does this indicate that I should be doing a new download and burn to DVD for RC1 Cheers Doug The fix was checked into 5714 so you will not be able to get around this for RC1. Test with build 5728 you can get it from the following location: http://download.windowsvista.com/preview/rc1/en/download-5728.htm Thanks, Louis Shanks Microsoft AppCompat I don't ...Show All
c_shah Implement custom correlation with Workflow published as Web Service
Hi I know that workflows published as Webservices use the asp.net session as default correlation for the workflow instances. This is OK but not what I need (I Think at least) I have a WinForm GUI that needs to call this Workflow Web Service with delayed intervals like Create Booking, Confirm booking. So I need to make sure that I call the right workflow instance on the Workflow Webservice when the based on eg. a dropdown box with workflow instaces. So how do I do this Custom correlation on web services. http://msdn.microsoft.com/msdnmag/issues/06/04/CuttingEdge/default.aspx talks about a HTTP Module takes care of the Session => Workflow instance mapping. Do i need to make such a HTTP module my self If yes, how do I do th ...Show All
