Software Development Network Logo
  • IE Development
  • Windows Forms
  • Windows Vista
  • VS Team System
  • SharePoint Products
  • .NET Development
  • Visual C++
  • Visual FoxPro
  • Visual Studio
  • SQL Server
  • Smart Devicet
  • Game Technologies
  • Microsoft ISV
  • Audio and Video
  • Visual C#

Software Development Network >> Matt Clements's Q&A profile

Matt Clements

Member List

AndersBank
puhonien33
shehz
monchhib
RonanH
Hossam Abdel Wahab
Michael_Giagnocavo
sfmd
bluemoon2181
Breckish
DougMP
i.i
Martimus
GMS0012
NewbieDude
Seb.Net
ron nash
Tom_Liu
top117
CraigT
Only Title

Matt Clements's Q&A profile

  • .NET Development XML Validation Bug .NET 2.0

    Hello, In my recent experience with .NET 2.0 i faced a bug in of xml validation in .NET 2.0. I created a xsd that contains an simple element (of type xsd:int ) in one of its complex type, I passed few invalid alphabets and try to validate it, and it gets validate w/o any problem, Although the same xml file I passed to XmlSpy 2004, it threw validation exception. I know there in no problem in my code because the same thing worked for xsd:datetime type, when i passed invalid characters it threw exception (event ValidationEventHandler raised). here is my code string schemaloc = ConfigurationManager.AppSettings["SchemaAgentRegistration"]; string targetNS = ConfigurationManager.AppSettings["AgentTargetNS"]; agent.getDO ...Show All

  • Visual C++ Changing Static properties.. Is this impossible?

    Hi there.. I have been trying for days now to change the property of visible on a static text control in my application to false during runtime. I have researched this and researched this, and even posted on Expert Exchange, but no one seems to know how to do this.... I'll post the answer I was given on EE.com, and hopefully someone here will know more about it. I have only been programming in C++ for a week now, so forgive me if this is a stupid question.... I have several static text controls setup in my application (DirectX pong game) to report various stats that assisted me in creating the game and diagnosing troubles that may arise setup in a console.rc resource in my project. These are displayed in a control panel beneath the ...Show All

  • Windows Networking Development Problem with QOSAddSocketToFlow

    I have a problem with Vista OS build 5536 and Vista windows SDK 6.0.5472.2.1.WindowsSDK_Vista_idw.DVD.Rel.img With such version, the QOSAddSocketToFlow returns an error code ERROR_NOT_FOUND, which says that Invalid FlowID specified. Howeve, I set the parameter Flowid with 0 as the API domument described. Thanks for any help... Our ring0 code is trying to set the TOS bits for DiffServ Control Points (DSCP) for media such as VOIP and video. Our Win2k and XP code uses a deprecated TDI call to SetInformationEx which has no effect on Vista (but just as the documentation says, it doesn't fail either which is good). thanks! mark ...Show All

  • Visual Studio 2008 (Pre-release) Configuring Elementary Security

    I'm trying to just get a service working from outside a domain and am getting nothing but headaches trying to get it going. Here's my configuration for now: < bindings >    < wsDualHttpBinding >       < binding name = " wsDualHttpBinding " >          < security mode = " Message "/ >    </ wsDualHttpBinding > </ bindings > This works locally, but I get an error on the client saying it couldn't work out the SOAP security. As I understand it, WCF uses Windows credentials by default for wsDualHttpBinding and this would make sense because it works locally, but not on the other computer. To get around this, I tri ...Show All

  • Visual C# Restrict the size of a string

    This is more then likley going to be an easy fix, but at the moment I can not think straight. What I am tring to do is restrict the size of a string. I am in the process of migrating some data from one sql system to another and need to truncate some text in the process. I need to convert a text field to a varchar(7989), to do this I need to make sure that the data from the text filed is striped so that only the first 7989n characters are returned. I have a data reader that I am going through and am adding it to a genieric collection that I am then going to process and re insert into the new system... all I need is a way to restrict the text returned from the data reader... all the rest is fine. not at all :-) I take this as a ...Show All

  • SQL Server How to make a hierarchy in a document map?

    How to make a hierarchy in a document map In the report designer, I have two levels of grouping: First Level: Country, Second level: City. I have no problem to create a document map containing both grouping. However, the city and country are listed in a sequential order in the document map. What else should I do and how, to make them a hierarchy that looks like a tree (file folder) structure Thanks. Well, go through the connect.microsoft.com site and search for this suggestion., If not listed yet (big doubt) file a new one. Jens K. Suessmeyer --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Timeouts on an asynchronous request

    It seems that an ADO asynchronous command does not respect the commandtimeout. We are porting an older system into the .NET world and I am concerned that there could be problems in some of the modules that could cause data access problems. I would like to be able to cancel a running asynchronous request but I have seen Microsoft infomation that indicates the cancel method does not work on asynchronous connections. What is the recommended procedure for timing out a long running asynchronous query Thanks for any response. Actually, the Cancel() method *will* work for both synchronous and asynchronous connections. In early beta versions of .NET 2.0 we didn't support Cancel over async connections, so may ...Show All

  • Windows Forms monthcalendar fires on each monthly scroll

    I'm trying to allow the user to pick several dates from the monthcalendar, and have these dates show in a listbox as each is picked. Clicking a button after all of the picked dates have been collected will then move the listbox dates to a column in datagridview. My problem is that the code allows duplicate picks into the listbox, and also fires new [& double duplicate] dates into the listbox during the scroll. I want to disallow pick of any/all duplicate dates. I've solved the duplicate date pick with: If ListBox4.Items.Contains( CStr (e.Start.Date())) Then 'leaving this line blank causes "nothing" to occur, and removes duplicates...tho still fires on monthly scroll Else ListBox4.Items.Add( CStr (e.Start.Dat ...Show All

  • Visual Studio Tools for Office Keyboard shortcuts in ToolStripMenuItem in Excel Action Pane

    My question is about keyboard shortcuts failing to work as expected in an Action Pane. I have a document level solution for Excel 2003 using VSTO (C#). In my ActionPane, I have a System.Windows.Forms.MenuStrip that contains several ToolStripMenuItems which have keyboard shortcut attributes defined. For example, there is a "File" menuitem that has a child menuitem "Publish" to which I've assigned "Ctrl+Shift+P" as the shortcut. When I run my solution, I observe that Ctrl+Shift+P does not fire the Click handler for the Publish menu item as I expect. If I manually click on the File menu item to drop it down and expose Publish, then press Ctrl+Shift+P, the Click handler is fired. So I know that the shortcut ...Show All

  • Visual Studio Team System Limit Assigned To values based on user?

    I'd like to have different values for the "Assigned to" field based on the user. In other words, testers will only be allowed to assign bugs to a tech lead, but developers and project managers will be able to assign to any developer. I have these groups set up in Team, and can use them in cases like "<READONLY for="MyCompany\TESTERS" />", but can't figure out how to change the values based on who's logged on. Is it even possible If not, is there a way to default to a certain user or value and not allow some groups to change it Re: In your first example, it looks like it would allow only those people in the DevAssigners group to assign bugs to people in the DefectAs ...Show All

  • SQL Server SQL Server does not exist or access denied - A real doozzy and not your standard problem!!

    Hi , I am running SQL Server Desktop Engine on Windows XP. I am developing in .NET framework v1.1. I intend to u/g to the express edition 2005 however should this old version of the engine be OK (particularly considering that Windows updates are being often run) Main question. For ages the database has worked well then one day recently (just after running a Windows update) the following error occurred SQL Server does not exist or access denied . I followed my code and this is the result of an exception being thrown in my code due to one of two obvious possibilities. Everything looks fine as far as SQL Server DEsktop Engine (including services and TCP/IP protocols. Yes I have check cliconf.exe and svrnetcn.exe !!) I s ...Show All

  • SQL Server Articles on foreach loop container over dataflow task?

    Hi everyone, do you know any articles on foreach loop container that loops over a dataflow task...pls tell me.... thanks in advance, Praveen Dayanithi wrote: Hi everyone, do you know any articles on foreach loop container that loops over a dataflow task...pls tell me.... thanks in advance, I presume that you mean a ForEach loop that contains a data flow. Enumerating files in a Foreach loop ( http://blogs.conchango.com/jamiethomson/archive/2005/05/30/1489.aspx ) -Jamie ...Show All

  • Visual C++ WaitForMultipleObjects doesn't work

    Hello Everyone! Function WaitForMultipleObjects Requirements: Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95. But this function doesn't work in WinNT. Why Thanks in advance Vladimir   Vladimir_V wrote: //WaitForMultipleObjects returns nothing in WinNT That is not possible. If it returns, then it returns something. If it returns zero, then doesn't that mean that hGlobalStop is signaled ...Show All

  • .NET Development Authorization failure intercepting

    Greetings, Is there a simple way to handle an authorization failure If I have a url configured to allow only certain roles access. How do I go about intercepting the access failure I found an interesting article about HeartBeatMonitoring but I dont want to override another class just to provide a simple redirect. Is there an event that is raised that I can intercept similiar to the global.asax events < location path = " Restrict.aspx " > < system.web > < authorization > < allow roles = "Admin " /> < deny users = " * " /> </ authorization > </ system.web > </ location >   Thanks! ...Show All

  • .NET Development problem using app.config codeBase element with private assemblies

    I hope someone has some suggestions to my problem because I seem to have gone through all options. My problem is with an app.config codeBase and assemblyIdentity section. According to the latest MSDN docs, you can use the assemblyIdentity and codeBase elements to locate a PRIVATE assembly outside the root application directory. I have been able to make this work only by strongly naming the assembly and providing a fully-qualified href along with version on the codeBase element. I would like to do the following: <assemblyIdentity name="WCFServiceLibrary" /> <codeBase href=" file:///../WCFServiceLibrary.dll " /> The MSDN docs say I should be able to do the above. Only the name attribute of the ass ...Show All

©2008 Software Development Network