Andrew_M's Q&A profile
.NET Development Only one WebServiceBinding attribute may be specified on type
Hi, i am getting this exception - Only one WebServiceBinding attribute may be specified on type 'servicededcexample.MyProxy.codeservice'. Parameter name: type this is the peice of code I have - [ System . Diagnostics . DebuggerStepThroughAttribute ()][ System . ComponentModel . DesignerCategoryAttribute ( "code" )][ System . Web . Services . WebServiceBindingAttribute ( Name = "codeserviceSoap" , Namespace = http://tempuri.org/ ) ] [ System . Web . Services . WebServiceBindingAttribute ( Name = "codeserviceSoap12" , Namespace = http://tempuri.org/ )] public partial class codeservice : System . Web . Services ...Show All
Visual Studio 2008 (Pre-release) programmatically clicking a button?
is there a blessed way to programmatically simulate a button click so that the button acts as though it's been pressed perhaps sending a mouse click to the button sorry, i should have been clearer. what i want to happen is not just that the button looks pressed, but i want everything to happen as though the user clicked the button. e.g., for a button, it would be a look pressed then look released, then the handlers would fire. i guess i'd have to just get the location of the button and force a mouse down/mouse up. does anyone have code that can do that ...Show All
Visual Studio Team System Windows Groups - TFS does not see new users until restart
If using Windows groups, it appears that there is a bug in VSTS. TFS seems to query the Windows Security system once for a list of users belonging to each group. When you add a new user to the Windows Group, TFS doesn’t get the update – i.e. it’s out of date. The result is that you won’t be authenticated if you added yourself tp a Windows group after TFS has queried the Windows security system. To reproduce : Using a TFS Admin account, perform the following: Create a local Windows Security Group named ProjectAdmins To this group, add a user account e.g. User01 In TFS, under Project Settings, Group Membership, ...Show All
Visual Studio Express Editions Icons from Imagelists?
I've got a question about Icons, i've loaded a few icons into an image list and when I try assign an image to the forms icon property I'm getting a type exception because the imagelist contains 'images', lol. This being the case, how do I convert an 'image' from my imagelist to an icon that the form will accept By the way, this is also true for the NotifyIcon control, that will only accept icons too. Its ironic that they were all icons to begin with. Given that the images within the ImageList are really being stored as Bitmaps we can typecast them to another type whose handle we can get and use for the construction of a new icon ...Show All
SQL Server Process blocking itself since SP4
Hi, Since installing SP4 we seem to encounter issues where a process seems to block itself. Has anyone seen this issue. Is this a feature Thanks, Dave Please refer to the following for more details. This may be the reason The original posting can be found in many places, for example: http://www.sqlmonster.com/Uwe/Forum.aspx/sql-server/23496/SP4-reports-queries-blocking-on-themselves There is also a KB article on this: http://support.microsoft.com/default.aspx scid=KB;EN-US;906344 Thanks ...Show All
Visual Basic Toolstrip disappeared
Hi, I have experienced the same issue a couple of times now on two different PC's and the issue is that my toolstrip buttons simply disappers!! I compile my project and run it and when I stop it and bring the IDE windows designer back up the toolstrip contains nothing but my seperators. This is very frustrating and time consuming, does anyone have any idea what could be happening My project is a standard VB.NET 2005 Windows application with a FileMenustrip, Toolstrip and imagelist. The imagelist is 24X24 and the images are BMP, the text is displayed under the image alligned on the bottom of the button. Thanks! ...Show All
.NET Development Hi Can anyone let me know
Hi Can anyone let me know when the MCAD will have ASP.NET 2.0 as a syllabus e.g for paper no.315 Hello Nikhil, The MCAD certification will not be updated for ASP.NET 2.0. Rather, we have introduced a new family of certifications for developers which start with the .NET Framework 2.0, and will continue to be updated as the technology evolves. The new certifications include a Microsoft Certified Technology Specialist credential and a Microsoft Certified Professional Developer credential, each with specific certifications for Web, Windows, and Distributed application design. Please visit http://www.micro ...Show All
SQL Server How do I consume a DataReader Destination in VB.Net?
Hi All, I am attempting to consume the output of an SSIS data flow task in VB.Net. I want to read the contents of a DataReader Destination into an object and loop through or display the results. Thanks in advance, Andy DouglasL wrote: The BOL topic that you want on this subject is "Loading Data Flow Results into a Client Application." This topic mentions the DtsClient reference as well as the other required steps and a significant gotcha. -Doug Just what I was after!!!! Thanks Doug. I couldn't actually find this in my local BOL but I found it online at http://msdn2. ...Show All
Visual Studio Migration from Clearcase to VSS
Hi, I have to migrate few projects in Clearcase to VSS. Any suggestions on how to do this Thanks, no reply cannot one do a thing as simple as migration from clearcase to VSS! ...Show All
.NET Development How to know when a CAO client has close?
I am using a CAO schema in a remoting scenario. I need to know when a client has close the app. It's a chat, and I need to know when clients close, so I report the session termination to the other clients. Any idea Do u know about another schema wich could work better than CAO I dont like singleton cause i cant have individual info for each client since they share the same object. Thx in advance. you're welcome. . . I highly recommend Ingo Rammer's: Advanced .Net Remoting, second ed. ISBN: 1-59059-417-7 The MicrosoftR .NET Remoting blows chunks. . . avoid at all costs!!! ...Show All
Visual Studio Express Editions Registration Key
I have downloaded and installed Visual Basic 2005 Express Edition, but when I am lloking for the registration key, it is empty, were do I get the key from, Then you are registered and do not need to do anything more. If you go to Help->Register product... it will say that it is already registered. If it does not you can choose to get a new registration code, copy the code from the webpage that you get to and put it into the field for registration code. Then choose complete registration. ...Show All
Visual Studio Express Editions Help with MDI Form.
How can i get like a taskbar sort of thing where you click on the button and it shows that form like in this example http://www.winmxunlimited.net/pic11.png The parent form has an MdiChildren property that is an array of Form references to the child forms. You can use that to access members of the child forms like Text and Focus. It's not really necessary though because the MainMenu and MenuStrip classes can automatically put a list of child forms under a menu item. You simply assign the desired item, which would normally be named "Window", to the MdiListItem property and the rest is done for you. The property name is slig ...Show All
Visual Studio Team System Nested WHEN or conditional operators
I have a field in my work item type definition whose <ALLOWEDVALUES> depend on values from two other fields. I tried a nested <WHEN> and got an error, is there a way to do this Thanks in advance. Nested conditional statements are not supported in the current version of WIT Definition. If your list values work in that way (based on the grouping) you might want to try ALLOWEDVALUES along with PROHIBITEDVALUES. This may not work in all the cases but based on the list items in various conditions you can leverage this Thanks Sagar ...Show All
Windows Forms Finding modified columns of the modified rows
Hi, I have various columns in a datatable bound to different columns of a datagrid. I am trying to get the changes done in the rows of datatable though datagrid and not only changes but also the values before the changes were being made. //dt is the orignial datatable bound to the datagrid DataTable dtChangedTable; dtChangedTable = dt.GetChanges(DataRowState.Modified); In dtChangedTable I get all the rows that were being modified but I also want to find out which columns were modified. To do that I want to compare the changed rows with their original version, that way I will be able to find out which columns were changed. How can ...Show All
Visual C# VS2005 Image Library Gone!
Hey fellas, I've got the beta2 Team system thing, - nearly had a heart attack watching the MSDN.TV thing regarding the image library.. but my install didn't include it for some reason, and ideas or suggestions why - it's not somet silly like an extra download from somehwere on msdn is it Thanks, Did a compelte install, must have missed it - will try again when i got a spare bit of time to reinstall - thanks ...Show All
