sjschoenberger's Q&A profile
Software Development for Windows Vista Sample Simple-STS for RC1+: Cannot retrieve a Managed Card from SampleSecurityTokenService
I can create *.crd without any problems. However, I’m unable to retrieve the Managed card form SampleSecurityTokenServices. Repro: 1. Run SampleSecurityTokenService.exe to accept Managed Cards 2. Go to https://www.fabrikam.com/CardSpace/Sample.htm and click on “Click here to get the Token” 3. Select the Managed Card and Send. Windows CardSpace tries to contact https://www.fabrikam.com:7001/sample/trust/selfissuedsaml/mex and receives the following error. “Your data could not be retrieved from the Managed Card. Check your network connection and verify you have supplied the correct authenticated credentials." In the Event Log, I found the following message: There was a failure making a WS-Trust e ...Show All
Visual Studio Team System Completely Removing Team Builds from Process Template
I am creating a new Process Template for our Software Support Team. They have no need at all for Team Builds or Source Control. They don't touch the code or build it. I removed the Plugin, group and tasks from the ProcessTemplate.xml but the Team Builds folder still shows up in the Team explorer when I create a new project based on this template. Is there anyway of getting rid of it completely I have the same question with the Version Control node. But at least when you right click on the Version Control node nothing shows up. I already fixed up the ProcessGuidance.xml so I dont create the Source Control branch. But I really can't disable a Plugin for all projects. I need Build and source Control for all my other projects ...Show All
Visual Basic ADO.net dataadapter.fill
Hi, I have two tables in my database: tb1 and tb2. tb1 will be inserted into tb2 with these conditions: 1.) if primary key to be inserted is already existing in tb2, then the data in tb2 will just be updated using values of tb1 2.) if primary key to be inserted is not yet existing in tb2, a new recorded will be created in tb2. I used a dataadapter to fill the datatable and a bindingsource. Also, I used execute non-query command to insert/update the data in tb2. everytime i update/insert a record in the database, my datatable still contains old table records (it doesn't have the data i inserted and contains old data before updated). in this case, i have to issue another da.fill(mydatatable) to refresh.... which is so slow espe ...Show All
Windows Search Technologies WDS 2.6.5 build 5378 searching inop
Hi, My original postwas removed (mainly because I didn't respond in a timely fashion) so here is my reply to Paul Nystrom's post. I will also include Paul's reply & my original post for reference.. Paul, Thanks for your attention. I had previously not had WDS installed and installed 2.6.5 build 5378 straight away. I did try uninstalling and installing it to no avail. It is interesting to note that the MSN desktop search toolbar does work. I am running Windows XP Professional SP2 on the machine in question. I tried WDS before and after installing Symantec Corporate Anti-Virus. I run no spyware blockers and IE is 6.0.2900.2180. If there is anything else I can do please drop me a reply and I should now get the alert. Hope ...Show All
Audio and Video Development XPath - intersection of nodesets
Is it possible to perform an intersection of nodesets within an XPath And if possible... Is there a somewhat elegant way to do it Seemingly it's not difficult with XPath 2.0, however with the HD spec we're using a subset of XPath 1.0. The most common reason anyone would want to do this -- since elements can have multiple classes, let's say we'd like to select all elements with class('a') AND class('b'). The class() function involves a built-in (which is probably optimized / indexed on DOM load) split() or tokenize() on the "class" attribute string, and it would be hard to mimic this ability looking at @class directly. I realized what the problem was -- this may (or may not) be instructive... I ha ...Show All
Visual Studio 2008 (Pre-release) How can I move and resize window without flickering ?
When I simultaneously move the window 10 units to the right and increase the width by 10, flickering happens. It appears that after each operation the window is being redrawn, instead of just after all is done: void OnButtonClick(object sender, RoutedEventArgs args) { Left -= 10; Width += 10; } So how can I make sure the window drawing just happens after both Left and Width have been modified Hi Makutaku, t hank you for reporting this problem. I believe this is not just specific to WPF apps. When a window is being resized from the left, it is first moved toward the left then resized to the new dimension, where only resizing is necessary when being resized from the right border. The flickering problem ...Show All
Visual Studio Tools for Office Microsoft Office Outlook 2003 SP1 or newer is not installed on this computer.
I receive this, or a similar error, when attempting to create any of the office template projects. Full error: Microsoft Office Outlook 2003 SP1 or newer is not installed on this computer. You must install a version of Microsoft Office Outlook 2003 that supports Microsoft Visual Studio 2005 Tools for the Microsoft Office System projects. Installed: Windows Vista, VS2005 TE SD, Office Enterprise 2007, VSTO 2005 SE Thanks, Hi Cindy, In this case, I was trying to create an Outlook add-in, but other templates create a similar error. I'll try removing VSTO and re-installing only SE and report back. Thanks, ...Show All
Visual Basic checking ContextMenuStrip existance
Hi All How to check if the contextmenustrip exist in a form following line of code raises null pointer exception Dim f As Form = DirectCast (form_name, System.Windows.Forms.Form) If Not f.ContextMenuStrip Is Nothing Then ' code raises null poiter execption end if Thanks in advance PRash If f = nothing, then looking for f.ContextMenuStrip is going to generate an error, so use the following code. The 'AndAlso' operator will evaluate each condition seperately so it won't look at f.ContextMenuStrip if f is nothing: If f IsNot Nothing AndAlso f.ContextMenuStrip IsNot Nothing Then ' code here End If ...Show All
SQL Server calling a procedure from another procedure
Maybe this isn't possible, but I'm trying to figure out how to call a procedure in a select statement where I can pass a new id each record found. Here is the procedure code that returns the desired results for any given ID: CREATE PROCEDURE proc_amEnrollmentTrackingDetailGet_cst @syStudentID INTEGER AS DECLARE @SATACT DATETIME, @HSTranscript DATETIME, @AcceptLetter DATETIME, @FAFSA DATETIME, @FinAidApp DATETIME --Get the last DateDue for each document type SELECT @SATACT = CASE WHEN cmDocTypeID IN (81,110) THEN DateDue END, @HSTranscript = CASE WHEN cmDocTypeID IN (83) THEN DateDue END, @AcceptLetter = CASE WHEN cmDocTypeID IN (126) THEN DateDue END, @FAFSA = CASE WHEN cmDocTypeID IN (150) THEN DateDue END, @FinAidApp = CASE ...Show All
SQL Server Query much slower on 2005 compared to 2000
We have a database developed using SQL Server 2000. We are in the process of testing it on SQL Server 2005. So far i've not done much testing but it has become apparant quickly that quite a lot of queries are performing much slower in SQL Server 2005. I am currently trying to figure out why a particular query is not performing well. One SQL Server 2000 it runs in around 6 seconds. On SQL Server 2005 it takes around 50 seconds. The query is this... SELECT StartBase, StartPoint, PickupPoint, PickupInstructions, SingleJourney, Destination FROM vwJobs WHERE StartDateTime BETWEEN '2006-09-01' AND '2006-09-23' vwJobs is a view in our database. The view includes many UDF's and also has a UNION which combines two seperate table structures ...Show All
Software Development for Windows Vista Insufficient permissions to complete action
I have installed Windows Vista Ultimate, Visual Studio 2005, .NET Framework 3.0, Window Vista SDK, etc. in order to integrates the various help systems, I open IE 7, and navigated to the following link: ms-help://MS.VSCC.v80/dv_vscccommon/local/CollectionManager.htm. The help collection manager is displayed, and after I had selected all my options and clicked the "Update VSCC" button, I get this error: "Insufficient permissions to complete action" It appears that the help collection manager is running VBScript. Can someone please help me on this Thanks in advance. Getting the same error. However, as I'm writing my installer which should include this help in ...Show All
.NET Development Empty String Being Passed
I have a stored procedure that sends cdo mail, and the sp has a parameter that I can pass a semi-colon separated list to that specifies the attachments for the e-mail.....The e-mail has always worked for me, and when I pass it the attachment parameter from query analyzer it works fine, and it has always worked when the procedure is called via .NET. The problem is that recently I have .NET dll that I created that passes a long list of attachments to the sp, I tried the values from query analyzer and they worked but when I pass them from .NET the sp says the parameter value is blank. There are no errors, it just seems to be not accepting such a long parameter string even though the value is shorter than the parameter length (in both the sp a ...Show All
Visual Studio Express Editions need some help
My textbox has a default message (ex. Please enter name here!) and I want that message to dissappear when someone clicks on the textbox. Can anyone please help me on this. Thanks. I am using VB as my language. Given that clicking on the TextBox would give it focus, one quick and easy way is to setup an event handler for the TextBox's GotFocus event to clear the Text property of your TextBox. You should be sure to setup a flag or other way to know if you have cleared it in past to prevent clearing out what a user has typed in. ...Show All
Visual Studio Express Editions canot debug is this VB?
Dear all, I am an upsolute beginner in programming - somebody was so nice to write a part of the program I would like to use. And this part does what I expect when I do run it. However since i have more to accomplish I need to use this start and amment it / edit it. For this purpose i did not only import it into VB express but also tryed to debug it to unserstand each line of code. However i does not work. is this code VB to begin with regards and thanks still Hoosier IsDebug = False Set Maps = CreateObject("MSXML2.DOMDocument") Maps.load("Maps.xml") Set FSO = CreateObject("Scripting.FileSystemObject") CurrentPath = FSO.GetAbsolutePathName(".") & "\" ...Show All
Visual Basic How do I get my IP address into a string?
I'm not talking about local IP. I want it to be the same IP that I get by going to whatismyip.com. Also, what is that kind of IP address called Thanks qwv wrote: "which sort are you trying it in " Sorry, I dont know what you are asking. You had said: qwv wrote: I dont know what to do with the <WebMethod()> _ and context says it is not declared What kind of application did you paste the code I gave above into A Windows Forms app Console App ASP.NET Web Application Web Service ...Show All
