George Clingerman's Q&A profile
Visual Studio 2008 (Pre-release) wsfederation
July ctp netfx When I try to fulfil the application (BookStoreServce sample) for me there is the exception : PolicyValidationException and the message The incoming policy could not be validated. For more information, please see the event log. Help me please. Thank. client.app < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < system.serviceModel > < client > < endpoint name = " WSHttpBinding_IBrowseBooks " address = " http://localhost:1856/BookStoreService/Service.svc/browse " binding = " wsHttpBinding " bindingConfiguration = " WSHttpBinding_IBrowseBooks " contract = &quo ...Show All
Visual FoxPro visual foxpro 6.0 software
where can i find visual foxpro 6.0 software download for free You could try ebay. I just checked and there is at least one seller offering the academic version who will ship to India. Dom ...Show All
Visual Studio Tools for Office Create CommandBarButtons on an email using WordEditor.
Hello, When I create a custom toolbar in a new email window (just by clicking on the new email button and having the new inspector event trapped), I am having a problem when I am setting the .Picture property on the button. The code I have is as follows: m_btnCreateInProj = (Office. CommandBarButton )m_commandBar.Controls.Add(Office. MsoControlType .msoControlButton, System.Reflection. Missing .Value, System.Reflection. Missing .Value, System.Reflection. Missing .Value, System.Reflection. Missing .Value); m_btnCreateInProj.Caption = TeamlookRes .TL_Inspector_BTN_CreateInProject; m_btnCreateInProj.Visible = true ; m_btnCreateInProj.Enabled = true ; m_btnCreateInProj.TooltipText = TeamlookRes .TL_Inspector_BTN_CreateInProject_T ...Show All
Visual Studio 2008 (Pre-release) [Animation] Rotate, Scale and Translate transform
Hello, in my animation i draw two ellipses on the screen and animate motion between them. While animating only translation and scale transform everything works fine, but the things get complicated, if I try to add rotation. I thing problem is in the RotateTransform.CenterX(and Y)Property. I am not sure, how to set these properties. The rotation point should be the ellipse center. Meaning, if i set these properties to height/2 and width/2, the rotation should work fine. But only if objects width and height stay the same. In my case, they are changing during animation (scale transform). Is there a simple way to overcome this problem. Thanks. Or better to say, how to enter new center of rotation. LinearDoubl ...Show All
Visual Studio Express Editions Move It
How do I make a button on my form to be always 10 pixels from the left side of the form and 10 up from the bottom, when each time the form loads it resizes to match a picture in a picture box No toolstrip or status strip Tried this Me .ClientSize.Height = pbCrop.Height + 100 Got squiggley line under, Me .ClientSize.Height with the message Expression is a value and therefore cannot be the target of an assignment ...Show All
SQL Server Setting child package inner variables dynamically
Hi, I am trying to execute a DTS on sql server 2000 using the "Execute DTS 2000 Package Task". I can see the inner variables and when I set the values everything works fine. Now I want to pass the values dynamically. How can I achieve this Many thanks Hi Craig, I have tried both but came across a problem with each: Configuration: the inner global variables are not visible Property expression: I don't know the exact syntax to set the inner global variables collection. Thanks ...Show All
.NET Development Messenger Like Functionality
I am attempting to write a solution that consists of a web service (or remoting) running on the internet and a client application running on ramdom users pc's that functions similarly to Microsoft Messenger. Both pieces will be Microsoft technology based. Here is the scenario, the client application will login to the server/web service/remoting app on startup (similar to MSN Messenger) when there are updates on the server I want it to notify the client that there was a change (like when someone sends you a message on messenger, the message pops up showing the message). When the client app logs off the server would not attempt to send messages to that client anymore but would continue to work correctly with the other clients th ...Show All
Windows Forms How to test for supported styles for fonts...
I am writing a program that allows me to draw text on the screen. And I have a combo box that allows the user to select the font. But while I step through the fonts, I get this message: Font 'Palace Script MT' does not support style 'Regular'. Is there a way to tell which styles a given font will support I would like to test for this before I try to create the font. Thanks for any help! Bob Use the FontFamily class to test for font styles: FontFamily ff = new FontFamily(" Palace Script MT "); Console.WriteLine(ff.IsStyleAvailable(FontStyle.Regular)); Thanks, Bryan Phillips - http://bphillips76.spaces.live.com/ ...Show All
SQL Server Line 1: Incorrect Syntax Near.......
Hi, Uses: Sql server 2000, asp.net 1.1; I've the following Stored Procedure: <SQL Code> CREATE PROCEDURE PABX_sp_MyPABX_ShowExtWatch @FromDate DATETIME, @ToDate DATETIME, @PortalID INT = 1, @UserID INT AS SELECT PABX_Ext_Watch.ExtNo As ExtNo, COUNT(*) AS Calls, SUM(PABX_Calls.Rate) AS NetAmt FROM PABX_Ext_Watch INNER JOIN PABX_Calls ON PABX_Ext_Watch.ExtNo = PABX_Calls.ExtNo INNER JOIN PABX_PortalUsers ON PABX_Ext_Watch.PortalUserID = PABX_PortalUsers.PortalUserID AND PABX_Calls.PortalID = PABX_PortalUsers.PortalID WHERE PABX_Calls.sTime >= CONVERT(DATETIME, @FromDate, 102) AND PABX_Calls.eTime <= CONVERT(DATETIME, @ToDate, 102) AND PABX_PortalUsers.uID = @UserID AND PABX_PortalUsers.PortalID = @PortalID GROUP B ...Show All
Visual Studio Express Editions how do I create a file viewer that filters file visibility based on user input?
I want to create my own custom file explorer that will enable the user to view only certain files based on criteria that the user types in a text box. For instance, if the user were to type 'elvis' into the text box, only files with 'elvis' in the file name would be shown. What would be the best way to go about implementing this (i.e., what controls should I use , what methods are available that would help me accomplish this ) thanks for any help :) Use a listbox control to display the files...and use the GetFiles method of the directory class to fetch an array pf files to be displayed in the listbox ...Show All
.NET Development Intro to XPathmania - Extending Visual Studio 2005 to Support XPath Development
Do you write XPath queries Would you like to test your XPath queries against the XML that you are editing using Visual Studio 2005's XML Editor Yeah, so did I, but Visual Studio 2005 didn't offer that ability, so I created (with some help from Chris Lovett and the System.Xml team) the XPathmania project (as part of the open source Mvp.Xml project). If you want to read how to use it, and how to download this open source project, you can find an intro article on my blog: http://donxml.com/allthingstechie/archive/2006/07/07/2792.aspx Don Demsak www.donxml.com hi. it seem great cool. is it a Add-in for IDE or intergration Package .or else coul ...Show All
Visual Studio Team System Is a CAL needed for the machine that runs TFSBuild.exe?
If machine A has a scheduled task that runs TFSBuild.exe to start a build type on machine B that has Team Foundation Build installed does machine A needs to have a CAL for Team Foundation Server I assume that we do because it will connect to the Team Foundation Server. If so, isn't it a little awkward that we need a CAL just to start builds How do you guys schedule builds Do you schedule these on the Application Tier of TFS If you do we would still need a CAL, don't we Or do you schedule these on the build machines If so, this would mean that if you have several build machines that the tasks are spread over these machines. What is the recommended practice I would say on the Application Tier of TFS so we have a ce ...Show All
Visual Basic How to insert data (probably simple question)
I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All
Game Technologies: DirectX, XNA, XACT, etc. UberFX "All-Inclusive" DirectX Shader
Well, after working a lot with shaders (and more importantly getting them to work on my game), I started re-writing one of the shaders that came in the 3ds MAX fx folder (StandardFX.fx), this effect file has a lot of useful functions, but it was lacking in a few others (and some parts of it were faulty) I fixed it up and added a few things. Below is a list of what the shader can do: - Colors for Ambient, Diffuse, Specular - Specular level - Specular by texture - Diffuse by texture + Two detail maps, each separately scalable + Opacity by texture + Self illumination by texture - Normal mapping - *faulty* parallax mapping - Cubemap-based reflections (those designated by a + were added, some of the others were fixed as well) The shader uses Wo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I animate a .dds?
Hi, I did a quick search but can't seem to find anything on how to create an animated .dds file. I have an animated .gif but I get some random error code when I try to compile and it fails. If I'm going about this all wrong and you can't even animate .dds files code somebody point me in the right direction about how to get animations in games. Thanks. You can't. You'll have to save your animation as a set of static images, or alternatively (and better for performance) pack them into one larger image. Then you will have to write some code to draw the correct frame of the animation at a given time (i.e. look at the time and decide which frame to render). ...Show All
