Answer Questions
SQLme ClickOnce deployment problem for Vista app
I am trying to deploy a managed application to Vista and assert that the application needs administrator privilege to run. I have updated the manifest and the application correctly asserts the administrator privilege when I run it directly from the file system. However when I try to deploy the application using ClickOnce deployment the deployment fails. The same error occurs on Windows XP. I have a small sample app that I can provide source code for. The trustInfo section of the manifest is as follows: < trustInfo xmlns = " urn:schemas-microsoft-com:asm.v3 " > < security > < applicationRequestMinimum > < PermissionSet class = " System.Sec ...Show All
oulisee Workflow VB Snippet Error on Build
We recently upgraded to the Feb WinFX CTP and have been encountering the following VB workflow snippet errors during the builds: "C:\Program Files\Microsoft Visual Studio 8\VB\Snippets\1033\Workflow\DependencyProperty - EventHandler.snippet: Missing or invalid Code tag" The Error List Window header shows 0 Errors, 0 Warnings, and 0 Messages. However, the above error is displayed in the Output Window. All projects in the solution build without errors. Before installing the Feb WinFX CTP, we first uninstalled the VS 2005 Extensions followed by the Jan WinFX CTP. We rebooted then installed the Feb WinFX CTP followed by the VS 2005 Extensions. Has anyone run into this problem We are not using either VB or snippets in our ...Show All
Christopher Bennage how to check password in sts sample
Hello, I have a question about username/password manage card while I'm testing a sts sample. I'm trying to check the password using AuthorizationContext in WsTrustResponder.cs. Is this the right way to do that Is there someone to show me the example code Thanks. Thanks a lot, Garrett, Nigel. The default is to use Windows auth (i.e. you just use a Windows username and password). If you want to use something else you need to override UserNamePasswordValidator. e.g. < behaviors > < serviceBehaviors > < behavior name = " SampleSecurityTokenServiceBehavior " > < serviceMetadata /> < serviceCredentials > < userNameAuth ...Show All
B M E Linker problems with VStudio 2005 and DirectShow
Hello all, I'm currently doing some porting of projects from Visual Studio v6.0 to Visual Studio 2005. A number of these projects are filters that use the DirectShow API, which is installed on the computer as part of the DirectX v8 SDK. While VS2005 is able to update the project files etc. all right, when I try to create the filters, I get linker errors related to the DirectShow library, strmbase.lib. Currently I am using a version of strmbase.lib that was built using Visual Studio 6, and using the project/workspace files that comes included with the SDK. An example of the set of linker errors I get are as follows: Creating library .\Release/AudioResample.lib and object .\Release/AudioResample.exp Aud ...Show All
elfenland Customized IfElse activity in a Custom Workflow Designer
Hi everybody. I host a workflow designer in my application and need to provide users with an IfElse activity that works as simple as possible "Declarative Rule Condition" mode still requires users to reference certain values and compare them with others, and this considered as writing code. I, instead, would like to just have a property like RunThisBranchWhen <value>, so the users could just set the <value> and it would be automatically compared with a value coming from the previous activity. My question is: Can the standard IfElse activity be redesigned to work this way or I have to write my own IfElse from scratch Any details/examples would be greatly appreciated. Thank you ...Show All
SukhiNew UnauthorizedAccessException = Error accessing COM+ application by webservice
Hi all, I build a webservice to access a COM+ application. I install the com+'s proxy in my machine, but when I run the webservice, appear this error ( in portuguese, that is my original language): System.UnauthorizedAccessException: Falha na recuperação de factory de classes COM do componente com CLSID {C1F2D7B3-7A69-4368-83EA-43C91A4BB75F} devido ao seguinte erro: 80070005. em Service.obtemDetento(Int32 iPresidio_Alvo, Int32 iPROR_CODIGO, Int64 lINDICE, Int64 lMatricula, Int64 lCODIGO_DETENTO) na C:\Documents and Settings\leomar-costa\Meus documentos\Visual Studio 2005\WebSites\WebSite1\App_Code\Service.vb:linha 21 The 21 line is: Dim rnDetento As New PRIepDetRn.clsRNDetentos() What's is going wrong Thanks a lot ...Show All
Josip Orec sleep mode
: I obtained and installed the hotfix from MS (from that kb article 929734). I rebooted and tested the sleep mode twice, same error but only one error unlike last time. It still takes about 20 seconds to get out of sleep mode when I open the laptop and press ESC or power button Please help me fix this. Windows has resumed from standby: Standby Duration : 2999ms Standby Incident Time (UTC) : 1/11/2007 4:57:32 AM Resume Duration : 17975ms Resume Incident Time (UTC) : 1/11/2007 4:57:49 AM IsDegradation : false - System - Provider [ Name] Microsoft-Windows-Diagnostics-Performance [ Guid] {cfc18ec0-96b1-4eba-961b-622caee05b0a} EventID ...Show All
ShawnT123 Laptop close lid, and re open lid, Vista wont resume, screen is off/black
I'm having a problem with Windows Vista Ultimate 64 bit edtion on my HP laptop, when i close the lid but i have set up what windows does when i close the laptop to do nothing, but when i close the lid, and re open it, the screen is off/black, cant shutdown it properly and must do hard reboot. Laptop is HP Pavillion dv9000nr AMD Turion 64x2 Nvidia GeForce GO 6150 1gb memory To activate your shortcut buttons go to: http://support.vaio.sony.co.uk/downloads/os/vista/upgrade.html Install the utilities for your laptop, and then you can configure the buttons using the vaio control centre. same problem with my hp compaq nx6320, i have the latest video card driv ...Show All
mr hankey Where are the user interface controls? ie: Menu, TreeView, ListView, TextBox, ...
I cannot see any user interface controls in the WPF/E reference. When I try to instantiate something as simple as a button, it throws an exception when loading the XAML. What is the status of the support of TabPanel, TreeView, Menu, Button, ListView, TextBox, RadioButton, ... Without these, I cannot see how it would be possible to build an application user interface with WPF/E. 1. We currently alloy only J-Script to program against WPF/E control. We don’t have support of C# hence we don’t support pulling down the assemblies and firing evens on them. 2. Primitives are basic building blocks for your UI, like Lines, Ellipse, Rectangles, Images, Paths etc. Using these primitives and mouse even ...Show All
Snip Custom Policy Activity update it's own properties at runtime
Hello, How do you get a custom policy activity's ruleset to update a property on the activity instance Thanks. Jurgen, I think I tried - in some form - to execute the rule directly against the activity instead of the root activity, and received errors. But I don't have the details at this time. So I will try it again in next day or 2 and advise. Thanks. John. Maggie, So if the rule looked like the following... Rule Info... Condition - this.WorkFlowParameters["primary_market"].ToUpper() == "DALLAS" then action - ((TWTC.WF.WFActivities.TActivityQueue)this.GetActivityByName("taskCleanOrder")).RoleName = "TSDS ...Show All
Atulpatel Showstopping Bug in WF Persistence?
We have been struggling through an error for some time and as yet have found no resolution. We would like to persist a workflow that contains activities that have subactivities (like subtasks). The problem is that we get a SerializationException when the app tries to load the persisted workflow (on SqlWorkflowPersistenceService.LoadWorkflowsWithExpiredTimers). The specific message is "The object with ID XXX implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other." If we take out the "subtask" concept, or take out persistence, our code works perfectly. Here is the code with the issue. //The Custom Acti ...Show All
Uggywuggy Windows SDK installer fails (v6.0.6000.0 RTM)
I have downloaded the 1.15gb RTM windows installer twice now (the standalone not web download) and get the same message about an invalid digital signature. The file it fails on is \Setup\WinSDKDocNetFx-WinSDKDocNetFx-common.6.cab. I can't imagine I downloaded it and got it corrupt twice in the same place. Is your installer ok I can't do the web download due to proxy/firewall issues. Kerry Ok, did it from home used alcohol 120% to mount the iso and it worked ok, so false alarm (for me anyway). Great information. Thanks for sharing. This will go into our knowledge base. Kerry, I used alcohol 120 long ago for downloading ...Show All
KitWest Light at the end of the nvidia tunnel?
I'm having a problem with Windows Vista Ultimate 64 bit edtion on my HP laptop, when i close the lid but i have set up what windows does when i close the laptop to do nothing, but when i close the lid, and re open it, the screen is off/black, cant shutdown it properly and must do hard reboot. Laptop is HP Pavillion dv9000nr AMD Turion 64x2 Nvidia GeForce GO 6150 1gb memory Wow, i thought i was the only one having this problem :( I have Sony Vaio VGN-FE21S with nVidia GeForce Go 7600, i have been using many driver from laptopvideo2go.com, but not solved problem yet, i am currently running nVidia 97.46 (the Sony release version for Vista) and i have upgraded my BIOS to R0172J3, which Sony ...Show All
SuperSaiyanZero Windows Filtering Platform Sample code: diagevents
Hi, I run sample project diagevents in Vista 32 bits enviroments. When i call the first function in diagevents.c located at C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\NetDs\WFP result = FwpmEngineOpen0(NULL, RPC_C_AUTHN_WINNT, NULL,NULL,&fwpEngineHandle); It returns error code 5 which is ERROR_ACCESS_DENIED; I installed sdk and also file correct value as application's parameters Please let me know if any thing I may miss. Thanks, Forrest need admin privileges to run the Management APIs. ...Show All
Tigers21 Conversion of XPS :: ArcSegment to GDI+?
Hello, my aim is to simulate an ArcSegment from XPS using the GDI+ library. In XPS, an ArcSegment is defined by the startPoint and endPoint of the arc, as well as the two values of the radii of the whole ellipse, along with a rotation angle and 2 other values to determine which arc to choose. In GDI+, we can add an arc to a GraphicsPath object using the following method: AddArc( const Rect & rect , REAL startAngle , REAL sweepAngle ); where rect is the bounding rectangle of the ellipse containing the arc. MY QUESTION is this: How do you convert from XPS::ArcSegment to GDI+::Arc I thought about finding the bounding rectangle of the ArcSegment as a starting point, but I end up with 2 quadratic equatio ...Show All
