Answer Questions
aashta Windows Vista Registry Security Restriction
I have a question regarding Windows registry, I am developing a USB driver install shield for Windows Vista, during uninstallation I can not delete the following registry keys and their subkeys. HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Enum\\USB\\Vid_0xxa&Pid_0xxx HKEY_LOCAL_MACHINE\\SYSTEM\\ControlSet001\\Enum\\USB\\Vid_0xxa&Pid_0xxx I don't have privilege to delete them, even I run the application as an administrator, can anyone help me on this issue. I tried to use the sample code from the msdn library but still doesn't work on Vista.... http://msdn.microsoft.com/library/default.asp url=/library/en-us/secauthz/security/taking_object_ownership_in_c__.asp http://msdn.micro ...Show All
dsl_beginner Using wimgapi.dll with VB6 - WimApplyImage causes VB6 IDE to freeze?
I'm writing some code to use the wim imaging api wimgapi.dll with VB6. The code works 100% on capture, with the callback function correctly getting progress information and updating my form with progress bar etc. This works fine when run from within the IDE or from the compiled .exe. The apply image code is a problem though - the WimApplyImage code locks up the IDE part way through. When run from the compiled exe, I get no progress messages to the callback - I do get all the process messages though, and it actually works in that it correctly applies the image, but it stops updating my form until it exits the WIMApplyImage function. Anyone have any ideas I've tried registering the callback both immediately before the WimApplyIma ...Show All
Kidsauth how to transfer params into Workflow.handleExternalEvent_Invoked method?
i think you guys all have checked Microsoft's HOL for WF yet, and in Lab04, we got know that the state machine workflow, and i got an fuzzing problem that: how i can specify the 'sender' object into handleExternalEvent and more, how the 'e' of ExternalDataEventArgs be transferred info the handleExternalEvent_Invoked method in one word, what's the schema of that handExternalEvent_Invoke method i have stepped into the Debug mode using F5, and find that 'sender' Param in handleExternalEvent_Invoked method is null , but 'e' Param got his value and the runtime type is just 'OrderServices.OrderEventArgs' which we expected. there are two properties in workflow code are relevant to Activity=Workflow1, Path=OrderEvtArgs Activity= ...Show All
Vaish Windows error 32 (can't delete, move, rename...) after play file with DES
Hello people, I have a problem when I try to access files: I build a timeline loading an xtl file, then a run the graph. When media is stopped, I release all resources (I think..) but when I try to modify some image files (need masks in timeline), I can't made any disk operation (save, delete, move...) on those files. Need upgrade DX (I'm using DX8.1 with VC++6.0) Please help me. Alessandro Paperini Yes, I do. The actions are very very simple: CComPtr< IAMTimeline > pTL = NULL; CComPtr< IRenderEngine > pRE = NULL; CComPtr< IXml2Dex > pXML = NULL; CComPtr< IGraphBuilder > pGB = NULL; CComPtr< IMediaControl > pMC = NULL; CComPtr< IM ...Show All
Abhishekbhadouria IAudioEndpointVolume value and SndVol not in Sync
I'm working on the vista mixer compatibility layer for our application ( Girder, http://www.promixis.com ) and ran into something odd. When I set the volume with SetMasterVolumeLevelScalar the SndVol slider moves to that exact spot and a subsequent GetMasterVolumeLevelScalar returns the correct value. Smooth sailing so far. Now if I move the slider on the SndVol application and then running my app requesting the volume I get a different volume from the value reported by the tooltip on SndVol. Sliding to 0 and 100% works but intermediate steps are trouble. Not until I call SetMasterVolumeLevelScalar does the SndVol display and report the correct value. I'm currently still on RC1, is this a bug Has this been fixed in RTM ...Show All
dstock Windows Workflow Code snippet insertion not available
I am working with Windows workflow and going through some labs from MS. One of the task is to use the Code Snippet option to insert for example a DpendancyProperty The problem is when I right click and select Insert Snippet I can only see the following C#, Office Development, My Code Snippets; I cannot see the option for Workflow I am able to develop other workflow applications but cannot the Workflow option for Insert code snippet. Any Ideas why. I have run the "intergrate Windows SDK with Visual Studio for WWF. Thanks Javahar Hi Javahar - As Elif pointed, we are not sure what do you mean Integrate Wondows SDK with VS for WWF - I am assuming you want to say VS ...Show All
VBAddict How to cancel/ignore an event
So here is my scenario: I have a workflow published as a web service. This workflow sends out e-mails and processes incoming e-mails. Currently, I have my mail functionality implemented in a local service, and it works fine. The only problem is when the worker process is recycled, the mail service stops polling for mail, at least until the next web service requests restarts the web application. What I'm thinking of doing is moving the mail polling functionality into a separate Windows service or scheduled task. I figured I could have this separate service send a web service notification to the workflow instance when an e-mail is received. Here's the problem: There's no correlation token with web services, and just because the ...Show All
FrankWindowsMobile How can I change permission of registry ex. "System\CurrentControlSet\Enum\..."
I want to change permission from "read" to "full control" for "Everyone" on registry. The registry value is on "System\CurrentControlSet\Enum\...". How can I change it Can anyone help me Thank you. If you want modify registry keys in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\..., you must have system account integrity level . Admministrator integrity level has no permission to modify. I have the same situation. I want to modify my USB device in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\..., but I got no way to access,unless my application launched in system integrity level. I've been trying to figure out the sa ...Show All
VectorR3 oscilloscope over running video
I am trying to display an oscilloscope (aka audio scope) over a running video. The directshow filter i am using to produce the audio scope is in: http://virtualvcr.sourceforge.net/html/virtualvcr/filters/scope.php. This filter creates its own window and produces the scope. What I want to do is, instead of creating its own window, it should display the audioscope over a running video. Please point me in the right direction. Use a transform filter, which is designed to let you handle different formats on the input and the output. Follow exactly the instruction here : http://msdn2.microsoft.com/en-us/library/ms782880.aspx Most important for you are GetMediaType (to provide the output mediatype) an ...Show All
Robbie Page Vista API call
I have an application that uses a Windows API call to launch or display files, applications, default email and browser ... But since upgrading to Vista Home Premium the API call will no longer launch an associated program or application... nor will it launch the default email program or default browswer... Anyone know the correct API or calling procedure in Vista Jim Which API were you using previously hRet = ::ShellExecute(m_pMainWnd->GetSafeHwnd(), _T( "open" ), "msinfo32.exe" , NULL, NULL, SW_SHOWNORMAL); works fine on Vista Ultimate x32. What is the error code returned by ShellExecute http://msdn2.microsoft.com/en-us/lib ...Show All
jatdex InstallLocation in registry uninstall information is not being written when using VS2005 Deployment Project
Per Vista test case 19 of Vista Logo Certifications, HKLM\Software\Windows\CurrentVersion\Uninstall\{ProductCode}\InstallLocation can not be null. I am using a simple Setup and Deployment project in VS 2005, and I dont see any option to make that happen. I would have suspected that it would do it by itself. A couple thoughts..... 1) Make sure the sequence is not to early or not to late this may require some playing around with. 2) Orca doesn't save and apply the transforms to well sometimes. Reopen your msi after the transform and confirm that everthing is infact saved If you are still having problems, please post to a new thread referencing this thread and the MSI log file. This will help us see what ...Show All
rravech Video playback with brightness/contrast ?
Hi guys. I am writing a C# app ( but C++ answers are fine, I have a C# DShow wrapper, and I can code C++ fine ), and the client has sprung an extra requirement on me, namely video playback ( which is trivial ) on what was before a still image viewer. They want the same controls on video, however, which means they want to rotate the video, and they want to set brightness and contrast on the video during playback. I've googled, and the WMP seems to have an interface, but it doesn't work ( just exposed for skinning ) and I can't see how to do this with DX either. Any help appreciated. That's for the reply. No, I don't want to grab stills, I want the stream itself to reflect the changes. I'm doing brightness/contrast via mat ...Show All
WayneSpangler Vista ListView Focus/Selection style
How can I say that the ListView control should use the focus/selction style like in explorer My items have just the blue background, not the much cooler explorer 3d stuff. btw: I'm using the application manifest. Steffen I got it working in C# with Vista RC-2, here's my code: [DllImport("uxtheme", CharSet = CharSet.Unicode)] public extern static Int32 SetWindowTheme(IntPtr hWnd, String textSubAppName, String textSubIdList); SetWindowTheme(listView.Handle, "explorer", null); Yes and yes. These calls should work on that build and be documented in that drop of the API. We don't set the style by default for backward compatibility. Many applications looked broken, so we changed t ...Show All
Fatlabmonkey Error message - "The memory could not be read" - Help please!
Hello all I'm new here, so I'm not sure whether I'm posting this in the right forum. I have just bought a Toshiba laptop today. I have been playing around with it (always had Windows XP, so Vista is brand new to me!) and everything had been fine till a few minutes ago. I uninstalled Norton (which was already on there) and installed McAfee instead. Installation was okay etc. So I restarted the machine and after the 'welcome' screen (before you arrive at desktop), a pop up box appeared saying something along the lines of "Instruction at 0xc4e9b825 referenced memory at 0xc4e9b825. The memory could not be read". You close that pop-up box and another one appears saying explorer.exe - application error... and that the machine ...Show All
Andreia InkCanvas exception
Help! I am using .NET 3.0 Beta 2 and VS2005 on Windows XP Tablet PC 2005 edition. Whenever I try and use the <InkCanvas> element I get an unhandled NotSupportedException as soon as the mouse/pen is moved into the ink canvas area. Full details of xaml used and exception below. The exception occurs in the app.Run method. < Grid >< InkCanvas /></ Grid > System.NotSupportedException was unhandled Message="DLL version not correct." Source="PresentationCore" StackTrace: at MS.Internal.HRESULT.Check(Int32 hr) at System.Windows.Media.FactoryMaker.get_ImagingFactoryPtr() at System.Windows.Media.Imaging.FormatConvertedBitmap.FinalizeCreation() at System.Windows.Media.Imaging.Fo ...Show All
