Mike Dimmick's Q&A profile
Visual Studio Team System "HTTP 401 : Unauthorized" for web services in Beta 2
In Beta 2 when I use the application designer to connect up a web application or a web service (a) as a client of another web service (b), then implement the applications, I cannot access the web service (b) via web service proxies in the clients without getting the error: HTTP 401 : Unauthorized This did not happen with the previous betas and CTPs, and I can test the web service (b) fine using the auto-generated HTML form. Anyo ...Show All
Windows Forms Position of context menu
Hi, How can I get the position of context menu Thank's Alexei Normally, the context menu will be shown at the center of the control when the keyboard is used to invoke the context menu of a control (Shift+F10, for example). You can customize the location as follows. Override WndProc in the grid and check if the Message.Msg is WM_CONTEXTMENU (0x007b) If so, check if the Message.LParam is -1, which means this was due to a keyboa ...Show All
Windows Forms Registry Application
I need to create a simple application that would create a new registry key and a new value. That is all this application is going to do. Can anyone point me in the right direction I finally got it. You can see how i ...Show All
Windows Forms Can't add new animals ..
Anyone else having problems when attempting to add a new creature I get a message that states that there is a problem with the terrarium server, please try again later. Well ... it's been three days and no luck. The se ...Show All
Windows Forms Binding Object-Graph to DataGrid
I am binding my DataGrid to an ArrayList of business objects, by setting the MappingName property of the TableStyle I am using to "ArrayList". For the Columns I set the MappingNames to properties in my objects (Orders). I can set columns to map to OrderDate, Price, Quantity, etc. Now I want one of the columns to map to a property of another object (Product) that is exposed as a property of the Order, i.e. Product.Name.&nb ...Show All
.NET Development why we hide away the "lock" and give away a "key"?
My application uses a text file that i would like to encrypt. I know .NET encryption classes and routines, but i am not sure how i am going to secure a "Key", that generates the cipher Most security experts suggest to keep "Key" in more secure location,I wonder where is it What exactly is secure location where is it we hide the "lock" and give away a "key" The topic ...Show All
.NET Development Data Access problem
My sql server enterprise manager is working fine with this database(HCVstat) In my VS.net server explorer can view this database(HCVstat) and query. When I run my C# web application I got error message"sql server does not exist or access denied", but this project work on other one machine. And vb.net web application works fine to other database on my machine. < add key ="ConnStr" value ="server=EXEC ...Show All
.NET Development Data Adapter Updates not happening
I have an Infragistics grid bound to a BindingSource, that in turn is bound to a strongly typed dataset. I want to add a row to the grid, then when the user click the OK button, save the new row back to the SQL Express database I am using. In the OK button, I have this code: this .productFeatureBrowserDataSet.Versions.AcceptChanges(); this .versionsTableAdapter.Update( this .productFeatureBrowserDataSet. ...Show All
SQL Server help with a max length table constraint
Table File_Paths (physical system file paths) The columns represent parts of the path. How can I set up a constraint that the total concatenated length of all the columns within a row is less than 260 chars Thanks ALTER TABLE SomeTable WITH NOCHECK ADD CONSTRAINT SomeCheck CHECK (LEN(Col1+ co2 + col 3) <= 260) HTH, Jens Suessmeyer. ...Show All
Visual Studio Team System Customizing work items - Remaining/Completed work
Hi, I am going to try to customize the Task work item in the MSF for Agile process template. My plan was to change the 'Remaining work' and 'Completed work' into not having NumberFormat="WholeNumbers", since we would like to have half hours and quarters in the field. My question is: will I shoot myself in the foot Is the database defined to have a Int32 in that field Is there any other problem that may arise Regards, Thomas L ...Show All
Visual Studio Team System ApplicationException Obsolescence
I wonder why this suggestion hasn't gotten more attention... http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=bb324b70-b897-48af-8d24-c8809ca86daf -Ryan Ryan, I just had a look internally and the bug itself has been closed as Won't Fix (for some reason it hasn't propagated to the Ladybug database). The reason that it can't be marked obsolete is for two reasons: Existing ...Show All
Windows Forms VB.Net Encryption
Hi Guys, Could someone please give me an example on how to use encryption, ie : save a string to a dataset and read it back out of the dataset Any help much appreciated. Kind Regards Take a look at the QuickStarts under &quo ...Show All
Visual Studio Logos in Report Header
Hi Everyone, I'm doing a project with local reports. In my reports the logo comes from the database thus I've to use a 'Database' image.My report logo is inside a report header alone with other info. The problem I have is that I cant refer to Database fields inside the report header. I got round this by having the other report header fields as Parameters. I also tried to cross-refer the image from an hidden image box located inside the report b ...Show All
Windows Forms Transparent button no longer work
I have a great app that I really like that has transparent buttons on a transparent form background, so all you see is the button boder and text over you desktop. On .Net 1.1 this worked great. Now that I have upgraded the app to C# 2005 and .NET 2.0 I noticed that many times when I hit a button it does nothing! The button only gets the click event if the exact tip of the cursor is exactly on a visible pixel, not just inside the button any ...Show All
Windows Forms bind 2 string arrays, first as .displaymember 2nd as .valuemember
Hi, I have two two arrays, one of string type and second of System.Guid type. How can I bind array of strngs as display member of a listbox and array of System.Guid as Value member of a listbox Thanks, I have another field in&n ...Show All
