-
- NotifyIcon poping up a micro-window
by Lug Vélez Schmitz
- 2 Replies
- Last post
by nobugz
- Hi everyone... I was looking in the forum some issues about NotifyIcon tool, but I can't find some helpful about this little windows displayed by some programs like messenger when a new mail is in the inbox and something like that... I'm not sure if anyone else has asked for something similar... but: How can I send throw a NotifyIcon messages in a little window like a new mail or a new contact, li
-
- Paging in grid View control in C#
by Nikhil
- 3 Replies
- Last post
by Ken Tucker
- Hi
Can any one one tell me how to implement Paging with a data grid view control
in Dot Net C# 2005
-
- Adding a Rectangle object to a Panel
by ugp
- 6 Replies
- Last post
by nobugz
- I was able to add a button/label to a Panel like this; this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.label11); this works..OK!! But, what I need is to add a Rectangle object to a Panel. I draw a Rectangle object; Graphics graph = this.CreateGraphics(); Pen penCurrent = new Pen(Color.Red); Rectangle Rect = new Rectangle(300, 50, 150, 75); graph.DrawRectangle(penCurr
-
- Moving a Windows Form.
by Greg_AD
- 4 Replies
- Last post
by nobugz
- Hi,
I'm trying to find some resources on how to do the following on a user's desktop;
A) OnLoad find out what windows objects currently exist on the user's desktop (thereby load in the correct location appropriately).
B) Move a window on the user's desktop. I.e., When the form loads I want it to slide in, not just appear).
I have not had any luck finding resources on the above, so if a
-
- System.Diagnostics.Process
by Jeremy H.
- 4 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I am trying to use the System.Diagnostics.Process to execute an external utility executable. When I do the .Start() it is executed fine, but then does not return any data. When I run the utility on its own, I see a message in my command prompt. I need that data that it returns, any clues how I might be able to access it
-
- How to deselect the DataGridView row header
by mauro_camb
- 3 Replies
- Last post
by vkh75
- Hi, I'm trying to figure how if it's possible to completely deselect rows, including the arrow symbol in the rowheader cell. The reason I am trying to do this is because with multiple selections (eg. using CTRL key) the user can select multiple rows, but they can also deselect previous selections. Example: - Select first 3 rows with CTRL key - Deselect 3rd row with CTRL key. The SelectedRows colle
-
- ToolStrip problem
by cygnusx
- 2 Replies
- Last post
by nobugz
- Ok,i have a ToolStrip control and have a buttons on it,when i click on the one of the buttons at the runtime the cursor starts blinking.How to fix that
-
- C# - ListView
by IamHuM
- 5 Replies
- Last post
by vinay.p
- Hi...
In my ListView code i have 10 rows & 10 columns. I want to search 1 word say "Search" in a perticular column(& all rows) & then if i have that word in that column then only i have to select that perticu;lar row or else i have to delete that row from completely ListView .
(e.g. I am searching for word "search" in column 5 & i found that word in row no
-
- How to catch the event when user clicking outside of a dialog box
by Lanceli
- 5 Replies
- Last post
by PhilipDaniels
- Hi there,
I have a MainForm opens a child form as dialog box (eg: ShowDialog() ). If user click anywhere outside the dialog box, I would like to catch that event and close the dialog box. Anyone knows how to do it Your help will be very appreciated.
BR,
L
-
- need help with Datagrid's Captiontext
by janue
- 10 Replies
- Last post
by janue
- hi, I want the captiontext of my datagrid to display the data of the cell I selected, I tried alot of ways and search throughout the Internet but no avail. My project was passed down and the older version is able to display the selected cell's data into the captiontext of the datagrid, but its done by configuring the properties of the datagrid in design view instead of coding. Can this be done by
-
- Typed dataset memory leak or mistake made in programming?
by Patrik
- 1 Replies
- Last post
by Patrik
- Hi there.
I'm currently working in a system that uses typed datasets to represent business entities.
We have quite a few batch jobs that are intended to run at certain times during a day.
Some of these batch jobs are handling quite a lot of data and are running for more than 24 hours at a time. The problem is that we run out of memory from time to time.
It seems to be related to ho
-
- How to add Merge Module Install Condition ?
by Nirav Mehta
- 3 Replies
- Last post
by Ghaznavi
- Hi,
I am facing problem on Merge Module Install Condition.
there is no property to set Merge Module Install Condition.
In my installation i have put two selection box. 1. server 2. client
If user select server then only installer should install merge module.
But here merge module is also install for client.
I can put condition for other files and its works fine but I
-
- Read and write *.csv File
by Shaantu
- 5 Replies
- Last post
by Shabber
- How can i read *.csv file and import data in database also read data from database and write in *.csv file
-
- DataGridView Combobox Refresh/Update - VB.NET 2.0
by treybe
- 7 Replies
- Last post
by treybe
- I have an unbound datagridview with three comboboxes (e.g. A, B, C) All three comboboxes share the same datasource and use the same valuemember. If I change the value of say combobox A, then B and C change also.
My problem is that B and C do not show the update until after I click off of combobox A. I want B and C to update as soon as I make the selection on A. How do I do this
-
- MonthCalendar control set DisplayRange
by Ram Kumar K
- 6 Replies
- Last post
by Ram Kumar Karnataka
- Hi, Can anyone please let me know how to set the DisplayRange of the MonthCalendar control of .NET 2.0. There is a method MonthCalendar.GetDisplayRange(bool) but am not able to find a way to set the DisplayRange. Best Regards,
-
- Access to VB.NET 2005 treeview growing pains
by I Think I Swallowed A Bug
- 2 Replies
- Last post
by I Think I Swallowed A Bug
- I'm an Access programmer trying to move my VBA programs over to VB.NET 2005 and I'm having trouble learning the new controls. In Access I have a treeview control populated from a SQL table at run time. My database looks like this:
ID
Name
Hierarchy
Parent
2
Laser Printing
1
0
3
Cut Sheet Simplex
2
2
4
Cut Sheet Duplex
2
2
-
- About MouseMove message
by TedZhao
- 1 Replies
- Last post
by nobugz
- UseCase1:
- Press mouse left button on windows form control
- Don't move mouse and release the left button
The mouse message will be "WM_MouseDown", "WM_MouseUP", "WM_MouseCaptureChanged" and "WM_MouseMove"
Why does control receive the last receive message
UseCase2:
- Write a custom control inherit from system contro
-
- Data Grid results dissapear when Master Table is Filtered
by Warez_Willy
- 2 Replies
- Last post
by Warez_Willy
- Newbie. I have a Master table [Current_Jobs] displayed in windows form Details format. On the same form I have the table [DeliveryDates] displayed as a data Grid View.
Everything works nicely
I have a "search" button that filters data results of [current_jobs]
When I run the search the Master table is filtered fine but all the child datagridview results dissappear.
-
- Rowediting does not work?
by Schliff
- 3 Replies
- Last post
by Schliff
- Hi there,
I am not sure if I am right within this forum but it's worth a try:
I try to build a GridView and receive the data from SQL Server 2005 - if I implement the source within the .aspx-file it works fine to make the rows able to be edited (
< asp : SqlDataSource ID ="SqlDataSource1" runat ="server" ConnectionString =" <%$ ConnectionStrings:ACUConn
-
- Using a link in a datagrid view.
by Rudemusik
- 3 Replies
- Last post
by Yu Guo ¨C MSFT
- Hello All!
I have a datagrid in my windows form, working in vb.net. I made the "First Name" a label link. What I would like to do is the same thing I can do in a web application. Click on the link, and the details of that record fill another small datagrid in the second form. Can sombody show me a sample or point me in a direction on how I can do this in a windows form.
Tha
-
- How can I get Select EventHandler for ToolStripMenuItem
by Misbah Ahmad
- 5 Replies
- Last post
by TilakGopi
- How can I get Select EventHandler for ToolStripMenuItem as I we can get Select EventHandler for MenuItem
In Case of MenuItem:
MenuItem mi = new MenuItem("File");
mi.Select +=new EventHandler(mi_Select);
In Case of ToolStripMenuItem:
ToolStripMenuItem tsmi = new ToolStripMenuItem("File");
Tsmi. What should I do
-
- Checkedlistbox event to update a label
by DVAz
- 5 Replies
- Last post
by Steve Py
- Basically i am trying to find something like "checked state changed" event, but cant seem to find it. Here what im trying to do, its pretty simple. I have a checkedlistbox that creates a byte. []bit1 []bit2 []bit3 []bit4 . . . I want to create a label that displays the value of the byte based on the selected items on that list. I tried using the "SelectedIndexChanged" event, t
-
- OnCellPainting problem in DataGridView
by thedo
- 2 Replies
- Last post
by thedo
- Hi,
Ive written a customised version of the Microsoft .net 2 DataGridView. I did this by inheriting the MS one and setting some features in the inherited one to make the style consistant throughtout my app (alternating line colors, single row selection by default, yada yada). I was asked to add icons to the row header (on the left of the grid) to symbolise the state of some of the data in t
-
- Timer problem with windows service
by .net sukbir
- 13 Replies
- Last post
by Andrej Tozon
- Dear All,
I have set a timer for my windows service. The problem is that when I start my windows service it writes to a file and I find that it just wrote once that is when the service starts. I set the interval to 10000 that is 10s. So what is the possible problem here any help please
-
- Icon.Save throws an error
by erikkl2000
- 5 Replies
- Last post
by nobugz
- I am tring to save an icon from the from ( or just an icon in general ) using the Icon.Save method and i can not get this method to work correctly for me.
Can someone point out to me how to use the Icon.Save method
---------------Error--------
Problem saving icon
Error HRESULT E_FAIL has been returned from a call to a COM componet
-----------------------------
if ( this .