Answer Questions
MrBones How to start process in session before user logs on?
I have a need to start a process in a session before the user logons on. On XP I used a Windows Logon Notification Package to do this. When a new session was created, Winlogon.exe in that new session called my WLNP and it was able to start the process before the user logged on. The process is used to support smart card logons for that session. I'm trying to find out how to do something similar on Vista. I know logon notification packages are no longer supported. I know how to write a service to get session creation notification, but I don't know how to start a process in the new session before the user logs on. Is there a function I can use to start a process in another session If so, I could have my session tracking sevice start th ...Show All
SanthaMind How are tokens w/o mandatory integrity SID treated?
I have a question related to Mandatory Integrity Control (MIC). Usually all user tokens contain an additional SID in the groups list, which is one of the MIC SIDs (S-1-64-x) denoting the integrity level. Tests under RC2 (Build 5744) with tokens missing the MIC SID don't show any special behaviour. A process running with an administrator's token w/o MIC SID seems to have all permissions which an administrator usually has. In terms of MIC the result looks like the token is treated as having "high" integrity (S-1-64-12288). The question is this: What happens in the kernel, if the token does not contain one of these MIC SIDs How is that token treated Does it automatically belong to one ...Show All
renyx MSDTC error : Import of MSDTC transaction failed: Result Code = 0x8004d00e.
Hi everyone! I suppose you've allready heard of this error, I've searched for answers on many other forums and groups but I didn't find a clear answer. So, for something to begin with - I am working on a VB 6.0 - 3 layered application and I get the error when the business layer is trying to persist some data. The broplem is that the transaction is not persisted - the application hungs and returns the "server busy" error. The wole application is blocked after this - when trying to save some data i keep getting this error. The persistent objects MTS transaction mode is set to "Requires transaction" and the component security levels are set to process level, the authentication level is None, and the ...Show All
ftamminga text justification
I am looking to justify text, left justified, right, centred etc. Do i use css, can i use css I need to put x and y of text and do the justification Rg nooneimportant is correct -- it would take a lot of code. WPF/E doesn't have text justification. Right justification could be done by using the new ActualWidth properties on TextBlock. -mark Program Manager Microsoft This post is provided "as-is" You could write a bit of code to implement left/right/center alignment in WPE/e. You would need to write a good deal more code to implement justify, but it can be done. (I did write code like that a looong time ago). If your text is pretty static, then yo ...Show All
Kobi Reiter 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 BUMP, anyone can provide more information I assume that one need to use DWM API's and can't believe that this has not been exposed. Hi devexpert, Unfortunately, we do not expose the caption buttons though any API. The only way to get these is by letting the DWM draw the non-client area of your app. Thanks, Wale ...Show All
VoiceOfExperience Hosting STS in IIS7
Hi, I'm trying to host my STS (based on the original one from STS sample) in IIS7 (on Vista) with no luck. Sending my token to the RP fails and I have "There was a failure making a WS-Trust exchange with an external application. No suitable endpoints were found for the service at address http://www.fabrikam.com/TokenService/STS.svc/sts ." in the Event Log. Here are endpoints for the service: < endpoint address = " sts " contract = " Microsoft.ServiceModel.Samples.SecurityTokenService.IWSTrustContract " binding = " wsFederationHttpBinding " bindingConfiguration = " SelfIssuedSamlBinding " > </ endpoint > < endpoint address = " mex ...Show All
salafa Verifying user's password
During my install I prompt the user for their username and password. I then try to verify this, but it requires elevated priviledges. The documentation says to add the msidbCustomActionTypeNoImpersonate flag to custom actions, but this flag only works on deferred actions. Does anyone know of another way that I can verify the users password Thanks, Anthony Would the NetworkService account meet your requirements (NetworkService authenticates on the network as the computer account.) Several issues come to mind with using the interactive user's account in the service context: Having to update the service config when the user's password changes (again requiring elevated permi ...Show All
PublicError 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
Steve at Pixelda InfoPath Task form not pre-filling
I have a workflow that creates a task that has an infopath form associated with it. While the form is displayed properly, it shows empty although I have included code that attempts to pre-fill most of the data in the form. What is the magic step that I'm missing Workflow.xml < Elements xmlns = " http://schemas.microsoft.com/sharepoint/ " > < Workflow Name = " BWXT Workflow " Description = " Simple workflow. " Id = " 60419539-7A39-49bf-A23C-C2AC4BEC17E " CodeBesideClass = " BWXT_Workflow.Workflow1 " CodeBesideAssembly = " BWXT_Workflow, Version=3.0.0.0, Culture=neutral, PublicKeyToken=51a6216678abdb45 " TaskListContentTypeId = &quo ...Show All
Kamarey Help with permissions in Vista
Hi, I'm relatively new to .NET and am developing an Application for Windows Vista. I'm running into a couple of issues with the Application when it's trying to do 2 things - Copy a file, or Set a Registry Key Value. When I'm running VS2005 both these 2 functions work no problem, but I would assume that this is because I run VS2005 as an Administrator. My Application won't be able to run as an Administrator I don't think, because I will be running the Application from boot up as a shell. For the file copy, I'm using a straightforward File.Copy, e.g.: Dim strPathFrom As String = "C:\FolderName\Filename.txt" Dim strPathTo As String = "C:\Filename.txt" File.Copy(strPathFrom, strPathTo, True) This raises the ...Show All
Jorge125 Pass Guid as String in XmlHTTP
I can't figure out where I'm going wrong...I am new at this and trying to get the whole concept. Any assistance would be GREATLY appreciated! List 1 Questions Using the code below, I am able to get this alert: Alert oXmlHTTP.responseXML.xml: < xml version="1.0" > <string xmlns="http://tempuri.org/">A1 Client TEST</string> oXmlHTTP.responseXML.xml.toString().length: 84 Then the alert: Inside check to see if we have a valid response Then the alert: Service Returns parentaccount back in a string node: A1 Client TEST (this is the name of the parent object I am trying to return - I also need the GUID returned as a string, which is where I'm lost; I know the object type cod ...Show All
Ryan F Graphedit return 0x80004002 (No such interface supported) on Vista64
Dear All, I face a problem that my tv app cannot run successfully on Vista64. And I verify my app's graph using graphedit, I found it's also fail to run my tv graph, it will pop an err msg after I press the play button : "No such interface supported, Return code = 0x80004002". However the same graph can be run successfully using graphedit(64), I wonder what's the difference Also, amcap cannot run but amcap(64) can....... I think it's strange because I thought there should be no differences on AP design for 32 or 64 bit OS Does anyone know how should I change my app to let it run successful on Vista64 Thanks and Regards. With DirectShow on 64-bit platform, when runn ...Show All
CnoEvil Windows vista
I received Windows Vista last week by mail. But I can't download it because of the error status: 0xc000000f File:\$windows.BT\Windows\System32\Drivers\ImageDRV.Sys Anyone know what to do im afraid this is the wrong forum to ask the question, the best place would probably the communities over at: www.microsoft.com/communities Thanks! ...Show All
ReiXou Vista Final Release Date
Have to plan IT budget for hardware & software. Can anyone tell me what is the deadline of the Vista Project if there is one PrinceThaine wrote: It will be released for VLA/Business licensing November/Begining of Dec and for retail Q1 07, specifically January I believe. He is correct. Q1 of 2007 The date is 01-31-2007, and in few days for MSDN or Technet Plus subscribers. source : http://www.microsoft.com/presspass/features/2006/nov06/11-08VistaRTM.mspx From MSDN Subscriber downloads: Office 2007 is now available from MSDN Subscriber Downloads. Windows Vista is expected to be available on Friday November 17, 2006 PST Good Ne ...Show All
xRuntime Easier adding of paralell branches and brackets
Hi All, I'm a beginner in WWF, and I should implement an SQL-like(not for an SQL database, but with a similar language) query builder workflow. The query should contain only a SELECT with AND, OR, NOT and brackets. The selection is based on different characteristic, which are listed in a grid. After short studying of some sample programs and the help, I have the following questions: 1. How can I insert the dragged activity paralell to the current selected activities or to the activity bellow it Detailled: In the samples I have seen only one way for inserting paralell activities. You take a CompositActivity or ParalellActivity from a toolbox, and drop it into the designer. After that you take an Activity from a to ...Show All
