MEder's Q&A profile
Visual Studio Team System Uploading a file during a webtest
I'm trying to create a webtest that at some points uploads various types of files (image, audio....). When I replay the webtest, at the point where its to upload the file I get an error.... Request failed: Could not find file '............\My Documents\Visual Studio 2005\Projects\SQL2005 Load Test\TestResults\ directory \Out\testimage.jpg' But the file testimage.jpg does not exist in that directory cause the directory is created at the time of the webtest being run. Is there something that I'm missing here that's telling the webtest to look for the files in the newly created directory rather than the original directory tha ...Show All
Visual Studio Team System How to add some perticular tests in to metadata file
Hi, Nice to meet you all through this forum.. I would like to add some of my unit tests to metadata file which was created with the solution.I am trying to add 5 tests out of 370.But I could'nt make this happen. please help me. Scenario: 1.Opened Test Manager window in the solution and select 5 tests and added under list of tests . 2.Selected that list and I click on load metadat file. 3.Executed metadata file in the command console with "mstest /testmetadata:Project.vsmdi" 4.It was executed all 370 tests with my selected 5 tests. 5.How can I reuse only these 5 tests. Thanks ...Show All
Visual Studio 2008 (Pre-release) WPF Custom Control project related issue
Hey all, Using the Feb CTP, if you generate a Custom Control project, it looks like it's not easy to use it from an application. Or perhaps I did something wrong. I created a simple UserControl derived control (the default) and added an Ellipse into it. Compiled it. Then I created a WPF application, added a reference to this control library. But now, there's no way I can use it from the XAML for the main window. It won't recognize the control at all - not even the fully qualified name. I also tried to add it directly to the toolbox and got an error message that said that there were no controls in that assembly that could be added to ...Show All
Visual C# Open a MSAccess Report that uses a parameterized query using C#...
Let's say I have a table in MSAccess called Person: Person { PersonID AutoNumber, FirstName Text, LastName Text, Age Number(Long Int) } Create a new query with parameters called PersonQuery: Select FirstName, LastName, Age From Person Where Age >= [@beginAge] and Age <= [@endAge] Create a simple Report called PersonReport using PersonQuery as it's RecordSource. Here is the C# code I'm trying to use to open the report, but I always get prompted for the Parameters from access. Access.Application accessApp = new Access.Application(); accessApp.OpenCurrentDatabase("Database.mdb",faslse,null); accessApp.Cu ...Show All
Visual Studio Express Editions vc++ Express side by side install with vs2005?
I'm considering upgrading to vs2005 and have a couple of questions. I'm asking here because, after reading the various pages on msdn on the subject and searching these boards and the web, I have not found a satisfactory answer to my questions. Firstly, I would like to know if there is a vs2005 pro academic version or if the standard version of vs2005 is the only academic version that will be made available. Secondly and perhaps more importantly, I'd like to know if it's possible to keep the vc++ express edition I already have installed as I'd like to keep it for comparison. If it's not possible to have both vs2005 and vc++ express installed ...Show All
SQL Server Bug in Flat File Connection Object: Risky!!!!
I was wondering if any others on this list are getting a bug with the Flat File connection object --where in both csv (coma delimited) or flat files (tab delimited) where strange characters(like two bold vertical lines) are appearing in the file viewer while setting up a connection forcing the CRLF to end in the wrong place. They look like two bold vertical lines Im testing the same files with both the old DTS from SQL Server 2000 and getting no issues which tells me there is a bug in SSIS. Strange thing the bug does not happen with every file I receive, only a few. I’m wondering if SSIS Flat File Connection objec ...Show All
Software Development for Windows Vista What kind of Host Application to use?
hi I didn't really get behind this whole thing of persistence, and host application. Therefore I have following question: We are developing a asp.net web application, where order can be made. After defining the order, the workflow should be triggered, and is used to control certain sla (service level agreement) times, in which certain actions should take place. For example: After 8 hours the order is checked if it was given clearance, or after another amount of time the order is checked if it achieved a certain status. My question: What kind of host application for the workflow should I use I know this is quite a common a ...Show All
Visual C++ Problem using argv in main
Hello there, I am pretty new at this C/C++ I am writing a console program, and from what I read here, and around the internet is that the argv array in main() is supposed to hold any arguments entered on the command line... argv[0] is the name of the program, and argv[1] to argc is the arguments. So if I were to write a program that opened a file in binary mode. To run it I would type executable and then the file I want to open and operate on. example: C:// binaryopen binaryfile.bin binaryopen is the name of the program, argv[0] binaryfile.bin is the file being operated on, argv[1] at least that's what the internet ...Show All
Visual Basic Test
This is a test. Please ignore it! ...Show All
Visual Studio ReportViewer Flicker
Hi, Is there a way to prevent my ReportViewer Control to flicker when I call ReportRefresh I have tried using DoubleBuffer on the form as well as SuspendLayout/ResumeLayout but it doesn't seam to have any effect. // Johan Bellander The flicker is the control switching back to the "report is being generated" message. Presumably you have a fast executing report. Are you calling ResumeLayout immediately after calling ReportRefresh ReportRefresh is an asynchronous operation - it will return immediately even if it takes a long time to process the report. I haven't tried this, but you might consider not callin ...Show All
Windows Forms + Exception occurred during store operation
Hi folks, Im trying to deploy a clickonce application using mage.exe to a shared folder over a network. When I deploy a simple application that contains only a form to the shared folder using a wizard, the client pcs can install the application right from the folder. When I deploy another simple application using mage.exe and put it on the shared folder, the clients cant install it from there. I get the following error: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://......./my.application resulted in exception. Following failure messages were ...Show All
Visual C# adding KEYS to App.Config in VS 2005
Just got VS2005, and I am trying to use the included methods for adding keys to the app.config file. Here is my code: System.Configuration. Configuration config = ConfigurationManager .OpenExeConfiguration( ConfigurationUserLevel .None); AppSection.Settings.Add ( new KeyValueConfigurationElement ( "NEW" , "Something" )); config.AppSettings.Settings.Add( new KeyValueConfigurationElement ( ""NEW" , "Something" )); config.Save(); it runs, but does nothing. the Keys are not added. No errors of any sort. Any ideas I sure hope what ...Show All
Visual Studio Team System Can not unsuscribe with BisSubcribe.exe
I have some wrong subscriptions. I need to delete it. but when I execute following: BisSubscribe.exe /unsubscribe /id 16 /server emserver Result of execution: TF50309 You dont have sufficient permissions to perfom this operation. But I have permissions of Project Administrator. (When I delete subscription which are created today - I have no problemm) What is wrong Thank you for help! Since you say that you are able to unsubscribe new subscriptions that you create, were the subscriptions that cannot be deleted created on a beta 3 system that was subsequently upgraded to RTM Did you create the subscriptions that ...Show All
SQL Server Is there Simple way to get all dimension & Hierarchy levels from a database?
I need to extract a list of all dimensions and their levels from all dimensions and hierarchies in a cube. Im assuming that an XMLA query would do the trick... The reason is that in converting from SAS 2000 to SAS2005, most of our virtual dimensions became member hierarchies in existing dimension, and now we have a large number of saved MDX queries that need to be updated to have the new dimension names. It will be a simple process if I can start from the known dimension and level names For example the virtual dimension [Product Class] is now referenced as [Item].[Product Class], so now it and all levels of it's hierarchies need to ...Show All
Visual Studio Team System EndToEndIteration target
I've been browsing the Microsoft.TeamFoundation.Build.targets file and I followed the EndToEndInteration target as this is the one that gets run when Team Build does it's thing. I have a question on the CoreGet target. This seems to get the latest source code for a workspace and then label the files with the BuildNumber. It's the labeling that I'm wondering about... Does the label command take a look at each file in the workspace (i.e. the one on the local drive) and apply the new label on that version in SCC, or does it simple go through the latest versions in the specified branch on the server and apply the label What I was concerned abou ...Show All
