Lisa_99's Q&A profile
Visual Studio Team System Code Coverage
Does anyone know how to enable Code Coverage There used to be an options button on Test Manager to do it, but this button is no longer there. Please help if you can. :-) My understanding is that blue means that line was partially covered (So, possibly in an assert, only the condition was executed and not the assert itself. I may, of course, be wrong. ...Show All
SQL Server VS.NET 2005 and CLR stored procedure permission sets.
VS.NET 2005 automatically deploys a CLR stored procedure when you start a project with debugging. However, if the CLR stored procedure attempts to access external resources you will get a message stating: System . Security . SecurityException : Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed . I've isolated this to being because the CLR stored procedure does not have the EXTERNAL_ACCESS permission set. Is there a security attribute that can be used to decorate the CLR stored procedure code so that VS.NET 200 ...Show All
Visual FoxPro Grid Columns settings disappear
I have a grid with about 20 columns and the following properties are defined at design time carefully: backColor, foreColor, fontSize, fontBold for the columns as well as corresponding properties for the headers. Then I have a table and I want to use a part of the table as a recordSource let say to display transaction for year 2005. I get a beautiful display. Then I have a combobox with some years like 2004, 2005, 2006, etc. It controls the grid's reacordSource and actually its value determines the selection. If I interactively change the year from 2005 to 2004 trying to see what transactions were effected during that period but the ...Show All
Visual C# Working Progress bar
Hi, i need some advice. I have a form which is being filled up with data from a database. Whilst it does this, i want to display another form that i have created as a working/progress bar on the top to show that the program is still working. I know i cant call the working form from the main form, as that locks it up whilst th working fom is open. I tried putting the working form in a seperate thread, however the result of this is that it no longer 'locks' the main form to the user, and also it doesnt stay on top of the main form, as the user can just click on the main form, and it comes infront of the working dialog. Any help would be apprec ...Show All
Visual Studio Team System event check
How do I recognize an event like this one: protected void Button1_Click( object sender, EventArgs e) I tried to overwrite the check(Member) method and cast the Member to Event and didn't work. Rodrigo, The above method isn't an event, but rather just a normal method that handles an event. Have a look at the RuleUtilties.IsEventHandling method to find these. Regards David ...Show All
Visual Studio Can't add MSDN library to x64 install
Hi All, I have an install of VS 2005 CTP July 2005 on my DELL PowerEdge box (dual 64-bit processors). The install went fine, but I can't install the MSDN library that was on the DVD. The install says an unhandled excption in msiexec.exe. Can the MSDN library be installed on 64-bit hardware Or am I missing something else Thanks in Advance! Corey. What OS are you using If its Windows 2003, do you have SP1 installed (and Windows Installer 3.1) ...Show All
SQL Server Registry to store configuration values ?
I try to store a SSIS-configuration value in the registry. But it's failed. I get a warning, that the registry-key is not found. What is the syntax I have searched in BO,MSDN and Google/Internet ==> nothing. There is no example. In the registry you have this entry: HKEY_LOCAL_MACHINE\SOFTWARE\ProjectName\Connections\ConnectionString1\value In Value you store your connection string In the SSIS-Configuration the reference is: SOFTWARE\ProjectName\Connections\ConnectionString1 Loom ...Show All
Visual Studio Tools for Office "Reload" listobject after UnList()
Hello, I'm trying to make an excel application where the user binds a dataset to a listObject. Then I'm doing a UnList() on the listObject so the data looks like an traditional spreadsheet. Then I whant the user to be able to bind another dataset to the listObject, but this can not be done after running UnList(). How can I instansiate a new listObject, or how can I solve this matter Best Regards Carl Hi Carl, When you call Unlist on a ListObject, the control does not exist anymore as it just got converted to a range. In this scenario, you need to use VSTO's ability to dyn ...Show All
Visual J# Publishing a project
I am trying to publish my project, but when I run the installer it dies because the the project has been improperly formatted. I have been unable to find any references to formatting during publishing, or even system requirements for the published version. If you have an easy solution or if you can point me in the direction of reference material for this that would be great. Thanks. Hi, Yes, Visual Studio Team System is not freely available. Again, what I understand from deployment is that you want to create a .msi for you J# projects. That is not supported in Express SKUs. Thanks. ...Show All
Windows Forms make the form’s title bar disappear
I have done like this, but it doesn´t work becaouse the form has still the button for Maximized und Minimized. "You can make the form’s title bar disappear altogether by setting the form’s BorderStyle property to FixedToolWindow, the ControlBox property to False, and the Text property to an empty string." Source: VB .NET Mastering Visual Basic I have also tried ...Show All
Visual Studio 2008 (Pre-release) DLINQ Queries and observations
I have the following queries/Observations about DLINQ. 1. I could not find any direct way of handling many to many relations. Suppose if User and Role are related by a join table UserRole then I should be able to have a collection of Roles in User and vice versa. Which i think is not possible in DLINQ. (Please correct me if I am wrong) 2. State management is handle outside entities. In scenareos where a client grabs a entity from a WS , makes some changes and post it back to the ws for updation, how is the DLINQ framework handle optimistic locking Why can't state be maintained in the entity itself maybe by a base class, we already c ...Show All
Visual Studio Team System Question on Team testing tool
Hi, I'm very new to team system, I’m currently looking for a tool that can help me to do the functional testing (end user acceptance testing), the tool will be needed to document the manual written test cases (test plans) and testing results. Our application has both Windows GUI and Web formats. Do you think the Team System testing tool will fit my need Thank you for your input. Hi Kathy, Bug Tracking is part of Visual Studio 2005 Team Foundation Server. It includes source code control, work item (bug) tracking and other features. A good overview of the different products can b ...Show All
Windows Forms a simple printing question, many thanks!
if I print a textBox or richTextbox's text, the printer don't automatic change to next line, even the textbox is set to auto-wrap, the printer print all the text from a textBox in one line!!! unless I manually press Enter in the textBox field. part of my code: while(currentLine < linesPerPage && ((line=myReader.ReadLine()) != null)) { currentY = getCurrentY(currentLine, topMargin, bodyFontHeight); ev.Graphics.DrawString(line, bodyFont,defaultBrush, bodyR.Left, currentY); currentLine++; } many thanks for reading my question! The RichTextBox Lines property is not affected by the value of the WordWrap property.&n ...Show All
Visual Basic Problem creating a new project
I have just downloaded and installed Vb2005, but i get an error when i try to create a new project. Error is : Filename,directory name or volume label syntax is incorrect Any ideas ...Show All
Visual C# Attempted to read or write protected memory error in TransactionScope with OracleClient(10g)
We are randomly getting this error message on our development and staging machines: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.; at System.Data.Common.UnsafeNativeMethods.OraMTSJoinTxn(OciEnlistContext pCtxt, IDtcTransaction pTrans) at System.Data.OracleClient.TracedNativeMethods.OraMTSJoinTxn(OciEnlistContext pCtxt, IDtcTransaction pTrans) at System.Data.OracleClient.OracleInternalConnection.Enlist(String userName, String password, String serverName, Transaction transaction, Boolean manualEnlistment) at System.Data.OracleClient.OracleInternalConnection.Activate(Transaction t ...Show All
