Answer Questions
UKSpesh Checked Items in DataGridViewCheckBoxColumn
Hi all, I have a DataGridView control binding with a DataSet, and a DataGridViewCheckBoxColumn is placed at the last column. Now, I want to get the checked items from this DataGridView and do other processes. Can you tell me how can I do this (E.g. loop all rows in DataGridView and then cast the CheckBox control, so that I can retrieve the value of the CheckBox as well as the values of cell[2] and cell[3].) Thanks, Peter ...Show All
Rylandu Hiding UserControl.
In the main form, there is a button and a usercontrol. usercontrol.visible=false When the button is clicked, usercontrol appears. That is, usercontrol.visible=true Everything is O.K. till now. When the user clicks outside the usercontrol, that is a pl ...Show All
ClintC Resource strings c#
Hi Can some point me in the right direction with resources in c#, I've added a string to the resource editor (under project properties), now I want to use that string. I'm want to change the text property of a form using the resource, I have the following: using <AppNameSpace>.Properties; private void FrmMain_Load( object sender, EventArgs e) { this .Text = Resources .ResourceManager.GetString( "ApplicationName" ); ...Show All
BioSlayer GDI : Mouse over the pie's slice's area
Hi all, I am newbie in .net and right now i have a problem I Try to make pie chart graph using graphics.FillPie. I want to make each slice have onClick event on it. but the problem is How can i know if the mouse is over the slice's area Thx b4 Deep Dreams Deep Dreams, Once drawing operations are made to a Graphics object, they no longer exists as individual objects. There won't be a way for you to get at that object fo ...Show All
Steve Fu Displaying ppt files in fullscreen
Hi! I'm developing a Winforms application that needs open a powerpoint presentation when a certain event occurs in the application, and start displaying the slides. When the presentation is finished I need to close the presentation. Does anyone know how I should approach this Regards, Vidar I've been experimenting with the WebBrowserControl.. So far it loads the powerpoint file without any problems ...Show All
Lucrecio Menezes Merging ContextMenuStrip to ToolStripMenuItem
I have a context menu which defines a basic set of items(add, remove, properties). I would like to add these items to a ToolStripMenuItem. Using the MainMenu and ContextMenu from .Net 2003 this was very simple to do using the following code: MainMenu1.MenuItems(1).MergeMenu(ContextMenu1) I have tried the ToolStripManager.Merge function but the incoming types are different. There is very little documentation still for Whidbey, as expected since i ...Show All
Steven13 Listview & Scrolling
Hi, I'm using a listview control to have a log screen. So every 10 seconds a new line is added, at the bottom. Now, I know how to code that the last line added to the listview is always visible by using the ensurevisible property. ----------------------------------------------------------------------------- Public Sub AddToLstv(ByVal lstvListView As ListView, ByVal AddItem As String, ByVal ImageNumber As Integer) lstvListView.Items.Add(AddItem, ...Show All
Christopher Janecek error C2065: 'Graphics' : undeclared identifier
Dear All, First time use GDI+. I will try to create a Graphics object in my VC7.0 program(not use NET funcitons, just pure C++). However it always reminds me above errors: c:\zmt\test11\test11View.cpp(60): error C2065: 'Graphics' : undeclared identifier I add tho ...Show All
parth1729 KEyboard Control
Hi, Is there any customisable keyboard control that I can use in my application I might need to customise it to remove a few keys, add new keys and change the functionality of a few keys. Can I download code from somewhere or s ...Show All
g_politis 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
swivel How to use BindingSource.Filter to select Null fields
I have a BindingSource control bound to a DataSet table. The table has a column called EndDate, which can be Null. I want to set the Filter property to select only rows that have an EndDate of Null, or have EndDate after today. This is what I tried: Me .myBindingSource.Filter = "IsNull(EndDate, '01/01/2099') > '" + Date .Today.ToShortDateString + "'" However, that didn't work. What is the correct syntax ...Show All
Glenn Burnside outlook 2000 e-mail format
Hi, What causes my e-mail to show up to the sender like this "I was hoping to ask your opinion since you know my background somewhat and I value your opinion. Do you think I would be better off taking A+ certs (covers System hardware and OS), Net+ (covers network basics and a bit more), Linux+ (covers OS) and MCP (skills to successfully implement a Microsoft product or technology). Eventually taking MSCA certs. ...Show All
bishoycom Email Attach using XmlHttp causes problems
Hello, I am having a problem with this email attach method. All I am doing is using an adodb stream to upload the file to a given location. I create an XML out of the data provided and do a Send using Call loXmlhttp.Send(loXmlDom). It alwa ...Show All
Muhammad Mohtashim Jangda Panels, the Designer, in C#
Am I just missing something, or are forms the only thing that you can visually design I've tried designing PropertyTab derived classes and Panel derived classes and the designer doesn't seem to let you visually design those window components. Thanks, Aaron ...Show All
Angry SQL 2005 User setup error
ok about half way through the setup of Windows XP Service Pack 2, a message comes up and says " Unable to read from or write to the database." anyone know why its doing this I am having this same problem. Do I have to remove SP1 How do I do that Does anyone have any other suggestions Thanks. Hi Cory442, If i am not wrong, you are trying to installing Windows X ...Show All
