-
- Data grid view check box event
by Prashweenet
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi All
My windows applicaiton (VB 2005) , I use a datagridview control for my grid. There, my first column is a check box. when i check or uncheck this check box i need to fire an event from which i can validate my other columens.
My problem is how to fire an event when the check box ticks.
/Thanks in advance
Prash
-
- Groups won't display in listview
by Dan McCoy
- 1 Replies
- Last post
by nobugz
- Hello I am having trouble adding groups to a listview control. Here is some example code:
Code Snippet
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace ListviewTestApp { public partial class Form1 : Form { public Form1() { InitializeComponent()
-
- Preventing a selected row in a datagridview upon loading
by miso-aa6
- 6 Replies
- Last post
by Nlucas
- HI guys. I have a datagridiview control. My problem is this. Upon loadingthe datagridview. Row[0].Cells[0] is selected or the entire row is selected. How am I gonna prevent this I need my datagridview to be clear of selection on loading it. I tried clearselection() and row[0].cells[0].selected = false after binding the datagridview to a datasource bu this things JUST DONT WORK and still the data
-
- Strange behavior of Splitter container
by NareshG
- 3 Replies
- Last post
by Christian Liensberger - MSP
- Hello all,
I have a tab control and a splitter container on one of the tab page, when I select that tab page the SplitterMoved event raised. But the documentation says it Occurs when the splitter control is moved, I am not moving the splitter.
Only first time this happens, next time works as expected.
-
- Help needed for WinForm Application
by reddy4all
- 1 Replies
- Last post
by Ken_Bussell
- Hi-
I don't know whether this is the right forum to ask this question but ........
I am implemented one stand alone winform application developed in .Net 2003 and used as MS Access Database but the Database size is increased to approx 2GB. So, My application performance is screwed. I would like to improve performance. I am planning to go for SQL Express.
Main problem is when i change the
-
- undo function
by diditel
- 4 Replies
- Last post
by diditel
- currently, i need an undo feature in my image processing form.
i have no idea how it should work.
should anyone have any expertise in this, do pls help. thank you.
regards, diditel
-
- How to add tool to the toolbox in Visual studio 2005
by Four Seasons
- 3 Replies
- Last post
by Gavin Jin - MSFT
- How to add tool to the toolbox in Visual studio 2005
I want to add FarPoint spread to the toolbox in visual studio 2005
thank you.
-
- Intersecting GraphicsPath objects
by Aaron Sher
- 2 Replies
- Last post
by Aaron Sher
- I've got a class named Shape, representing an abstract geometrical shape. I'm trying to implement it using a GraphicsPath object to represent the underlying geometry. One of the important operations this class needs is Intersect, which would minimally be a Boolean operation - do the two shapes intersect I see that I can construct a Region around the GraphicsPath and use that to do the intersectio
-
- Form Cloning
by Deepa Hoysala
- 2 Replies
- Last post
by nobugz
- Hello,
I am working SCSF in VS2005.
I want to create a clone of a view(usercontrol) in the project.
So i tried reflection and serialization, both ways to clone the object.
But am not able to get the state persistance.
The state should also persist in the cloned object.
Please help me.
Thanks
Deepa
-
- Handler for menu click event - foreach error
by Can-Ann
- 14 Replies
- Last post
by nobugz
- I am trying to create a handler for all items and sub items in the menu_click event.
The foreach is given me an error - can anyone explain how to correct.
Code Snippet
#region Handlers
//Recursive method to set the handler for the click event on all menu items
private void SetMenuHandlers( Menu parentMenu, EventHandler handler)
{
foreach ( MenuItem m
-
- crystal Report command problem
by Ather.
- 1 Replies
- Last post
by Wei Zhou - MSFT
- i want to make a report with (command with parameter) i mean the Sql query with parameter how can i do this here is some code
this is the command text
SELECT m.Med_Name , s.Sale_Date , s.Sale_Price, s.Sale_Quantity FROM Sale s INNER JOIN Medicine m ON s.Med_ID = m.Med_ID WHERE s.Sale_Date ={ dat}
Dim cmd As New rptSales
Dim rpt As New rptSales
'rpt.SetParameterVal
-
- DataGridView vs TextBoxColumns
by PolkaDance
- 5 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi,
I need to have a multiline textbox column in a datagridview....where you can actualy use Enter to change line, not change rows(Which was a silly key to use for that in the first place). How am I supposed to do that Of course, a multiline property for the column is so obvious that it isn't there...but it's not even there for the DataGridViewTextBoxCell class either!
To make matter
-
- ClickOnce vs Setup project
by Jarodtweiss
- 6 Replies
- Last post
by IanInSpokane
- Hello All,
I have a simple application and I wanted it to be auto-updatable. So I was looking a bit to ClickOnce deployment which seem to work nice but as it will install the software will be installed in "Local Settings" folder, my application will not work properly.
It want to ba able to deploy it in the "program files" folder.
So I was looking for a normal s
-
- cannot find table 0
by bslim
- 3 Replies
- Last post
by ahmedilyas
- Hi all,
I had the following piece of code.
System.Web.UI.WebControls. DataGrid EOWDataGrid = new System.Web.UI.WebControls. DataGrid ();
conn = new NpgsqlConnection ( "Server=" + PGIPAddress + ";Port=" + PGPort + ";User Id=" + PGUserName + ";Password=" + PGPassword + ";Database=" + PGDatabase + ";" );
this
-
- Add rows into a usedrange of an excel worksheet
by Biswajitghosh25
- 4 Replies
- Last post
by Biswajitghosh25
- Dear All,
I have two excel table. I copied first table contents to the second table by using UsedRange and copy method.
But I would like to add more data to the second table. For that I again used the method UsedRange e.g.
Microsoft.Office.Interop.Excel. Range tempRng = tempWkSheet.UsedRange;
Then I would like to add more rows in my tempRng. But How could I
Can
-
- how to save the content of richTextBox as jpg file?
by Rush hour
- 12 Replies
- Last post
by Deecke
- Dear all, I looked through the website for the information about saving content of richTextBox as jpg file. E.g. there are some lines and some words in the richTextBox, and I wanna save them as the jpg file. However, it seems workless. Can you give me some hints Thanks in advance, Cordially, B-D
-
- c# .net word-xp textbox
by pini solomon
- 10 Replies
- Last post
by pini solomon
- NEED HELP!
how to insert values to an existing textbox in word-xp document using VS2003 with c# .net framework 1.1
(I dont want to use VSTO)
thank you,
-
- Select All in FileView
by wayliff
- 4 Replies
- Last post
by wayliff
- I'm having trouble being able to use CTRL + A to select all items of a fileview.
I'm able to do multiple selections and eventually select all by using Shift and the mouse but would like Ctrl + A to be available.
How can that be done
Thanks
-
- Package Uninstallation Issue
by Danish Tehseen
- 3 Replies
- Last post
by Danish Tehseen
- I have created an Outlook 2003 add-in deployment package. It has two dependencies
1. PIA - 2003
2. VSTO 2005 SE
The package installs smoothly. The issue which i'm facing is if .Net framework 2.0 is uninstalled and then I uninstall my application an exception is thrown "InstallUtilLib.dll:Unknown Error".
If VSTO 2005 SE or PIA - 2003 are uninstalled first, the ap
-
- Flickering ComboBox when loading data from Database
by o00oo00o
- 2 Replies
- Last post
by o00oo00o
- I have a combobox that gets new set of data (bounded to DataTable) everytime user select a data from another combobox.
The combobox always dissappear then reappear, how do I prevent that
I tried to suspend layout and resume layout and it still the same. I tried to make the container doublebuffered but still does not make any difference.
Is multi-threading going to help
I have n
-
- need help in gridview in Windows form application
by isal
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hello everyone, In Aspx page in web applications, we have ItemTemplate and BoundFields which we used for the datagrid, now i m working on windows application, i want to add DataGridView in my form , in the grid i also add the comobox in one field, i have no idea how to add it or how to use datagrid in windows application,i want when form load, the comobox is filled with the data (e.g.Item Names)co
-
- DataGridViewRows problem
by cygnusx
- 14 Replies
- Last post
by cygnusx
- I have a big problem with DataGridView control.I populate rows in the DataGridView which represents text files.I have function which search for a certain word in contents of these files.If there is no match in some of the text files i delete the row which represents that file.I do the following:
Code Snippet
foreach ( DataGridViewRow row in dataGridView1.Rows)
{
if
-
- Playing flash files
by Normal Man
- 3 Replies
- Last post
by Wei Zhou - MSFT
- I want to play the Flash files in Windows Forms
How shall i do that...
Post me the link or the code for that
-
- Fast scroll of a bitmap?
by Matthew Watson
- 14 Replies
- Last post
by Matthew Watson
- Does anyone know a good way of scrolling a Bitmap that is selected into a Graphics object First let me explain my situation - I may be doing things wrong from the start... I'm doing a fairly complicated display (ECG with annotation and selections), and to speed things along I chose to do all the double-buffering myself. Accordingly, I have a Graphics object called _canvas1, which is attached to a
-
- picture box binding
by augustin
- 14 Replies
- Last post
by augustin
- How do you bind images automatically into the picture box just by selecting the data from the combo box