Haw's Q&A profile
Visual Studio Team System How to: Add Data Binding to a Web Test
According to this walkthrough: http://msdn2.microsoft.com/library/ms182546(en-us,vs.80).aspx I should be able take values from a Table Column and use them as values for QueryString Parameters. In my case, I want to use them as Form Post Parameters instead of QueryString but either way, I get the same result: First, When I add the Data Source, the thing says something like 'Invalid Object' when I try to run the test, My data Source is AdventureWorks1.vEmployee and the only way I have been able to get rid of this error is by editing the Data Source in the XML to say "HumanResources.vEmployee" in the <DataSourceTable> tag. Second, ...Show All
Visual Basic How do I navigate to a folder and capture the path?
How do I navigate to a folder and capture the path I've searched the documentation and all options seem to require you know the path in advance. I'd like to have a button on a windows form that allows me to navigate to a folder and capture the path to a string. Is this possible dennist685 edit: is there also a way of capturing the properties of a file by selecting it It's very easy to store a path in a string once you know what the path is. dim a as string = path There are several way to get file and directory attributes. Check out the Fileinfo class and also at times I use the microsoft scr ...Show All
Windows Forms Opening a form from another Form
Hey there, This might be an obvious question but it has me stumped. I have a windows forms called OpeningForm that is the entry point of my application. Which I call using Application::Run(new OpeningForm()); From this form, the user then chooses the direction they will go in the program, the options are different forms. only I can't figure out how to code this& ...Show All
Visual Studio Team System Errors when performing a check-in with Testing Policy
VS.NET/VSTS Version: Beta 2. When performing a check-in against a project that has a check-in policy that includes a Testing policy, I receive the following error: Internal error in Testing check-in policy description Double-clicking this check-in error, shows the following detail: See the end of this message, instead of this dialog box, for details on invoking just-in-time (JIT) debugging. ************** Exception Text ************** System.ArgumentOutOfRangeException: Not a valid Win32 FileTime. at System.DateTime.ToFileTimeUtc() at Microsoft.VisualStudio.QualityTools.CheckinPol ...Show All
Visual C++ ECMA C++/CLI and VC++ 2005
Does the ECMA C++/CLI Standards document ECMA-372 delineate the exact C++/CLI language in VC++ 2005 If not, what are the differences. eldiener wrote: Does the ECMA C++/CLI Standards document ECMA-372 delineate the exact C++/CLI language in VC++ 2005 If not, what are the differences. Considering that it was more or less the same team that architect-ed both, I'd assume the compiler to adhere to the ECMA document - any exceptions would probably be due to a buggy implementation or due to lack of time (in which that will be addressed in Orcas). A VC++ compiler team person will be able to give a more ...Show All
Visual Studio Express Editions from .exe back to code
I'm new in charge of the development of my IT department, I have to take over my predecesor work, ufortunately he deleted all codes and left only executables. My question is, how can I convert back from .exe to VB6 code your help will be realy apreciated. Gabriel R. Parra Softtek Support Team (PS, IT) Softtek Integration Systems, Inc. c/o GE Energy OSM Support Team 24 x 7 Phone (678) 844-7436 Dialcom *421-7436 Group phone: (678) 844-6067 Location: 4200 1-13C-03. Wildwood Pkwy Atlanta, GA, 30339 I have never tried to recover deleted files from a computer, how can I do that It will save me a lot of w ...Show All
Windows Forms PropertyGrid Invalid Property Value
Hi All, In my custom form designer, I have a property grid. I am having a problem while selecting multiple (>1) controls to change their common property. For example, if I select 2 labels at the same time, and change the size of them, I will get an error message saying "Invalid Property Value", and the details show "Specified cast is not valid." The property then got changed. But when I select only one control to change its property, it's fine. I can't debug where the error occurs. Really frustrated. Any idea Thanks a lot. Some properties are not "mergable", but the p ...Show All
Visual Studio Express Editions C# handling multiple events
I see that in Visual Basic 2005, you can create an event handler that handles multiple events. For example I have five buttons and I want all clicked button events to be handled by the same handler: In VB I would have: Private Sub Button_Click(ByVal sender as Object, ByVal e As EventArgs) Handles Button1.Click, Button2.Click, ..., Button5.Click <code> End Sub As of right now I have a ton of "this.button<number>.click += new System.EventHandler(this.Button_Click)" in my initialization code. I'd like to know if there's a C# equivilent in which I would be able to create a new event handler that handles multiple ...Show All
SQL Server Attempted to divide by zero
Hello. I'm having a little bit of a problem and i have no clue what's going on. May be somebody can explain me how the following expression could generate the "Attempted to divide by zero" error. I would really appreciate good advice. Briefly about report itself - one dataset, on single table with three groups this is a thid one. Grouping works just fine, but SUM/SUM in a footer of group #3 gives an error. Datatypes: JTD_Hours is decimal(18,2), JTD_Dollars is money. None of the fields is NULL, all nulls converted to Zeros on dataset level. Dataset created as result of stored procedure. Here it is: =IIf( Sum(Fields!JTD_Hours ...Show All
Windows Forms Button Image and Text with OVERLAY puts text BEHIND image
Maybe I am missing something. I came up with a nice button image graphic, and selected IMAGE and TEXT, and to OVERLAY, and the image COVERED the text. The opposite would in general seem more useful to me. Why would you ever want to have text overlayed that you could never see I tried using background, but of course you can not declare a transparent color, and also it eliminates the image when you mouse over the button. Regardless, is there any way to get my text in front of the image on the button What is the button's FlatStyle set to Is it FlatStyle.System I have seen some other posts about graphics and transparency ...Show All
Visual C# Argh DLL Hell
I thought .net ended this, but I am in DLL Hell, I cannot rebuild my project, I get the following error: ------ Rebuild All started: Project: NWizard.Common, Configuration: Debug .NET ------ Preparing resources... Updating references... Error: The dependency 'NWizard.Common, Version=1.0.1934.35935, Culture=neutral' in project 'NWizard.Common' cannot be copied to the run directory because it would conflict with dependency 'NWizard.Common, Version=1.0.1934.35920, Culture=neutral'. Warning: The dependency 'NWizard.Interop, Version=1.0.1934.35935, Culture=neutral' in project 'NWizard.Common' cannot be copied to the run directory because it wou ...Show All
SQL Server Cant find SMSS
After installing the evaluation edition of MSSQL Enterprise 2005 I can not find SSMS. I know I installed the client tools upon installation. It's not showing up on in the menu, where is the location for the executable file. Is SSMS even distriubted with the evaluation edition If not, is it possible to download it from somwhere... Did you get any warnings while setup cheked your computer configuration Did you specify client tools installation during setup P.S. This question suits http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=95&SiteID=1 forum better. ...Show All
Visual Studio 2008 (Pre-release) listview/gridview binding question
how do I bind, say a datatable to gridview when columns in the datatable are not known at desgin time. I tried to loop through all the columns in the datatable in code and dynamically create the gridview, but it always displays the values from the first row only, for all the items Yes, you would have to build the columns dynamically as you say. It just sounds like your bindings aren't being created correctly. Can you share your logic for building the columns Cheers, Drew ...Show All
Visual Studio Team System Error You are not a valid account when accessing a team project
Hello, We have just set up a Team Foundation Server, it appears that all the users have been setup correctly, but when I try to access a team project from my local machine using my windows login I receive the error "you are not a valid account", so although things look ok they are probably not. I would appreicate any suggestions or assistanct in resolving this issue. Thanks! Catherine Hello Bruce, Thanks for your reply, but after reviewing the details pursuing this as a solve this solution isn't very comforting. According to Buck Hodges, http://blogs.msdn.com/buckh/archive/2005/07/11/437820.aspx , the July CTP ...Show All
SQL Server "sa" account and domain level rights
Hey everyone, I apologize for the newbie question but I'm looking for the correct answer. We have 4 production SQL servers at this time. When we had originally set them up the "sa" account belonged to the domain administrators group. Since we have a SQL admin team and a domain admin team we would like to remove this privilege. Is this something we can and should do Our SQL servers use mixed mode authentication and some databases are configured for Windows authentication. I would appreciate any input from the community. You are mixing some things up: "When we had originally set ...Show All
