Success's Q&A profile
Windows Forms Application.EnableVisualStyles()
Dear All, I have developed an application in windows2000 where i include Application.EnableVisualStyles(); in C#. But the icons on the buttons of the toolbar doesnt appear in WindowsXP when this line is included.But it works in other OS such as WindowsServer2003 When that line (Application.EnableVisualStyles()) is commented icons are appearing in WindowsXP Any help is appreciated Thanks ...Show All
Windows Forms Validating - Which event is best for trapping?
I'm having problems trying to validate win forms. I would like to validate entries when leaving the control. But the event (leave) gets fired twice when using combo boxes. Private Sub cmb_PeriodDate_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles&nb ...Show All
Visual Studio Team System Max 260 characters in path + projectfolder-hierarchi + programname?
I have just had a strange error saying that there is a limit to the total length of the source control path + project internal path + program name that may not exceed 260 characters. That is obvously too little if you want a minimum of structure in both your team foundation server structure and your projects and you want to stict to describing names for your files. How to I change this setting regards Jens Chr You can't. It's ...Show All
Visual Studio Team System Web test failing RequestFailed: The value of the date string in the header is invalid.
All webtests I run from VS2005 RTM are failing with a response of: RequestFailed: The value of the date string in the header is invalid. The request looks like this: GET /Angel63/sidebar.asp HTTP/1.1 User-Agent : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Accept : */* Accept-Language : en-US Host : 600m01 Cookie : ASPSESSIONIDSATDSCQA=LMGPKPGDJNEPFDPPJKBKILEP Accept-Encoding : gzip I can successfully run the same test using the beta 2 re ...Show All
Windows Forms Connecting to the public server
Would anyone be able to help me get connected to the public server (http://terrariumgame.net/terrarium) I am able to connect to the server for approximately 5 seconds. I am able to upload my bugs and plants, but I am not receiving anything from&nbs ...Show All
Windows Forms RichTextBox AppendText from class file
I have a main form called Form1 - surpise there. On the form there is a rich textbox called rtbMsg with modifiers set to public. I have a separate class called ping.cs In this class, I am trying to append some text to the rtb, but doesn't want to work.... Form1 frmMain = new Form1(); frmMain.rtbMsg.AppendText("test"); It won't write to the rtb. Reasons Thanks, Zath Does ...Show All
Visual Basic Button Tool
I want to apply Windows XP button style on my Windows Form, but how First Add a TextFile to your bin folder and rename it to <ApplicationName>.exe. mainfest That should be manifest. ...Show All
SQL Server Cannot participate in the SQL 2005 E_Learning
I cannot successfully participate in the SQL 2005 E_Learning course at this link: https://www.microsoftelearning.com/sqlserver2005/ And accessing the course on thisl link: Course 2936: Installing and Securing MicrosoftR SQL Server 2005 Following this link: Test your computer's capabilities Yields error this message: Directory Listing Denied This Virtual Directory does not al ...Show All
Smart Device Development Attaching debugger to a running .Net CF process on smart device?
I've been testing the capabilities of the VS Beta 2 Debugger for device projects. Thus far I've been happy with the improvements. However, I've been having a hard time in testing whether the debugger can now attach to running processes on devices -- I thought I heard this capability had been added, and I see some UI to support it. Can someone let me know whether this should work in Beta 2, and if so, what I might be doing wrong See ...Show All
Windows Forms Interaction between Anchor and Dockstyle on TabPages - Autoscroll doesn't work
I have a WinForm application that uses a set of UserControls on TabPages. The user controls have different minimum sizes, and I want scroll bars to appear when the TabPage that the control is on is smaller then the minimum size. The UserControls are anchored on the TabPage, so they will grow and shrink with the TabPage. It seems like the Autoscroll property is what I want to use, but I can't get it to work. I've tried using different combinati ...Show All
Windows Forms Making child controls of UserControl editable
I have a UserControl subclass, CompanyInfo, with various controls (Labels and Textboxes) on it. When I'm designing this class, I can edit the controls, move them around etc., which is fine. However, when I build CompanyInfo into a DLL, then add it to the Toolbox and drop it onto a form in the Designer, I can no longer edit and move the various controls that CompanyInfo encapsulates. I have tried setting these controls to public access, but that ...Show All
Visual C# Can this be made more efficient?
Does anyone know of a better way of doing this I have been tasked to convert a VB 6.0 app over to C# and encountered this routine (there are more like this). Luckily the original coder believed in documenting but, I'm having a devil of a time trying to convert this to C# code! I've thought of possibly using a regular expression but I'm not at all familiar with them and so far have gotten hopelessly lost. Can someone please ...Show All
Visual FoxPro Cannot 'USE' two tables in VFP90 - XP ONLY?
I am using a stand-alone exe in VFP90 and I am trying to create a new form with the following in the init: SELECT 0 USE 'accntdb' ALIAS 'accntdb' SELECT 0 USE 'presetdb' ALIAS 'presetdb' I am compiling with VFP90 S/P 1. Now, this will open both tables when run on Win2K just fine, but when run on XP (latest s/p) only the data in the 'presetdb' table is visible in the browser. The alias is still recognized, but ther ...Show All
Visual C++ Temporary variables, threads and functions
Hi All, Dear Ram, Thank you for your reply, it is helpful! I just have an additional question. I would like to make a copy of the variables i pass to the thread. Since the variables being passed will be continuously changed, I want the thread to work on that instance of the variables, rather than working on changing ones. How best to do this Also, if I called a thread like this, would this be a valid way of passing variables to a ...Show All
Windows Forms differences between onPaint in VS2003 and VS2005
Hi, I have done my own docking panel that collapses and expands on the MouseLeave and MouseHover events. It works just fine under VS2003. However it doesn't work on VS2005. It expands but it is not drawn properly, and then when I click on the nodes of treeview contained by the panel, the treeview gets erased! I assume there is a painting issue there... Here is some of my code, is there anything not compatible <DllImport( "User32.dll ...Show All
