-
- Text with wrong format for custom TextBox (with UserPaint)
by artur02
- 3 Replies
- Last post
by artur02
- I'm using .NET Framework 2.0. I've inherited from the TextBox control. The code looks like this:
Code Snippet
public partial class Edit : TextBox
{
public Edit( IContainer container)
{
container.Add( this );
SetStyle( ControlStyles .UserPaint, true );
InitializeComponent();
}
protected override void OnPaintBackground( PaintEv
-
- WSUS Install Fails; There is a problem with this Windows Installer package.
by Peter Marshall
- 14 Replies
- Last post
by Doug (MSA)
- I am trying to install WSUS on Windows Server 2003 R2 and the installer fails with the above error message.
The log files are shown here:
**********
**** 2006-06-01 14:29:15 13:29:15 Executing External Command: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -ir *****
***** 2006-06-01 14:29:26 13:29:26 External Command Exited, Return Code: 0 *****
Running a tran
-
- Cached versions - limit to 2 or 3?
by Ian Vink
- 3 Replies
- Last post
by Andrej Tozon
- If a user installed 10 versions of the app, there would be 10 cached copies on their PC. How can I limit that to only the latest 3 or 4 with the Project Properties in Visual Studio Ian
-
- IFormatProvider for Date Part only
by AlexBB
- 2 Replies
- Last post
by AlexBB
- I have this expression but I want to display the Date part only of DateTime. What kind of IFormatProvider do I have to supply and how to do it
Convert.ToString (this.dataGridView1.Rows[rowIndex].Cells[0].Value)
Thanks.
-
- using multiple timers at a time.??
by soujanya
- 2 Replies
- Last post
by soujanya
- Hi all...
My App consists of 2 to 3 timers , all running simultaneously , for different purposes.
Now.... How can I stop only one timer and again restart it after a certain time gap
I was trying to use Thread.Sleep() .... but with this, the entire process is held up. But I need only one timer to be stopped for a certain time, remaining all working at their own paces respectively
-
- DataGridView:handle DataGridViewLinkColumn events without selecting a row.
by RomanGuzi
- 2 Replies
- Last post
by RomanGuzi
- Hello,
I have DataGridView control with two columns. First column just a text, second column is a link buttons created with DataGridViewLinkColumn. Every time when I press on a link in the second column, I have a full row selected. How can I prevent row from being selected when I do click on a link
-
- Mouse wheel doesn't scroll panel. No Focus
by xr280xr
- 4 Replies
- Last post
by xr280xr
- I have a panel with several user controls that appear as group boxes. Depending on which child control is the active control on the form, the autoscroll panel may or may not scroll when using the mouse wheel. Why is it that, unlike a webpage, I cannot click on a blank area of the groupbox OR panel to set the panel as the active control so that I can use the mouse wheel to scroll Only child control
-
- Copying the content of a textbox to another
by AngelinaPerez
- 2 Replies
- Last post
by Gavin Jin - MSFT
- I'm trying to copy the content of a textbox, TextBox1.Text to another textbox, DATETEXTBOX.text. DATETEXTBOX.text is linked to a database table column with a datatype,DateTime. I want the DATETEXTBOX.text from to take data eg, 22/10/2007 13:30 from TextBox1.Text. TextBox1.Text = DateTime.Now.ToString("dd/MM/yyyy HH:mm"). I have tried various ways to achieve this but no success. Any idea
-
- GUI
by Alexei_shk
- 4 Replies
- Last post
by Alexei_shk
- Hi,
I have wrote 5 applications in .Net 1.1 two years ago. I want to change the gray standard colors to blue colors in all the screens. How can I do this (I didn't want to go over all controls and change it)
Thank's
Alexei
-
- Set Backgroundimage for mdicontainer on vb.net
by Max Bayne
- 3 Replies
- Last post
by nobugz
- hii all i need help to set any iamge for background to my mdicontainer because i tryed to but it from properties but it failed plz help me on vb.net .....
-
- Text and linkbutton on the same column of datagridview
by Bibek
- 7 Replies
- Last post
by Bob zhu - MSFT
- Hello,
I need to display some text and linkbutton on the same column of the datagridview.How is this possible
-
- uninstall the application from the Start Menu in clickonce deployment
by kailashswain
- 10 Replies
- Last post
by kailashswain
- Hi,
I am using clickonce deployment for smart client application. I want to add uninstall the application from the Start Menu in clickonce deployment. Please help me . This is very urgent.
-
- Count Gridview rows...
by Tom T.
- 10 Replies
- Last post
by Tom T.
- How can I get a count of the rows within a gridview
-
- BackgroundWorker and GUI
by ebence
- 2 Replies
- Last post
by ebence
- Hi!
I read, that from inside a BackgroundWorker's DoWork process I should not access the form's graphical components.
I have a form, and I had a private DataSet in it. The DataSet is to store data for a DataGridView. I want to load up the DataSet with the BackgroundWorker. Am I doing it right in the following way
1. I dissconnect the DataSet from the DataGridView (DataGridView
-
- [C#] DragDrop to Desktop/Explorer
by codetale
- 11 Replies
- Last post
by codetale
- i know how to handle file(s) are drap and drop into my window form. but how to handle/achieve drad and drop into desktop/explorer thank you very much
-
- How to: Line Graph using Crystal Reports .NET
by WinFormsUser13232
- 1 Replies
- Last post
by Hades Pta
- I am using Crystal Report .Net for charting my data. I am trying to show line graph with data values for two fields in access database ¡°Term¡± and ¡°Repayment¡±. The ¡°Term¡± field is DataTime and Repayment is Currency.
-
- Can't add any files to Merge Module Projects anymore
by bazad
- 2 Replies
- Last post
by bazad
- I have the following version of Visual Studio 2005 on Windows 2003 Server machines. I don't remember that, but I think VS2005 SP 1 is installed:
Version 8.0.50727.762 (SP.050727-7600).
Steps to reproduce:
1. open merge module project file
2. open File System View
3. Add a folder to "Module Retargetable Folder"
4. Try to add any of the following:
- file
-
-
- Problem with value DataGridViewComboBoxCell
by Simon Telling
- 14 Replies
- Last post
by Simon Telling
- In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon
-
- Conversion of console to windows
by EJohn
- 2 Replies
- Last post
by CalvinR
- Hello,
Anyone know how to convert a console application or its source code to a windows application
This is related to using the visual C 2005 express
Thank You very much!
Ed
-
- Control Button State from Values inside ComboBoxes...
by Antuntun
- 10 Replies
- Last post
by Yu Guo ¨C MSFT
- Hi, Is there a way to control a Button State, weather it is Enabled or Disabled, by selecting different Values inside ComboBoxes For example: I have a value called "Value1" and when it is selected "Button1" is disabled, and I have another value "Value2" that enables the "Button1" when selected.
-
- SerializationException "Cannot get the member 'Child_PropertyChanged'." when de-serializing generic collection
by BillyB
- 9 Replies
- Last post
by mark n
- I have created a custom generic collection class with a signature like so:
[ Serializable ]
public class blGenericCollection <T> : BindingList <T>, ITypedList , IListSource , IXmlSerializable where T : blObjectBase , new () {blah blah blah}
The child items that derive from my blObjectBase publicly implement INotifyPropertyChanged , as does blObjectBase itsel
-
- ClickOnce WinForm application - How can I apply a number of T-SQL scripts to my Sql Server database?
by Oliver Gurnell
- 7 Replies
- Last post
by Facey
- Could anybody please help me with my dilemma
I¡¯ve developed a winforms application in VB.NET which uses a local Sql Server Express database to store my application data. My application connects to the database using the new user instance option available in SQL Server Express.
I have successfully managed to deploy the application using ClickOnce so that the application installs and runs on
-
- C# open a new form, and close a form...
by jaomello
- 6 Replies
- Last post
by KlmSoftware.net
- Well... i want to do this: open a form and close the form that is open... Example: Form_P f = new Form_P(); f.Show(); this.Close(); But, my program close.. why
-
- Exposing ListView Column Header Collection Editor on a composite control
by SERware
- 2 Replies
- Last post
by SERware
- Hello,
I have a composite control with an inner ListView control and I want to use the ListView Column Header Collection Editor when the composite control is sited on a Form.
To do it I exposed de inner ListView on a public property:
public ListView InnerListView {
get {return innerListView;}
}
The InnerListView property appears in the properties window of the IDE
-
- exception during axhost.dispose
by nagual
- 6 Replies
- Last post
by nagual
- when I create an activeX control at runtime which in fact is a .net control exposed as a com object, the hosting axhost class gets the following exception during its dispose:
The object's type must be __ComObject or derived from __ComObject. Parameter name: o
When the activeX control is created by other means (e.g. visual basic 6.0) the dispose works fine.
The control is created by callin