tonyr1977's Q&A profile
Visual C# VS not responding to keyboard keys (arrows ,enter ..)
the issue may seem stupid enough, but not mystical. The behavior started to show self after I set "Visual Source Safe" as "Source Control" tool. As you check out the item you're not able to use any of the above typed keys, but others and mouse. You can achieve NORMAL_EXPECTED_BEHAVIOR of the keyboard as you close and start the Visual Studio again. And here is the mistical point that should explain. Where is that magical option box that I sh ...Show All
Visual C# Loading word file in richtextbox in C#
hello, i have already loaded the txt file in the rich text box in C#, but using the same style, i caanot load the word file or any other files like .pdf in rich text box. i would be thankful if anyone could solve my problem. only clear text and RTF can be loaded in RichTextBox you cannot load PDF or DOC files in it! the only way to do this is to convert files to rtf and then to load into box hope ...Show All
Visual Basic Automatic inherits
Am not so sure that I really understand what exactly happened here But I will appreciate any help. My project contain one MDI Parent(menu), five forms, and one dialog. The aim is pretty obvious, to host all the forms in the MDI. For each form I have a button, that do the following: Private Sub Note1ToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Note1ToolStripMenuItem.Cli ...Show All
Visual Studio Team System Can anybody provide the code to delete the records in a database after the test is over?
Can anybody provide the code to delete the records in a database after the test is over as I have the outline of the custom web test plug-in required for this purpose Here is the outline of the class. I need to fill in the code for deletion: using System; using System.Collections.Generic; using System.Text; using Microsoft.VisualStudio.TestTools.WebTesting; using System.Data; using System.Data.SqlClient; name ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Error in installing Pre-things...
Hello guys! After done some programming and felt myself as I COULD jump into another little subject without leaving Programming totally alone I came here to test the XNA Build... I had to install many things firstly... It didn't detact my two versions of Visual Studio Express C#/C++. This is the one that is given me errors: Microsoft Visual Studio 2005 Premier Partner Edition Installer As its installing... And I cannot see anyth ...Show All
SQL Server BOL ABS Overflow error?
Ugh... Why does books online state that ABS can cause an overflow error The example given: The ABS function can produce an overflow error. For example, the tinyint data type can hold only values that range from 0 to 255: Copy Code SELECT ABS(CONVERT(tinyint, -256)); GO It's the convert function that causes the overflow error, not ABS itself, right Hi Robert, You're co ...Show All
.NET Development Legacy Development (.NET 1.1) in Visual Studio 2005
(cross-posted from Visual Studio General) My company has a significant codebase that has been developed for the .NET 1.1 framework and written in the C# language with Visual Studio 2003. My development team would like to leverage the new tools in Visual Studio 2005, but we cannot upgrade to .NET 2.0 at this time. How can this be done I have been evaluating the Visual Studio Express IDE, and it has&n ...Show All
.NET Development Bug HtmlInputRadioButton ???
drop an HtmlInputRadioButton on a blank page. Set runat=server set checked=checked the following asp html code is generated: < input id ="Radio1" type ="radio" checked ="checked" runat "server"/> browse the form. the following error occurs Parser Error Message: Cannot create an object of type 'System.Boolean' from its string representation 'checked' for the 'Checked' property. change the html to ...Show All
Visual C# Order Matters
Today I found what was probably not the best of coding but for sure should have been flagged by the compiler and not the exception handler - especially the type of exception. Here's my class: public class foo { // ... other definitions here public static readonly Font CellStyle_UnacknowledgedAlarm_Font = new Font (CellStyle_Font, FontStyle .Bold); public static ...Show All
Visual Studio Team System Error in installing TFS
Following is the error message I am getting while installing TFS. Errpr 32000. The Commandline "D:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools\Createds.exe" /setup /install http://w2k3s-gfriis/reportserver/reportservice.asmx TfsReportDS "Data Source=W2K3S-GFRIIS;initial catalog=TFSWarehouse" "<domain>\<user>" ..... Where <domain> is the our domail and <user> is the win ...Show All
.NET Development Compiling for CLR1.1 in VS2005
Hi guys, First off apologies if this is the wrong group - I've spent some time searching both with google and MSDN for a solution to my problem, but have had no joy, and this group seems the most appropriate. I'm working on a Visual Studio AddIn. I'm moving up from VS2003 to suport VS2005, and as such I'm now building from within the VS2005 IDE. After a reasonable amount of work I now have the AddIn working in VS2005. However, ...Show All
Visual J# Adding an Access Connection to Visual J# 2005 Express beta 2
I have been trying to add a new data source to a J# application under Visual J# 2005 Express beta2 that I downloaded a few days ago. I select the Microsoft Access Database File (OLE DB) and specify a path and the 'Test Connection' button works. However, when I validate, I get the message 'The parameter is incorrect.' Love it.. I have no idea which parameter is involved. I have tried looking at the advanced properties but cannot see anything unus ...Show All
.NET Development .NET Runtime 2.0 Error Reporting
Hi, My application is running on 65 PC. After a few hours, this applications crash on 2-3 PC. I get no exception in my log files. I set the Application.ThreadException and AppDomain.CurrentDomain.UnhandledException exception event handlers. The last one is triggered with 'System.NullReferenceException: Object reference not set to an instance of an object.' but there is no stack trace available. I got no dump file, no popup window. I only get the ...Show All
Visual Basic how to share 1 datagrid on 2 tabPages?
Hi, All. I am not sure this is the right design. I am open for any suggestion. I need to present two set of data in datagrid. They could come from same dataset. One has more fields and they have different filters. They are for read-only. I think one datagrid control will work. By switching data source back and forth. Users will choose either from a pair of radio button or tabcontrol to toggle. Is tabcontrol a viable solution in this ...Show All
Software Development for Windows Vista Custom activity based on HandleExternalEventActivity
I would like to create a custom activity that responds to external events and then executes a sequence of activities. I initially created an activity derived from a sequence and added my HandleExternalEventActivity at the start of the sequence. However, because sequence does not implement IEventDriven I can't add it into an EventDrivenActivity sequence and therefore can't use the Listen shape to respond to my external event or something else. ...Show All
