-
- How to uninstall all related programs during uninstallation
by Jennifer Zhao
- 5 Replies
- Last post
by PhilWilson
- In our project, the main product is a huge msi . Furthermore, there are many small msi ,which are created by .Net setup project. These small kits can be regarded as patches to the main kit.
Each patch is an independent msi file, not just a "patch¡° package. Because each small kit can has custom action, which is not allowed by the stand "patch".
Here comes the problem. W
-
- what will happen if i use command builder
by seco
- 7 Replies
- Last post
by seco
- hi my program raise concurrency violation exception and i read all of the articals that MSDN says about that exception but at lastt one of my friends says that i need to use the command builder to make the update statment manually instead of using wizards in vb 2005 to generate sql statements so if i use the command builder is the concurrency violation exception will disappear if not what is the
-
- Memory Leak Problem.
by vasxx
- 9 Replies
- Last post
by invc
- Dear Gourus,
How I cane solve this problem A memory leak may occur when you create and then delete Windows form control objects in an application that is built on the .NET Framework 2.0
Thanks ,
Vasil Mamikonyan
-
- cancelling alert window
by renealejandrov
- 0 Replies
- Last post
by renealejandrov
- Hi I am calling a method of a com library that in teh middle of the processing shows a windows. I calling this method from a dll and since it does not has any graphic interface I think the method never return. Does any one knows a way of cancelling all showing of windows from a dll. Thanks a lot for any help
-
- How to press a button in another application's dialog (OK Button)?
by Azurewrath
- 7 Replies
- Last post
by Azurewrath
- Hi,
I am automating some stuff via COM, but for some reason one action brings up a dialog with OK, and Cancel buttons. Is there a way to press that OK button in my code
Thanks,
aw
-
- split parent form
by akram badr
- 3 Replies
- Last post
by Friendly Dog
- hi,
how can i split parent form into two parts each one of this parts has its own chiled form
-
- Drag Drop Multiple Items from Between List Boxes
by prashanth_prolific_coder
- 3 Replies
- Last post
by nobugz
- I have code that can drag drop a single item between list boxes.but I want to be able to drag drop multiple items. But as soon as I start dragging after selection of multiple items the item on whcih my mouse is on is the only one that gets moved at all.Also i am using the mouse down event whic i want to avoid because its causing some proplems with double click event which i use.
heres code i ma
-
- My controls change them order in parent control collection
by rrossenbg
- 5 Replies
- Last post
by rrossenbg
- Dear All,
I have a user control that contains two other controls. My controls change them order in parent control collection every time I manipulate some of them. Why that is so and how I can prevent it
Thanks.
-
- monthcalendar fires on each monthly scroll
by Nightowly
- 9 Replies
- Last post
by Nightowly
- I'm trying to allow the user to pick several dates from the monthcalendar, and have these dates show in a listbox as each is picked. Clicking a button after all of the picked dates have been collected will then move the listbox dates to a column in datagridview.
My problem is that the code allows duplicate picks into the listbox, and also fires new [& double duplicate] dates into the listbo
-
- How tochange font within a page when outputting to a printer?
by gaius
- 3 Replies
- Last post
by gaius
- I am writing a payroll program and need to be able to print checks. In order to print a check I need to be able to print text at various locations, often in a different font. I created a test program that allowed me to test fonts by printing them into a WinForm. Based on the results of my test, I then created a System.Drawing.Printing. PrintDocument. I have defined a few fonts as follows:
-
- Drag and Drop between my application and windows explorer
by Sathish Alagirisamy
- 14 Replies
- Last post
by nobugz
- Hello Gurus,
I have an application developed in C# ,drag and drop option implemented within the appication. In fact, I am able to drag the files from external windows explorer and drop em on my application. Now I want to drag the files from my application and drop em on external windows explorer or desktop and my application should be able to copy them. Could you please give me some sugges
-
- getting a value out of a label(constant update)
by Anonymousaaaaaaaaaaaaaaaahhhh
- 5 Replies
- Last post
by Anonymousaaaaaaaaaaaaaaaahhhh
- =V913 4.65e+04;59;11;0;
how would i only except the value 4.65e+04
this value is in a label and is constantly updated from a comport but that is within a timer,
iv tryed replace, remove and nothing works,
thanx
-
- can i set the datasource property of a BindingSource to a Generic collection?
by viswaug
- 2 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hi all, I have created a custom generic collection say CustomCollection<T>. But i am not able to create a datasource for the generic collection from the menu "Data-> Add New Datasource" item. Thus i am not able to set the datasource on my bindingsource to my CustomCollection<T>. Is this by design or is the design time functionality just nor present yet Is there any way i c
-
- cmd
by WEP
- 2 Replies
- Last post
by Gavin Jin - MSFT
- I would like to know how to use the command console in fullscreen mode. Or can I load it at the computer start I use Windows XP Home Edition.
Thanks.
-
- Scroll from outside DataGridView
by eddieb7
- 3 Replies
- Last post
by eddieb7
- How can I get the Vertical Scroll bar to change the position of it's thumbstick from outside the DGV
Cheers
-
- Reading from Excel
by Biswajitghosh25
- 14 Replies
- Last post
by Biswajitghosh25
- I want to read data from excel sheet. I make two text box in my form name txtBEG and txtEND. I want to retrieve all dates between the begining date and end date whatever the user types in that text boxes. The connection is showing well. but I am facing a lot of problem in it. I dont know why Everytime its showing an error messge "DataType mismatch" and the cursor is going to the data re
-
- Difference between datagridview and listview control
by AlucardHellSing
- 2 Replies
- Last post
by Mark Earl Allan
- What is the main difference between the two controls in c# vs 2005. What are the main benefits over one another and under what situation should I use which controls Thanks.
Regards
Goh
-
- TreeViewNode OnDraw
by DevDiver
- 3 Replies
- Last post
by DevDiver
- Hi,
I'm customizing a TreeView do draw lines lines from one node boundary to another point outside the treeview.
Can I continue to draw a line to a point outside the treeview control How
I tried to draw a line from the node until the TreeView control boundary.That was ok. Now, how can I get that exact point to start drawing a line to another control boundary (The other control is also a T
-
- Localization
by cybercrypt13
- 5 Replies
- Last post
by nobugz
- Can anyone tell me why I see the following
1) Turn on localization and leave language set to default
2) Add fields to form along with labels
3) Set Language to English and it generates the appropriate resource file.
4) Set language to Spanish and again, it generates appropriate file.
However, from this point forward, neither file gets updated with any new fields that I create on the
-
- Multiple controls in a single DataGridView cell
by Nathan555923
- 14 Replies
- Last post
by anders_sms
- Hi, I need to put a text box and button within a single DataGridView cell, the user should be able to edit the text or click the button which brings out another dialog. But I am not going to use PropertyGrid, use DataGridView only,
____________
text | button |
this is a single cell, user can click the text to modify it, or click the button
I've tried to modify the calen
-
- Calculating text fields
by anubisascends
- 8 Replies
- Last post
by Keyu
- Hello, I am new to C# and trying to perform come calculations. I tried this code, and unfortunately it isn't working. private int calcTotal(string ctrlName) { int Total = 0; foreach (Control ctrl in this.tabCharAbilities.Controls) { if (ctrl.Name.EndsWith(ctrlName) == true) { MessageBox.Show(ctrl.Text); Total = Total + int.Parse(ctrl.Text)
-
- Windows Activation
by Impact247
- 1 Replies
- Last post
by Gavin Jin - MSFT
- Hi. I have just formatted my hard drive and when i try to re-activate windows it says my key is in use. Is there any way to re-activate not via phone Any help appreciated. Sorry if this is wrong place to post.
-
- InvalidOperationException with DataGridView bound to object data source
by cgsteve
- 7 Replies
- Last post
by Chrissivo
- I am getting an InvalidOperationException with the message "Operation is not valid due to the current state of the object." when using the DataGridView and an object data source in 2.0. After going crazy trying to find the source in a larger application I created a very simple app to see if I could reproduce the error and found that even a simple example application causes it. Here are
-
- How to get Datagridvieweditingcontrol programmatically
by wirol
- 3 Replies
- Last post
by wirol
- Hi all,
I would like to get the datagridvieweditingcontrol programmatically, for examply by specifing column and row index.
I know that we can get this datagridview.EditingControl or when the editingcontrolshowing event is fired and parsing the e.control....but they are currently in editing state...
But my problem is I want to get the combobox control that is not currently in editing stat
-
- Need help with data in a Windows Form application
by don06van
- 3 Replies
- Last post
by Donovan Palmer
- Hi there,
I just recently took some classes on C# at my university and at the end of the semester we started using Windows Form Applications with C#. Unfortunately the professor didn't really go into detail or focus on this that much.
I have been interested in learning more so I've been trying to develop some cool applications.
Right now I'm trying to create a program that the