Marko Tekavc's Q&A profile
Visual Studio Team System VSTestHost.exe crashing after executing test(s)
Some members of our team, including myself, are experiencing this problem and have not been able to find a workaround for it. After executing some unit test/tests, VSTestHost.exe process hogs the CPU for few minutes before it crashes. I tried re-installing VS without success. This is under a virtual machine, by the way. (Needed to access DEV domain) Any help or suggestion would be greatly appreciated. Thanks. Sang Do your tests have any finally clauses that may take time to clean up, or do you invoke other threads that may be throwing exceptions ...Show All
Visual C# "The operation could not be completed" error when running from IDE
I now often get this error "The operation could not be completed" when trying to run the application from the IDE. It occurs after the "Build Succeeded" message in the status bar. Sometimes I also get the message saying that application.vhost.exe could not be overwritten. I can get around that error by going to the task manager and terminatnig the vhost process, but I still get the operation could not be completed error all the time. In order to run the program in debugging I would typically need to click run about 5 times before that error doesn't occur. hi, I guess you windows scripting host is corrupted. you c ...Show All
Visual Studio Express Editions Finding out what a textbox contains
Hi there. I am currently developing a small application to tell users what grade of security their password has. Now, to do this, i need to check what the textbox contains, like signs, numbers, how many lines they are and so on. I can understand the basic syntax for it: If Textbox1 = contains !"# %&/()= then metervalue = metervalue + 5 Well, that is what i have figured out, but i don't know the proper command to see if a textbox contains something. I know how to check if the content matches a word or a number, but i don't know how to check if the textbox contains letters, how many they are and so on. If anyone can help me ...Show All
Visual C# Custom Control Error Message Hell!
Hey howzit I am trying to implement a new user control...all that it allows is for the user to assign each control to a group. One group of OurRadioButton's consist of 2 or more radio buttons and if they have the same checkgroup then you can only check one of them in the group. BUT I keep getting this error message: (the error message appears as a message box type message not in VS debug) "Property value is not valid: Unable to cast object of type '...OurTextbox' to type '...OurRadioButton'. namespace whatever { public partial class OurRadioButton : CheckBox { private int _check ...Show All
.NET Development Connection not Alive
Sorry to post again, I think the other one has been forgotton I have a Windows Form, (Application). On that I have a TextBox called txtIdNum, a Button, and a TextBox called TxtNombre What i want to happen is when someone types into the txtbox txtIdNum, and press the button, the code will search the MSQL table, and select all the fields where FIELD IDNum is = txtIdNum.Text Straight forward, easy to say. My code is the following System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection("SERVER=localhost;DATABASE=test1;UID=sa"); System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.S ...Show All
SQL Server Export table from SQL 2000 to SQL 2005
Hi, I have just installed SQL 2005 and I started moving my tables from one server (SQL 2000) to the new one (SQL 2005). I noticed when I use the import option (SQL 2005) it does not create indexes, pk, and do not create columns as identity. In this case I decided to script all objects and create them in 2005 what should be fine. After that I use the same import to move data from 2000 to 2005 when it show the data mapping screen if I do not click on edit and check the option "Enable Identity Insert" it will fail for tables where I have identity columns. Is there a fast way to move tables from 2000 to 2005 with data ...Show All
Visual C# Why can't I save my Visual C# .exe project to another directory
When I select the project and try to perform a "save as", it won't let me specify another directory. You mean to tell me we are forced to save all our executable projects in C:\Documents and Settings\UserName\MyDocuments\Visual Studio 2005\... This just can't be! It's actually that you can't copy a project, which appears to be what you want to do. There is an option as part of a Setup project that lets you move source code as part of the installation. But, in the vast majority of cases, that is way overkill. So go with what Guido said...move the directory structure by hand and change any necessa ...Show All
Visual Studio Team System Can't instrument project targets for ASP.NET performance session?
I create a new ASP.NET performance session and point it at my web application directory (i.e. not using IIS). Now, I can sucessfully get performance data for the web site itself, but I cannot seem to get performance data for any other project assemblies I've configured for instrumentation. At first I noticed that it was instrumenting the project assemblies in their respective project \bin directory as opposed to my web site's \bin directory. Then I tried using target binaries and selected my assemblies directly from the web site's \bin dir, but that didn't help either (and also doesn't seem like the right thing to do). So... any clues ...Show All
Visual Studio Class Designer with a Web Site project
Hi, I'm using VS 2005 Team Suite Beta 2, and can't seem to get Class Designer to visualize anything in a web site project. I can't even see my namespaces/classes in the Class View window. I found a thread here that stated there were problems with the class designer in beta 1 and some CTPs, but that it was resolved in Beta 2. Any tips on what I may be doing wrong I'm just starting with a blank solution, and making a new web site project in it, then adding a web form. No code, no nothing, I just wanted to see that web form's class in class designer to begin playing around, and can't seem to get it. Thanks for any help you ca ...Show All
SQL Server EM displays right-to-left
SQL Server 2000 EM installed on an arabic Win XP pc displays everything right-to-left. Changing regional settings to english did not change it to LTR, which is what I would like. ...Show All
SQL Server After moving to SQL2005, disconnected recordsets are ready-only
We're using ADO disconnected recordsets. On SQL 2000, we could update these on the client (without propagating the changes to the server) even if the underlying view or table was non-updatable. When running our apps against SQL 2005 (using the same client-side environment), we can no longer change any attributes of those disconnected recordsets, that connect to a non-updatable database object (the rest of the app runs fine, we can update all updatable database objects through disconnected recordsets) . Does SQL 2005 respond to such calls differently from SQL 2000, so that ADO recordsets are built in a new way (which makes them read-only i ...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
Game Technologies: DirectX, XNA, XACT, etc. DirectX Extensions for Alias Maya 7
When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 Right now, the quickest way to get Maya 7 support in the Maya Preview Pipeline is to compile it yourself (the code is available). While I haven't tried it, it should compile fine with 7.0 once you set up the paths to the 7.0 version of the Maya SDK. ...Show All
Visual Studio Handling pop up window such as SaveAs in .Net 2003 AddIn
Hi All, I am trapping SaveAs command in my AddIn,but before saving I want to know the new path and new file name in which my current file is going to save.In other way I want to handle Save As window and retrieve data from it,Is there any way around for I tried to find out in BeforeExecuteEventHandler for save as but the destination path is not there because it is called before executing the command Kindly provide some pointers.My adin is in C# and for .Net 2003 . Thanks and Regards, Ruhina Hello Craig, Thanks for your suggestion I am in process of downloading VSIP. Meanwhile could you please help me in p ...Show All
Windows Forms Visual Styles (Win32API)
Hi. How to make standard windows control such as pushbutton to use visual style I'm writing in pure c/c++ with win32 api. I searched thought internet but couldn't find any helpfull example or good expanation. Thanks. You may additionally try: http://msdn.microsoft.com/subscriptions/managednewsgroups/list.aspx To find a newsgroup that better fits what you're trying to do. (microsoft.public.platformsdk.shell or perhaps microsoft.public.win32.programmer.ui may be better bets.) ...Show All
