BrettDerry's Q&A profile
SQL Server The Same parameter 3 times??
I have 3 list/tables/columns..which ever is the easiest. I want to have a parameter for the user to pick YEAR1 YEAR2 YEAR3 from drop down lists. The only problem is when i make the first parameter, it doesnt let me make another one, since its basically the same as the first, When i tried to make a new one and change the name, it doesnt work. I basically want to have the same parameter 3 times, for 3 different years. Which will show the measure for those three different years based on what the user choses from the drop down. Year 1 Year 2 Year3 1 1 1 1 3 2 2 3 2 3 2 2 4 5 ...Show All
Visual Studio Team System Project Creation Wizard - error uploading documents to SharePoint
Background: I am getting the below error when creating a new Team Project. I have upgraded from RC to RTM. My user account and tfssetup are members of the local administrators group (and therefore are members of the SharePoint Administrators Group according to the doco and should have enough permissions). A search on the web and msdn forums didn’t yield any useful results. I did find the other thread with same error but that fix didn't work for me. Problem: When creating a new team project I get the following error: TF30177: Team Project Creation Failed. Error The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server ...Show All
Windows Forms How to retrieve selected folders on OpenFileDialog ?
Hi, I can retrieve selected files with .FileNames but how do I retrieve selected directories Is this possible or not Thanks ! You are probably looking for the functionality of the FolderBrowserDialog. It is designed to browse and retrieve folder paths. If you have Visual Studio 2005 look for it in the Dialog controls section of the Toolbox. ...Show All
Windows Forms DataGridView comboBox filter with two DataTables
Hi, I am quite new to VB .Net and am having diffuculties filtering items for a comboBox in a DataGridView. I have searched many forums and only found half solutions, but all deal with DataSourceBinding through the Designer mode. Would anyone know how I can populate my DataGridView, through code with one DataTable1, and populate a comboBox with related data from DataTable2 by linking DataTable2 with an ID that exist in DataTable1 Both DataTables were populated with a SQL 2000 procedures. I did not add columns to the designer mode, simply added the DataGridView to the form and set a few properties, like "AllowUserToAddRows = False". Columns create when I assign the DataTable to the DataGridView.DataSource. Steps I took. _dt1 columns: tm ...Show All
Visual Studio Express Editions My datagridview control does not paint on resize.
Background: I have a form with several panels and other controls, including a datagridview. Each control is anchored specifically to its position relative to the form so that when the form is resized the controls adjust properly. My datagridview control is anchored on all sides so that it becomes larger by both width and height when the form is resized. However, when I resize the form the datagridview retains its previous image with the exception of its border. In fact, the datagridview retains whatever screen contents were previously shown that fall within the newly sized border so that in many cases the other panels and their contents look to be partly duplicated on the form. When I apply a new query to the datagridview, it actua ...Show All
Visual C# Inheritance Bugs in Windows Forms
I'm using the Visual Studio 2005 to do WinForms development and have been repeatedly running into problems with inheritance. What happens is that sometimes when I override methods in a base class the override isn't called - but the base class method is called instead. I've verified repeatedly that the code is correct, the method signatures match, and the override should be called (polymorphically) rather than the base class method - and yet it calls the base method instead. I haven't seen in in none Form-based classes so far, but I've seen it several times in specialized Forms that I've created. In each case, the problem is the same. The base class method is invoked rather than the override method. It appears to be a bug in the compiler. N ...Show All
Visual Studio Express Editions XNA Game Studio Express
What are the hardware requirements for the XNA Game Developer, i.e, video card, CPU, etc You can find the requirements right on the download page: http://www.microsoft.com/downloads/details.aspx FamilyId=21E979E3-B8AE-4EA6-8E65-393EA7684D6C&displaylang=en More specifically a DirectX 9.0 graphics card that supports Shader Model 2.0. ...Show All
Windows Forms How to create a multi-selection list view for a touch screen?
I am currently developing an application meant to run on a terminal with a touch screen. I have a list view and I would like to modify it so that every time the user touches an item it becomes selected. If the user touches the selected item again, the item is unselected. It should also support ‘multi-selection’ meaning that if the user touches items 5, 7, 9 and 10 they should all be selected and then if the user touches item 7 only 5, 9 and 10 should remain selected. How can I modify the list view to achieve that Thanks, Dom. It worked fine ... thanks a lot. If it can help someone else there is an enum available there: http://www.codeproject.com/csharp/cswindowsmessages.a ...Show All
Software Development for Windows Vista Send Mail Activity
Hello, Did someone implement a custom activity for sending e-mails and want to share it thanks in advance. http://wf.netfx3.com/files/folders/communications/default.aspx ...Show All
Visual Studio 2008 (Pre-release) SOAP authentication failed
Hi, I have browsed this forum, and I found similar question, but none of the solutions have worked for me, so maybe I am doing something silly. However, let me try to describe what I am doing (I am fairly new to wcf programming). I managed to reproduce this same problem with the selfhost application (an example on the SDK, with the ICalculator). The problem manifests itself only when the client and the service aren't running in the same domain. If they are in the same domain (on different machines), everything runs fine. If I try to run the service inside a specific domain, and the client outside (say, just logged in locally into the machine), I get the following: An unhandled exception of type 'System.ServiceModel.Security.Sec ...Show All
Visual Studio Express Editions Separating code into other files in the project
I have some structures and constants that I want to put in another file besides form1 so there is less clutter. whats the best way to do this so that I can still use the same syntax in form1 to reference these functions and constants, but have them out of the way I also have a namespace that someone made and let me use, so I added it as a .db file. and the namespace is called blah1.blah2.blah3, but If I type 'import blah1.blah2.blah3', it doens't do anything, yet I can still do blah1.blah2.blah3.method and it works, so I know its kinda working. any ideas I usually create a module called Common and declare it Public Public Module Common Public Structures and Enums Here End Module ...Show All
Visual Studio Team System Multiple Concurrent Builds
I've noticed the error: TF42045: A build for the team project: ProductionSystem is in progress on build machine. On each build machine, only one build can be active for each team project. Use a different build machine or try again later. I don't like the idea of my users receiving this message. Is there software that will allow me to support concurrent builds on one machine Is there software that will allow user requests to enter a queue as opposed to simply rejecting users If I decide to have multiple build servers, is there software that will send user requests to the available server so that the user does not have to try one server at a time to see which one is free Hi - these are go ...Show All
Community Chat Vista and the Developer Community
I wanted to have a serious discussion on Vista and the developer community because I don't feel that it supports the developer community as well as XP does. I do want to acknowledge that Vista's infrastructure seems to be really robust and Vista has a very solid feel to it but there are things that are just plain missing from Vista or another way of putting it, Vista has regressed with GUI. For me the most used frequently used utlity on vista is Windows Explorer. Nominally, I'll have as many as four copies running. Where is the UP button Why has it disappeared Navigation is much less facilitated. As a result, I find myself using DIR in the command window much more than I ever did in XP. That's regression. It would have ...Show All
Visual Studio Express Editions RTF Problems
hi everybody i have just 2Quick questions to ask: 3)when I open any rich text document in my rich text box the formatting is lost and all I get is a ton of font code 4)in my rich text box if I highlight any text my application crashes, in VB, before I compile it I get a warning saying that stream reader and stream writer are being used in code before they are declared, but looking at the code that looks OK . My Code: Imports Microsoft.VisualBasic.FileIO Public Class MainWindow Private Sub OpenToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click Dim sr As IO.StreamReader 'streamreader is used to read text Dim FileName A ...Show All
Windows Forms Getting Button size to match the standard?
The Windows XP Visual Guidelines say that buttons should be 75x23 pixels. If you drag a button onto a Form in designer, this is the default size. However, it doesn't look right. It is definitely too small. Has anyone come across a good answer to this problem Is there a bug in VS Thanks. I don't understand what is the problem. When you drag a button from toolbox, size is 75x23. It is not small, that is normal size. It will be small if you use 1600x1200 monitor resolution, but if you use 640x480 it will be really big. Nobody stops you to change buttons size. There is no such thing like a standard of button size. I have seen really small buttons, but also seen really big ones. ...Show All
