Lee18's Q&A profile
Visual Studio 2008 (Pre-release) UserNamePassword authentication in STS in Federation
Hello, I'm trying to build solution consisting of following elements: WebSite -> ASP.NET WebSite which is client to MainService MainService -> Main service which uses wsFederationBinding to redirect users to SecurityTokenService for authentication/and to receive claimset SecurityTokenService -> wsHttpBinding - Authenticates users by username + password against database and creates SecurityToken for use in MainService F ...Show All
SQL Server I have an error while connecting to sql server 2005
When I try to connect to server in SQL Server Management Studio TITLE: Connect to Server ------------------------------ Cannot connect to OMER. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provi ...Show All
Audio and Video Development Missing WMCreateWriter in wmvcore.lib
wmvcore.lib shipped with DirectShow (included in the latest PSDK) doesn't list many functions exported by wmvcore.dll (e.g. WMCreateWriter). Does anybody know the reason for this and where I can obtain wmvcore.lib that matches wmvcore.dll I have code that was working and now it appears that there is no way to compile/link this code. Can you (i.e. MS) just post the import library for now, so that people like mys ...Show All
Windows Forms Oh, the magic that the Tab key does (focus)
[Using VS2005 Beta2...] The FocusRectangle is a very fickle thing. Create a form with two buttons on it. Create a KeyPress event for the form that cycles focus between the two buttons (turn on KeyPreview for the form): private void Form1_KeyPress( object sender, KeyPressEventArgs e) { if (button1.Focused) { button2.Focus(); } else { button1.Focus(); ...Show All
Windows Forms ToolStrips & Mirroring
Hi WindowsForms use Gdi+ For drawing. But Gdi+ dosn't support mirroring like Gdi32 when window has WS_EX_LAYOUTRTL extended style. Now if ToolStrips draws with Gdi+ we can not use theme with WS_EX_LAYOUTRTL extended style. Toolstrips support RTL without&nb ...Show All
Visual Basic How to access Filenames in a folder using VB Express
Under VB6, I used the File List Count control For X = 0 to File1.ListCount-1 FileName = File1.List(X) OpenFile ProcessFile CloseFile Next X How do you access individual files i ...Show All
Visual FoxPro VFP
In VFP 8.0 I have a table build and need to write a prg that well look in a fold and what ever files it sees it import or append in the existing table. The files that it will import or append will always be in the same format and have the same structure. I'm new at this. Any help would be great. Thanks, Brian Something like: use myTable lcFolder = getdir() for ix = 1 to adir(aFiles, addbs(m.lcFolder)+'*.txt') append from (addbs(m ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Font effects?
Is there any way to do simple text effects other than color / style with D3D Font class Something like a glow effect or drop shadow, obviously simpler than how photoshop would do it, but that basic idea. Not with the font class directly. You will have to render them yourself. For drop shadows render a black version of the text behind and slightly offset from the normal text For glows render a slightly big ...Show All
Visual Studio VS.NET 2005 Beta 2 Team Suite Edition fails half way through.
I finished downloading the full Vs.net 2005 Beta2 team system files, extracted them and then attempted to install them on my Development Laptop. It turns out, I just re-built my laptop with a clean installation of Windows XP SP2, and MS OFFiCE 2003. There are a few more apps, but the bottom line is that the laptop is clean. I ran the Installation, and it installed the .NET framework 2.0, and then the MSXML 6.0 Parser. It got to the VS.NET i ...Show All
Visual C++ ifstream seekg() problem
Hi all, I'm using an ifstream to read in a file. After reading in the file once, I want to "rewind" to the beginning of the file and read it in a second time. I've tried using the seekg(0, ios::beg) method but it doesn't appear to be working. I've also closed the ifstream (close() method) and re-opened it. It appears that it doesn't reset the eof() flag inside the ifstream and prevents me from reading in any data from the ...Show All
Visual Studio 2008 (Pre-release) Do you subclass ItemsControl? Keep reading.
ItemsControl has a protected virtual GetContainerForItemOverride that takes an object parameter. In all in-box WPF controls, this parameter is ignored and a cookie-cutter container is returned. While it’s currently possible for control authors to change the container they return depending on the object provided, we’ve never seen this done. We have an opportunity to optimize the behavior of ItemsControl under a few circumstances, but onl ...Show All
Windows Forms Using SendKeys causes my application to error during exit.
I have a two form applicaiton. The popup form uses the send keys to populate a nested web page. After I close the popup window, everything is fine. If I proceed to close down the main window, I get the following error.... Applicati ...Show All
Windows Forms Input from a Barcode Scanner
I have project that requires input from a barcode scanner. Getting the plain text version of the barcode into the field that has the focus is not a problem. However, I would like to call a routine once the field has been updated with the b ...Show All
SQL Server Microsoft SQL Server 2005 Enterprise Evaluation Edition
Hi! I download Microsoft SQL Server 2005 Enterprise Evaluation Edition ( Self-extracting executables: X86 Executable ) from Microsoft site but when I try to unpack it the unpack program says it is corrupt. I have downloaded this file more than 5 times and still the same problem occurs. Is it only me or other has same problem Any suggestsion Regards Hi, Even Iam getting the same error. Did u find any ...Show All
SQL Server Newbie Design Question
I am a newbie in BI and have the following design question: I have a scenario where I have a Sales fact table linked to a customer dimension. The customers some customers attributes might change and I would like to keep history of those attributes, such as Marital Status. One way is to store the Marital Status as attribute in the customer dimension and enter multiple records for each customer whenever the marital status changes, but I should ...Show All
