Aaron Hare - MSFT's Q&A profile
Windows Forms No Touch Deployment for files other than assemblies?
Hi, I've got a simple vb.net windows form app. that consists of two forms and a chm help file. I want to deploy it over the web. My first form is my exe that gets my app. running. The second form is a dll that the first form references. Both of these work fine from a link on my web page to the exe. My p ...Show All
Visual C# How uses the recursion arithmetic to find the maximum value and the minimum value from an array ?
How uses the recursion arithmetic to find the maximum value and the minimum value from an array Just some simplyfication: static int maximum(int[] arr, int length) { if (length == 1) return arr[length]; return Math.Max(maximum(arr, length - 1), arr[length]); } ...Show All
Windows Forms DataGridView adds two new rows on 'escape'
DataGridView control is adding two new rows when I press escape key. Following is the scenario: I have a hidden column in DGV. 1. I enter some characters in first column and press tab. 2. Now when I am in second column I press escape without editing contents --> This adds two new rows (so after escape there are total three rows in my DGV) I have handled following events _CellEndEdit, _DataError, _DataError, _CellContentClick Can anyone help me Thanks, Amol. What ar ...Show All
Windows Forms Error when Intranet VPN Client tries to install
I have deployed my app to our server and linked to the publish page through our Sharepoint Portal. Everything appears to work fine with one exception. I can install on all our local machines and remotely with any log-in name within our registered users list. However, some of the guys working remotely are getting the error message shown below when they click on the Install Button. I have checked the install using their log-in from remote computers without a problem. Any help would be appreciated!! PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.4 ...Show All
Windows Forms Copy And Pasting
Hi all Im kidna having problems copy and pasting both with getting the selected characters from the control and put the selected information in to the clipboard Im sure its a namespace i havent come across yet any help would be appreciated <a href="http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsclipboardclasstopic.asp">System.Windows.Forms.Clipboard</a> Remem ...Show All
Windows Forms dll processing location
Hello All, I have a Cient App that calls a dll for data access. The dll is located on a Server computer separate from the client/development computer. I have a function in the dll that writes to an event log. The code does not specify which machine to write to. The event log entries are actually being written to the Client computer instead ...Show All
Visual C++ PRJ0050
Hello, I am building a DLL with ATL8.0 in VS2005. I am getting this error when I build the DLL. error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. Very next time I build, it goes away and the comes back next time. Sometimes i can build 4 - 5 times without error and then it comes back. Any help will be appreciated. I have full permissions on registry. I never had any problems in VS2003. Thanks Looks like you need administrative rights. Venu_nair wrote: Hello, I am building a DLL with ATL8.0 in ...Show All
Windows Forms "The value violates the MaxLength limit of this column"
C#, VS Pro 2005, Windows app with a datagridview: Simple form with 5 fields. The database is empty. The field that generates this error is formatted varchar, length of 6. The field is the second on the form, and is the only field complained about. Tried both a combobox lookup table and typing values into the table (textbox). Same error. This has stalled me for several hours. I tried printing out a message box with the cells data, but cannot get anything to print (no data in box). Thanks G. PS No offense - but do any MS staff look over this forum, 'cause my posts aren't getting any responses ...Show All
SQL Server Setting Report Data Source Credentials Programmatically?
Hello, I've been working on an application that uploads an RDL to Reporting Services (through the SOAP webservice method CreateReport) programmatically. I'm having difficulty setting up the data source properties for my uploaded report. In particular the Data Source Credentials property. The datasource for my report doesn't require credentials. By default after I upload the report to Reporting Services, the Data Source Credentials property is set to "Credentials supplied by the user running the report". How do I go about setting the Data Source Credentials property to "Credentials are not required" programmatically ...Show All
SQL Server Profiler: Deadlock graph
Hi. I'm trying to capture Deadlock Graph in profiler. I've checked it in the event list along with Event:Deadlock. I generate a deadlock... The Deadlock event shows up in the trace, the Deadlock Graph does not. I'm pretty sure BOL says that for every deadlock there is a deadlock graph. I've also tried the steps in BOL to save the deadlock graph xml to a file. The file is empty. any clues thanks Deadlock Graph is TraceEventID 148. It's definitely in my trace.. Here's a simple example of where a deadlock appears in the trace, but the deadlock graph doesn't. < xml version="1 ...Show All
Windows Forms Thanks for your help
How to convert a class into byte[] and create a class from byte[] or struct My class like this: class myClass { ulong version; uint length; byte[50] Descript; } using System; using System.IO; public class PacketHeader { private byte[] name; public byte[] Name {   ...Show All
Visual Studio Team System Resources: Overview of Visual Studio Team System (VSTS)
Articles Team Up! Get All Your Devs in a Row with Visual Studio 2005 Team System , MSDN Magazine, April 2005 Visual Studio 2005 Team System: Overview , MSDN Library, May 2004 Presentations & Slides What Does a Tester Need to Know in 2005 and Beyond , Sam Guckenheimer, December 2004 Videos & Webcasts VSTS TechEd 2004 General Session Demo Managing the Software Lifecycle , VSLive! San Francisco, February 7, 2005 MSDN Webcast: Introduction to Visual Studio Team System (Level 200) MSDN Webcast: Introduction to Visual Studio Team System (Level 200) MSDN TV: Introduction to Visual Studio 200 ...Show All
SQL Server How to stop a package
Hi, In one of my packages, I have a script component to do a transformation and I am inserting the output to table. Within that script component, if the data does not match my requirement, I have to stop the job. For that, I am using 'componentmetadata.fireError' to raise an error. The problem is, now even when an error is raised, the job completes by loading the remaining records and then aborts. But I want to abort the job as soon it raises an error. How to do this Thanks. HI, sorry to jump in. But I looked in books online and did not found a way to stop the package in the dataflow using the system cancel variable. Is there a w ...Show All
Windows Forms Form.Show() shows form minimized!
I am making a multi form application. I want to make it so if someone hits the X on my child form, it shows the parent form again. I am using the Form.Show(); method, and also tried the Form.ShowDialog(); method. Either way, the parent form shows up but it is minimized in the taskbar. How can I get it to show maximized Thanks, Hello Yeshia, have you tried "Form->WindowState = Windows::Forms::FormWindowState::Maximized;" ...Show All
.NET Development Addressing a Thumb Drive
Sorry if this is not the right place for this question, it does not seem to fit anyplace else. I would like to be able in my visual studio code to address files resident on a thumb drive. The problem is that the drive letter assigned to the drive changes depending on what machine I plug it into. Is there a way in .net code to address data on a removable drive regardless of what temporary drive letter is assigned. Thanks, Fred Herring This type of question is outside the scope of the Data Access and Storage forum. I'd recommend posting this question to the .NET Development General forum: http://forums.microsoft.c ...Show All
