mt2's Q&A profile
.NET Development My Application works in Debug mode only
Hi all, My .NET application works in debug mode only. If I build my application without the "Generate Debugging Information" equal true, the application start properly, looks like everything is just fine, I can use several commands of the same type, but it stops working, I mean it goes in a loop or something. If I run the same application with debug option equal true and I do the same test everything work just fine. This is a prob ...Show All
Visual Studio Team System Testing a Web application with Active X Controls
Is testing web applications with ActiveX controls supported, if so how would one go about doing this. The application being tested was not developed in house so we do not have any code just the application. We are trying to load test the application but ran into problems recording due to the Active X controls being used. More Info: After speaking with the vendor the ActiveX Controls they u ...Show All
Windows Forms how to open a pdf file from a windows form
hi, on a button click event i want that a pdf file which is stored on my hard disk will open. how can i do it (i use c#) System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = @"c:\filename.pdf"; p.Start(); ...Show All
Visual C++ Visual Studio 2005 File Samples
Hi, On the MSDN web site there are VS 2005 code examples for C#, VB, and C++. I have been able to download the C# and VB, but the C++ download refers to a "Download Samples" button that does not exist. How does one download VS 2005 sample code Thanks Jeff Hooper wrote: Hi, On the MSDN web site there are VS 2005 code examples for C#, VB, and C++. I have been able to download th ...Show All
Visual Studio Tools for Office "send email" button in MS word
Hi guys! Is there anybody here who knows how to add a button in a Microsoft Word document Then when I click the button it sends an email with the document as attachment. Thanks. Looks interesting! will give it a try and let you know. Regards Pavan ...Show All
Smart Device Development Setup and Installer Package
I have developed CF2.0 application and did CAB Project and MSI installer package to deploy. I do see lot of downloads on my application but all the downloaders are disapppearing after download. I accidentaly found the reason that, when they try to install my Compact Framework 2.0 application with the supplied Installer the installer asks for .Net Framework 2.0 to be present in the Desktop since my application and Setup projects were ...Show All
.NET Development serialization stopped working? help! invalidoperation
Hi. All of a sudden just now the serialization I have been using on my test environments seems to work but when implemented into another project, they have stopped working, this is without me modifying any code. I have a server, and it serializes all objects and sends them down the wire to the client (smartphone running WM5 and .NET CF 2.0) This worked fine until just now. I get an invalidOperationException on the client when it tries to d ...Show All
SQL Server QueryResults object and MS SQL 2000 float fields - please help!
# 1 1 (Rate This Post) Today, 06:39 PM denisgr Junior Member Join Date: Dec 2005, Posts: 2 Reputation: QueryResults object and MS SQL 2000 float fields - please help! Hi, I have a MS SQL 2000 server database, and in one of the tables a column is defined as float(8 byte). When I use the QueryResults object on it ...Show All
Visual Studio 2008 (Pre-release) Tricky: items with ARRAYs as properties: how can they be sorted in a listview ?
Suppose I have the following type: public class Student { public string Name { get ... } public Student[] Friends { get ... } } The property "Friends" returns a list of students that are friends of this student, where the first item in the array is the best friend. I am able to display a collection of students in a ListView using one column for the Name and another column for the name of the best friend: <ListView It ...Show All
SQL Server DATABASE COPY WIZARD
I have recently installed SQL 2005 Developer Edition. I am trying to use the database copy tool to copy a SQL 2000 database to my SQL 2005 installation. I keep getting the following error: What can I do to correct this I have searched help, KB, Message Boards and google Performing operation... - Add log for package (Success) - Add task for transferring database objects (Success) - Create package (Error) Messages No de ...Show All
Visual C# Regarding inserting images in datagrid column
Hi I am using datagrid( .net 1.1) in .net 2.0. I am binding the datasource to the datagrid. I have one column which is state (varchar) i want to insert images in that column. Pls tell the above is possible if not pls tell the alternative as i have to take image column. I am not getting how to set column or cell type as image. Any body ASAP pls Thanks & Regards Bhargavi ...Show All
Visual Studio Merging auto-generated code with custom code?
Let’s say you have a DSL combined with a set of wizard and recipes to generate code for a custom framework on which a customer would like to build all future .NET applications. As a developer I start the first iteration of the application development and generate supported implementation artifacts. Then I continue adding my business logic (e.g. code behind “click” events in a form or code in C# classes which skeletons were generated through re ...Show All
Visual Studio Team System Session Value in URL
In a webtest I've recorded, a session value is present in the URL for some of the requests. When I replay the webtest, the test is marked as passed even though it does not complete the desired business scenario. I understand that when I replay the script this session value is no longer valid and in fact I can see a new value being returned in a response header (in the Location field). The session value in the very next request is replaced ...Show All
SQL Server Backup databases programatically.
Hello 1. Sql Express supports SMO 2. If so How can I make a backup of a database programatically Thanks You do know that you can overload the Server instantiation to direct it to the server you want to connect to, don't you Example: Dim srv As Server srv = New Server("MyLapTop\Express") In VB.Net you can also set the property in the ServerConnection object: Dim srv As Server Dim srvConn As ServerConnection srv = ...Show All
SQL Server SQL Server 2005 Service Pack 1 is now available
Microsoft announces the availability of SQL Server 2005 Service Pack 1 (SP1) with Database Mirroring, SQL Server Management Studio Express, additional options for ISVs, and normal feature fixes. SQL Server 2005 Service Pack 1 can be found here: http://www.microsoft.com/sql/sp1.mspx Kamran, I'm not sure what you're asking. Standard Edition is supported on Win XP SP2. As such, you can apply SP1 to your Standard installation. You ca ...Show All
