vsts2008

where can i learn to program the sqldatasource

i am using linked severs and synonym in sql server 08 in vs08 webpage when i connect the sqldatasource to the db it doesnot show the linked server or the synonyms!! (i dont know why it doesnot show the linked severs). so i write queries manualy for the sql datasource like select * from synonymname; i would like to use the facilities g...

how to run MStest as Admin using a batch file

Dear All, I'm trying to run some automated test using a batch file. I have written all these test cases in VSTS 2008. When I run these test cases using VS IDE, it ran succesfully. But once I try to run my test case using a batch file, it throws error "System.ComponentModel.Win32Exception: The requested operation requires elevation." As...

add/remove dll reference c#

I'm developing a desktop application. For that I'm creating class libraries. At the development time I have to rebuild the class library multiple times for functional testing and update reference to DLL. But once I add a reference to a DLL, then add some code to a class file and rebuild it, and add a reference to the newly built DLL, it'...

TFS 2008 to Build VS 2010 Projects - what version of VS should go on the TFS Server?

I need to get VS 2010 projects that are using Visual Studio Tests building on a TFS 2008 build server. I didn't want to have to install VS 2010 but am now willing to do so after trying the advice one person posted here: http://www.richard-banks.org/2009/11/how-to-build-vs2010-solutions-using.html and some other posts I've found bu...

where is gacutil.exe?

Hello everyone, I am using Windows 7 Enterprise 32 bit. I have used Windows command line, and also used VSTS 2008 command line, but when executing gacutil.exe, there is command not found error. I am wondering whether I need to install gacutil.exe from somewhere or gacutil.exe is located in somewhere else in my computer (I searched my c...

.Net assembly issue

Hello everyone, I am using Windows Server 2008 Enterprise + .Net 3.5 + VSTS 2008 + C# to develop a console application. The application runs fine on my developer desktop. But when I run the same application on another machine (Windows Server 2008 Enterprise as well, but no VSTS 2008 installed), there is error says assembly Microsoft.Exp...

Managing solution-common include/lib directories in visual studio 2008

I have made several projects in one solution. The problem is that the projects share same include/lib directories, but I don't want to put it into my IDE-global setting. Is there anyway to deal with it effectively? ...

Extending VSTS Unit Test Case generation

Here is a simple task that i want to do while running my VSTS generated UTC - In addition to printing my test result (pass/fail) in the Test Results window, I would also like to print how long the method that I'm testing took for its execution. I can use StartTime & EndTime columns to know how long my test case took to execute. However, ...

Reference an assembly from Team Foundation Server

I have a class library project in TFS version control. I want another project reference the output dll. Is there an easier way other then checking out the project and referencing the local copy? The class library will be updated pretty often. Using Vs.net and TFS 2008. ...

How do I use Visual Studio 2010 Ultimate with Codeplex?

I'd like to upload a project into codeplex, but I have no idea how. I don't want to break my existing TFS + VS install. Do I need to install anything special to work with Codeplex? ...

generating reports using custom data (html table) not dataset

i read several articles on this site and many others recommending report generating tools of various kinds but all use dataset as there datasource this is not my requirement! i need some way to export the data which is displayed in the htmltable on mypage.aspx user clicks view record a pdf opens (it should contain the data of the htm...

is there a particular format, which is understood by all applications (i.e specially readers like doc, pdf )

well i faced i lot of prob converting the html data on page to pdf and to doc making sure images also appear in the converted article but failed i understand that XML is something like a foundation so is it? and how to use it? i mean any guide of how to generate the xml of the page and then to change its extension to the needed(pdf,d...

How can I use ImageFormatConverter.ConvertFromString to convert a string containing HTML response to an image?

This is what achieved, help please: in pageload { panelmain.Controls.Add(abc); panelmain.Controls.Add(grid1); string toexport; toexport = RenderControl(panelmain); ImageFormatConverter imgc = new ImageFormatConverter(); System.Drawing.Image convertedimage; convertedimage = (System.Drawing.Image) imgc.Conver...

how to convert response stream to an image? revised

please note this link http://stackoverflow.com/questions/334532/render-html-as-an-image is not help full in previously asked question answeres said they dont get what i want to do exactly so heres is the full code also i simply want that instead of a TABLESe i rendered an image( of the content ) on the page using System; using System....

Problem in Webtest - while running test containing file upload.

Hi, We've web application developed using MVC2. I am recording webtests for all views in our web app. I'm using VS2008 test edition installed on separate machine for these webtests. My problem is - my recorded webtests fail for a view. THis particular view contains 2 upload controls. Common errors are - 1. Request failed: Empty path na...

How to add RSS feature to my web site?

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net to develop a simple web application. I want to add RSS feature to some of the pages of my web site, so that people could use their popular RSS reader to receive notification of content update. Any easy way to do this in my development environment? I only need very...

HOw to change web test run settings?

Hello, I am using VS2008 Test Edition to record my web tests. THese webtest are now connected with excel workbooks. There is one workbook(containing single worksheet) for every webtests. I've grouped all these web tests into single webtest. And I want to run these webtests in single go. My problem is - All my webtests run for single rec...

ASP.net flow chart of pages in Visual Studio

Hey all, i am not sure how to put what i am looking for. The best i can describe it is a flowchart type of layout that shows your all your ASP.NET pages and how they are linked to one another. Example: ----------- ----------- |main page| |error.asp| -----------\ /---------- \-----------...

use VSTS 2008 together with VSTS 2010

Hello everyone, Could I install VSTS 2008 and VSTS 2010 on the same machine? Any conflicting and any special care needs to take? thanks in advance, George ...

C# insert string to database issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + ADO.Net + SQL Server 2008. I have some C# string type variables, and I want to insert them into database as type DateTime, any code samples? My problem is how to do the conversion from string to database DateTime type. thanks in advance, George ...