shinyhappy's Q&A profile
Visual Studio Team System Automating Test Execution
I would like to know the class which could be used to automate test case execution. Currently, we need to manually start the test case execution in the test manager. But, I have a requirement to execute the test cases in the test project for multiple times with different types of data. This is to verify the functionality - not to measure the performance or load. I found that test cases can be executed in command line with the command “MSTest”. But, I would like to know if there is any class available in the framework which could be used for the same. Following links describes how to use data drive ...Show All
Visual Studio Express Editions CListCtrl - Disable click on the null text below an icon/image.
Hello, Can you tell me if there is any way by which i allow selection to happen only on the icon. I have created a custom list control derived from CListCtrl. I have no text, only images closely packed. I have set the text as null. For every icon/bitmap below each item, when I click in some 10 pixel range below the icon/bitmap. It gets clicked. I want to disable this click ... any clues please help jupitor hi Martin, I dont get the event for my CListCtrl at all !! :( Can you send me the sample you have created jupitor_rule@yahoo.com Jupitor .... ...Show All
Visual J# Warning - don't use ReSharper
Hi; If you have done much development in C# you probably have ReSharper and it is a tremendous help. But when it get's in J# it slows the system down a LOT and it gets all confused with intellisense. I ended up removing it. Hi David, By any chance have you reported this issue to ReSharper guys Did they suggested you to uninstall it I am just curious to know if the root cause is J# or ReSharper Thanks. ...Show All
Visual Studio 2008 (Pre-release) Service calls a Service an fails
Hi. I have a client that calls a service that then calls another service and fails. I get an: Unhandled Exception: System.ServiceModel.UnknownFaultException: There was no endpoint listening at http://localhost:4242/Alba/AdminService/ that could accept the message. This could be caused by an incorrect address or SOAP action, among other things. If i call the second service directly by a client or call it in the Main() part of the first service things work fine. So i’m pretty sure the config is fine. Passing through the call to the second service looks like: public void createNewUser( string name, string pwd){ using ( Admin ...Show All
Windows Forms ListView Problem
Okay so i found out how to get the selected item...But now my code is giving me alil problem ..which i have no idea about.. private void bookingListView_SelectedIndexChanged(object sender, System.EventArgs e) { clearFields(); OleDbDataReader dbReader = null; string[] columns = new string[15]; try { conn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0; User Id =; Password=; Data Source=C:\professional\databas ...Show All
Visual C++ VS2003 -> VS2005: peek() does not work.
Hi guys, Since my boss needs the application run on the 64-bits windows, I try to rebuild the application with VS2005. The code throws an exception when executing peek(), which works well under VS2003. Who have the similar experience Please help me out... Thank you very much! istream& is; // pass in the vaule by calling a function char c = '\t'; while((c != '.')) { c = is.peek(); if (isdigit(c)) { // do something ..... ..... ...... } } Yang wchar_t and relevant API errors win32 platform Kuphryn ...Show All
Visual Studio Team System Representing external non-WSDL Web Services in the AD ? ADAM Servers as a external DB?
I'm currently trying to architect a distributed systems diagram. I am using Microsoft's DSfW as well as an ADAM server. However, there appears to be no ability for me to represent these in my application diagram. DSfW generates no WSDL so I cannot add it as an External Web Service. ADSI is not represented as a data provider so I cannot make the ADAM server an external database. Do these exist yet and how can I grab/import them into the App Designer Hello There are many types of external services that don't have specific shapes or endpoints for the application designer. However you can use a GenericApplication shape along with a Gene ...Show All
Visual Studio How To Programmatically Convert Crystal Report to PDF Format
Hi How To Programmatically Convert Crystal Report to PDF Format. I am using Visaul basic 6.0 and Crystal report 8.5. Any one Know the answer,Pls reply soon.Following code is used my crystal report.Using this how to convert PDF Format. crptPur.ReportFileName = App.Path & "\report\rptStatus.rpt" crptPur.Connect = "DNS =xx; UID = xx; PWD = xx" crptPur.Action = 1 Thanks Sumathra Moved this thread to a more appropriate forum (VS IDE is for questions about the development environment or "shell"), hopefully someone here can help. ...Show All
Windows Forms Inheriting from DocumentDesigner
Hello all, I'm creating my own design time environment for a project bascially I'm allowing users to visually layout a printed document by drawing controls on a service which I later translate into gdi printing commands. I'm making use of dot nets ability to host designers etc to implement this. I'm trying to create a custom root level designer for&n ...Show All
Visual Studio Text Lines OverLaps in the Help Menus Display Window
Hi, When i am crusing the help files I keep running into sections of text that have overlaped in the display. Is it just me (MyVidCard) or has anyone else come across this, or do you know the fix Thanks in advance for any help. Steve Somebody else reported this recently. I don't think we've had a chance to debug it yet. Can you tell us what video card you have and what driver you're using You can get this information from the Advanced tab on Display properties (right click on the desktop and select Properties, or get to the same UI via the Control Panel) Also: 1. Are you using online help or local help 2. Are you viewing help ...Show All
Visual Studio Team System Setting "CreatedBy" field programatically
Hello, I'm writting an application for migrating items from our old defect tracking system (PVCS Tracker) to TFS Work Item. I'm using the Microsoft.TeamFoundation.WorkItemTracking.Client namespace for that. I have an issue with the WorkItem.CreatedBy property since it is read-only. Indeed, we want to migrate the "author" value to this property. How could I solve this issue Thanks I'm working on a similar project to import work items from Quality Center and have ran into the same issue. I have not found a way at this time to import the "Created By" field so I have just programmat ...Show All
Visual Basic Decrypt file in VB6 that was encrypted in vb.net
I have a customer who is sending me DES encryped data that they produce via vb.net. No matter what i do, i can not unencrypt it using VB6. They are supplying a KEY and IV which seems to throw most compoents. Are there any aritcles on MS.com regards The only other way I see you being able to tackle this is having the .Net group create a decrypt app for you, however you will still need to have the framework installed...I don't believe you will get around that if you want to be able to decrypt something that was encrypted using .NET In the not to distant future...you will see the Win32 API making way for WINFX..In other words ...You ...Show All
Visual Studio Problems loading package
While probing the DSL tools and figuring out how to use them I came accross an issue that I need to get resolved. The issue has to do with loading the package (and is something I most likely caused by using the same combination of CompanyName.ProjectName on all my samples). Problem is that when I try to debug my DSL the debugger prompts me with the message 'Package Load Failure'. Inside the message are some details regarding my packagename (CompanyName.ProjectName.Designer.MyPackage, CompanyName.ProjectName.Designer) and the GUID. The package names with different GUIDS pop up (as stated I used the same combination on multiple sample proje ...Show All
Visual Basic Select Statement and GridView
Hi, I have searched for hours and can not find an answer I need. All I want to do is perform a Select statement to filter the rows in a Gridview control. My Select statement works great but I can not get the Gridview to show the filtered results. I am using VWD. I know this is a simple operation in VS2005 with datasets but I am having trouble with VWD. I am not using a stored procedure but a simple button click on a code - behind page. Here is the code I am using. Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click Dim conn1 As New SqlConnection ...Show All
Visual Studio Express Editions notepad
Hi to all, Iam implementing a notepad application.When i seleceted from Format->font menu the fonts are applied to the existing text in the textbox.After applying i saved the application.But the selected fonts from the Font menu are not applied to the text I used the following code for saving streamwriter sw = new StreamWriter (--filename); sw.Write(textBox1.Text); sw.Close(); Please help me. Thanks in advance. This is because plain textfiles don't include fonts. You must use RTF for example, put a RichtTextbox on your form and use the Save method of it to save the current Text in RTF form ...Show All
