Answer Questions
ASKavya creating registry key in HKEY_LOCAL_MACHINE accessible by all
Hello, Basically I have an application (dll) that allows admins to configure a system wide configuration that is accessible (read-only) by normal users. The system wide configuration is stored in HKEY_LOCAL_MACHINE\Software. The code of course works on Windows 2000/XP but not on Vista because of, as I suspect, the fact that the information is stored in the virtual store under HKEY_CURRENT_USER. When the admin stores the new configuration and a normal user attempts to use the configuration (in a different security context) they receive a unknown registry key error as the information is, of course, not available. As I understand reading through the forum setting the "run-level" using a manifest file allows me to skip the virtualization and w ...Show All
KThelen Errors in winnt.h file using visual c++ 2005 express edition and mar. 15 sdk
Hello. I get the following errors when I try to include winnt.h in my code. I tried using the newest sdk as well as the previous release, and both files seem to generate the same errors. This must be a common problem, but I haven't seen the answer. I'm including stdio.h, xlcall.h, windef.h and winnt.h in my code. Maybe I need to include another header. Any help would be greatly appreciated. Thanks. C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in ...Show All
c699976 drawing inside DocumentViewer control
Hi! I use DocumentViewerControl to view XPS documents. How can I draw my own notes on document pages Is there anywhat like Canvas for DocumentViewerControl Thanks, Alexey Has anyone had any luck drawing on the DocumentViewer Control Thanks, Peter I don't believe there is anyway of drawing within documentviewer control as it appears to be a readonly control. I have used a fixedpage with a drawing canvas in it for this purpose, don't know if this is the best way, this is supported by the Windows SDK Documentation and I quote " DocumentViewer is designed to display content in a read-only manner; editing or modification of content is ...Show All
Oliver 123 VIDEOINFOHEADER does not update image dimensions
I have some DirectShow code that loads video clips and plays them onto OpenGL textures. The problem I have is that the VIDEOINFOHEADER returned from the SampleGrabber does not update the bmiHeader.biWidth when changing from a 640x480 to a 720x480 clip. I release the SampleGrabber and all DS filters before rebuilding the chain and clear out the AM_MEDIA_TYPE structs before calling the SampleGrabber's GetConnectedMediaType method. I have the Windows Server 2003 SP1 Platform SDK, have built the DS samples as debug and develop on XP SP2. Any insight into this problem would be greatly appreciated. This may actually be a codec specific problem. I'm using ffdshow for MJPEG decompression and it has this problem ...Show All
swapna_n Control panel "Windows Cardspace" doesnt work
Every time i start the "Windows Cardspace" from the control panel, i get this eventlog error: Running on german XP Pro SP2 Ereignistyp: Fehler Ereignisquelle: CardSpace 3.0.0.0 Ereigniskategorie: General Ereigniskennung: 269 Datum: 07.11.2006 Zeit: 19:38:32 Benutzer: NT-AUTORITAT\SYSTEM Computer: ATHLON64 Beschreibung: The Windows CardSpace service is too busy to process this request. User has too many outstanding requests. Additional Information: bei System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) bei System.Environment.get_StackTrace() bei Microsoft.InfoCards.Diagnostics.InfoCardTrace.BuildMessage(InfoCardBaseException ie) bei Microsoft.InfoCards.Diagnostics.InfoCardTrace.TraceAndLogExceptio ...Show All
wgwolf how to restart workflow runtime after IIS restart
My question is for workflow exposed as web service through webserviceinputactivty/webserviceoutputactivity. My impression is that workflow runtime is only started after the first web service call. My test workflow has 3 activities: webserviceinput, webserviceoutput, delay. SqlPersistence service is enabled. The workflow is activitied through a web call. When executing the delay activity, it's persisted to the database. Then I shut down the web server (ASP .NET development server). When the web server restarted, the timer already expired but the workflow was not resumed. Only after I made another call to the web service, the timer fired. I did an experiment in a winform application. When the application starts next time, the timer fir ...Show All
Ilan D Printing to specific output bin
Is there a way to send the printed output to a specific bin (printers with multiple output bins) Thanks You can specify the output bin as a Feature in your print capabilities document with psk:JobOutputBin with option and scored properties . PrintTicket will have the bin selected as specified by you. Here is the sample for specifying output bin in your print capabilities document: <psf:Feature name="psk:JobOutputBin"> <psf:Property name="psf:SelectionType"> <psf:Value xsi:type="xs:string">psk:PickOne</psf:Value> </psf:Property> <psf:Option constrained="psk:None"> <psf:ScoredProperty name="psk:Bin"> <psf:Value xsi:t ...Show All
Philip Jaques WF RTM and .NET Framework 3.0
With WF nearing RTM what will be the ship vehicle Will it be available as a part of a .NET Framework 3.0 beta or CTP and the WF VS Addons will be RTM Will there be a seperate WF download until the rest of .NET 3.0 RTMs Just curious since it seems like it will be the first of the Foundation technologies to RTM. WF will ship with Vista and as a part of .NET Framework 3.0. It will not ship seperately. ...Show All
TheGreenGenie Windows SDK Documentation
Hello, If you have the Windows SDK and Visual Studio installed, you can help me. Please tell me if your Windows SDK documentation is integrated with your Visual Studio 2005 documentation. Thankyou. Because mine isn't. Assistance appreciated. I did a clean installion of Visual Studio on Vista RC2, and I installed the following additional items in the order shown. installed VS2005 sp1-KB918525-X86-Beta-ENU installed MicrosoftR WindowsR Software Development Kit for RC 1 of Windows Vista and .NET Framework 3.0 Runtime Components installed Microsoft Visual Studio Code Name Orcas Community Technology Preview – Development Tools for .NET Framework 3.0 - vsextw ...Show All
cggamer TransactionScope with sql and msmq
Is it possible to use transactionscope and in the {} to use sql and msmq msmq is the datasource and the sql is the target. I wan't it to be transactional Could't find a sample for it . Is that possible Thanks Avi TransactionScope and System.Transactions should work with System Hibernate. Finally found the problem. It seems that if I want the queue to be controlled by the scope,I need to declare the constructor with bool flag for Transactional "new MessageQueue(pathe,true)" That solved the problem. By the way, From what I have been reading . Tscope don't work with Hibernate. Is that true Avi Hey Avi_harush, Does it ...Show All
LibertySt GoTo Activity
Hi Is there a custom activity which implements the functionality of GO TO thanks Bobs If your workflow is a State Machine workflow with multiple states, then you can have SetState activities which when executed will take the execution to the designated state. This is the closest thing to a goto. Steve Danielson [Microsoft] This posting is provided "AS IS" with no warranties, and confers no rights. A possible solution to bypass the lack of GOTO in a SequentialWorkflow may be to use the EventHandlingScopeActivity . For a description of the technique and a sample project, you can see here . Hi Thanks for the ...Show All
yoshikatsu Why have nested transaction rules changed?
I'm very annoyed by the change in nested transactions. Previously it was perfectly ok to nest a transaction with a different isolation level to the current Tx providing it didn't ask for a stronger isolation level. Now it seems it has to be exactly the same. This has made porting from Enterprise Services to System.Transaction a complete nightmare! Why the change, it makes a mockery of ambient transactions since now every component has to understand what Tx they're in...surely this is a mistake or I've missed something Thanks for the reply and the clarification. I empathise with the dilema of, should we do exactly what the nested component wants, should we error or should we enlist it but at our current isolation level. Perso ...Show All
ctusch Vista Beta 2 5384 x64: black - blank screen problem
Hi everyone. I have a problem with a new installation of Windows Vista beta 2 build 5384 x64. After the installation the PC booted in normal mode, but I see only a blank screen without any cursor or information. I am able to boot into safe mode (I managed to install the nVidia 88.61 from there) and log on, but when I reboot into normal mode I can't see anything appearing on screen. I also tried to manually update the driver from the Device Manager in safe mode and nothing. I tried even to boot in "Allow unsafe drivers to load" but no gain. Here are my specs: Athlon X2 4800+ 2 GB RAM MSI K8N Diamond 2 GeForce 7800 GTX (SLi config) 2 Seagate Barracuda (300 GB each) Thanks!! These forums are for v ...Show All
fasttrack Error running DEVENV
I'm not able to run Visual studio 2005 on Vista. It worked yesterday and now when I run it it gave me the following error on the application event: Activation context generation failed for "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.Manifest". Dependent Assembly Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0" could not be found. Please use sxstrace.exe for detailed diagnosis. I found the dll referenced in the message on: C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.ATL What could be a cause of this error Thanks, Alessandro after trying everithi ...Show All
Juliano.net Duration change not reflected in WMP (EC_LENGTH_CHANGED)
hi, i have build a source filter, when the source file length changes I send a EC_LENGTH_CHANGED, CComQIPtr<IMediaEventSink>(m_pGraph)->Notify(EC_LENGTH_CHANGED, 0, 0); this works perfect in all directshow players, but not in windows media player. i get asked for the new stop position, but nothing changes. the duration keeps always the same. can somebody help me please. thanks. hi,now i have posted there. when i dont get helped there i will post here again. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.mmedia&lang=en&cr=US thanks, onur I'm af ...Show All
