Answer Questions
Andy-Staffs Form Data
I have a Windows Form with 9 tab pages, each tab page has around 10-15 fields for the data entry. I use standard databinding when form initially loads data from the datatable (SQL Server). I have button on the form called Close. When somebody c ...Show All
rana das Two panels, invalidate only one
Hey, i have two panels in eatch I draw some lines, the problem is when i use panel1.Invalidate(false); booth panels update. WHY ...Show All
Sebastien FLAESCH How to replace carraige returns in DataGridView
I am trying to replace carriage returns/line feeds with spaces in a DataGridView column. I am importing this data from a parse engine that I am using in the application. In the DataGridView, they Cr/Lf comes across as a square (hard code). My question is what code do I need to replace this with and where do I place this code in my application So far, I have done the following with no results: 1) try to replace ...Show All
Moien NumericUpDown with XP visual styles
Hi all. I have a problem with numericupdown control, it not change visual style like all other in my C# app test. I had tried with Application.EnableVisualStyles(), and adding manifest file. Thaks for your help. Same problem here. Does any one ...Show All
Dmitry-Khmel Adding a Browsable Property to a Base Form
I've not done much serious development with WinForms (mostly Web), so I'm sure this is a basic question. I've got a base form on which I'd like to define some browsable properties (that will show up in the properties grid). The problem is that I can't get the properties to show up. Here's an example: private Type _nextFormType = null; [EditorBrowsable(EditorBrowsableState.Always)] [Browsable(true)] [Description("Specifi ...Show All
PhoneGuarder datagrid currentcell highlighting
Hi! How can I make highlighted cell in the datagrid control Thank you! Yes. I want the cell to be highlighted by the border. Like Excel cell. Thanks Could you explain what you want to do. Do you want to make the cell&nb ...Show All
David Daniel Cannot inherit form from inherited form
I am using VB dot net and have a base form which is then inheriten by other forms. I also have another base form that extends on the orignal base form. When i attempt to create a form base on the extended base form i get a messag ...Show All
neil mosafi Webbrowser can’t be seen after the size has been set
Hello, I'm using the SHDocVw.dll in vb.net 2.0 to create a webbrowser, so far I have been able to do almost everything I want with the browser but one thing is driving me crazy!!!! When a new window is created I size the window form and the browser control to the new value, however after everything is sized the webbrowser control disappears and it can only be seen again after the form is resize. Why is this happening I have change my code a ...Show All
Jamie Thomson BUG: Application.EnableVisualStyles() breaks ToolBar control
Create a windows forms application, add an image list and load some random images. Now add a toolbar, set the imagelist to the image list previously added and then add a couple of buttons. Set the pictures for the buttons to any of the loa ...Show All
Mike Awai Textbox as "a required entry" using triangle mark in its right bottom corner
Hi, anybody help me, please I want create a Textbox which inherits System.Windows.Forms.Textbox but have the ability to indicate that the Textbox is a "required field entry" by giving triangle mark at its right bottom corner. A boolean Required property can be added, allright, but my problem is how to draw the triangle mark when user set the Required property to true Inheriting from System.Windows.Forms.Textbox is another one I needed, because I ...Show All
Dan J Gros Can't apply a DataGridTableStyle to a Datagrid
Hello, I've this code: Private Sub BuildDgStyle() Dim dgStyle As New DataGridTableStyle dgStyle.MappingName = Me.Tabella Dim colCodice As New DataGridTextBoxColumn col ...Show All
One Eyed Phil Connecting to a Remote SQL Server via windows forms
Hi I am trying to find the best practice to connect to a remote SQL server from a windows forms application. The SQL Server does not belong to same network or domain and has been configured for mixed authentication. I know we can encrypt the connection string within a config file but do we ensure that the credentials are not passed as clear text along the wire in a secure format. Configuration: SQL 2005, ADO.NET 2.0, VS.NET 2005 What ...Show All
WilliamAY Top-level forms
My project uses two forms: the first form (frmLoading) appears at the starting of the program. Then I need to close "frmLoading" and to show "frmMain". I use this code to show "frmMain". frmMain* frm = new frmMain(); frm->Show(); And to close "ftmLoading" I use: this ->Close(); But when frmLoading closes, frmMain closes too. And I want to forbade the closing of frmMain, when I close frmLoading. How can I realise it ...Show All
SaravanakumarS Does the new terrarium work for anyone?
Just thought I'd ask Is anyone ELSE feeling a little stupid for installing the new version before ANYONE reported it worked Some one is really playing with all our poor hearts (and creatures that we have created and&nb ...Show All
Tom_MTB Toolstrip menu items icons + form designer
Hi, I have 2 problems with my project: 1. The icons for the toolstrip menu items are not displayed right. If I choose ImageScaling = None their bottom is truncated, if ImageScaling = SizeToFit they are distorted. 2. If I rebuild (not build) the solution, when I try to open the MainForm from Valil.Chess project in the designer I get " One or more errors encountered while loading the designer ... ". I get rid of the error if I close ...Show All
