-
- Complex user control not responding to click events
by robalexclark
- 3 Replies
- Last post
by nobugz
- Hi all,
I'm wondering whether any of you people can help me out with this problem that I have with a user control that I have been trying to get working.
The first part of the user control is a flat circular button ( called SampleButton) that toggles colour when clicked. This control has an OnClick method as follows
protected override void OnClick(EventArgs e) { base.OnClick
-
- Form Control Advice
by thallish
- 2 Replies
- Last post
by thallish
- Hi
As I have never played around with windows forms before, I could use an
advice on which control to use or mixture of controls if that is the
case.
What I am trying to accomplish is to make a program which I will use
for when I am creating work-out programs.
This is first iteration so only the basic features will be implemented right now. Firstly, I want the layout to be as I am writ
-
- Short Cut To Different Outputs
by Anthony Abate
- 2 Replies
- Last post
by PhilWilson
- I created a utility project that creates an exe as an output that im including into the setup project. I can see the exe listed in the output section of the primary output.. It gets correctly included when i test the installer, however i dont seem to have the option to create a short cut to it. Similarly, I dont seem to be able to create a shortcut to other output types. is it possible to create
-
- question on using Select method to update dataset
by smhaig
- 2 Replies
- Last post
by smhaig
- When I use the getchanges method to update a dataset, I can find out before hand how many inserted, modified and deleted rows exist using, for example
Insertedrows = ds.Tables(1).GetChanges(DataRowState.Added) and I can check the row count.
How do I determine the number of records that have been added when I use the select method:
daOrders.Update(ds.Tables("Orders").Select
-
- CheckedListBox Issue
by ttriguero
- 2 Replies
- Last post
by Zhi-Xin Ye - MSFT
- I have a CheckedListBox that is set to a certain size...lets say that it will hold 20 items. My datasource fills the collection with 5 items. so I have a bunch of whitespace within the CheckedListBox control. Now here is the problem, I click on one of the items(not clicking the checkbox, just on the row) and it highlights that item, it does not check it. Now I move my mouse down to the white space
-
- Change the Background color of User Interface.
by nisarg
- 3 Replies
- Last post
by Ghaznavi
- Hi all,
I am developing project of type Setup and Deployment using Visula Studio 2005.
I am facing problem while changing the background color of each User Interface.
I try a lot to change the background of Each element from the properties window of Element but i cant find the way to do that.
I also used "ORCA" to do that but i am not able to find appropr
-
- Mouse inside or outside the client area
by pasha2k
- 7 Replies
- Last post
by nobugz
- Hello everyone, How
can I check if the mouse is inside or outside the client area.. To be
more specific I have tried to make a calculation for inner controls but
this do not work for the Form. I also tried to add a MouseLeave event which sets the
mouseInside boolean to false and a MouseEnter event which sets the same
boolean to true.. But interestingly when my mouse is over a control inside
-
- Uploading app to website
by wencey
- 8 Replies
- Last post
by wencey
- Ive developed my program with vb express, and now i want to upload it on the website. How can that be done Does microsoft web developer 2005 help
-
- Invalid value for 'Clrversion'
by Thomas N
- 6 Replies
- Last post
by jwaters
- When I try to publish my program i get this Error:
Invalid value for 'Clrversion'
I guess it is a problem with my framework. I don't get any errors when I build or debug my program. Any one who can tell my how to resolve this issue
-
- Creating a Class Library for separate App
by Loki70
- 2 Replies
- Last post
by Loki70
- I am using a commercially sold software package that is used for touch screen applications. This software supports using custom ActiveX controls on it's design surface and it has VBScript imbedded in the application. I am struggling to create a control that can be used by this software.
I read somewhere that only VB6 can create ActiveX controls - is this true If so, it would seem to be
-
- auto repair problem
by Ying06
- 3 Replies
- Last post
by PhilWilson
- I created a project which include many files (about 3500). It seems works fine for a while after being installed.
However, now there is a client report every time he tried to run the program from the desktop icon (or icon in program folder). The program tried to start the auto recover processes. I checked his installation folder, the executable files are same as before
For further check, the
-
- Winform Datagrid form doesn't respect the column widths or display checkbox for boolean column
by Dave Alessi
- 4 Replies
- Last post
by Dave Alessi
- In the winform designer, I create a data grid, and specify the styles for each column. I cannot get the table style to take effect. How does this get set When I run, I getr the default columns widths and all text fields.
What is wrong
-
- Inheriting the windows form from another windows form
by Vivek Natani
- 8 Replies
- Last post
by Bigul
- I'm trying to inherit one windows form (inheritForm) from another windows from (baseForm). I want to override the the baseForm's some events with the inheritForm events (let's day I want to override the form_click event). Can we really do this. I mean does the design of .net framework 2.0 support this If yes, it'd be gr8 if you can post few lines of code.
Thanks, Vivek
-
- Is there a msflexgrid to datagridview conversion guide?
by jerrykur
- 1 Replies
- Last post
by Ken Tucker
- I have an old piece of VB6 code that I am converting and need some assistance in trying to map the old calls to the datagridview equivalents.
Thanks,
jerry
-
- Datatype Mismatch- VB.Net or VS 2005?
by Vaish
- 4 Replies
- Last post
by Damiaan
- Hi
I have a filed (ID) in a table and its datatype is number (long integer). I have select command in 'windows form' and textbox (TextBox1)control in the windows form, will be populated by the filed (ID) from the 'access 'database.
If I change the datatype of ID field in table from Number to Text its works. But if the field ID's datatype is number I am getting 'datatype mismatch'.
Could a
-
- Synchronising Display Values
by booler
- 5 Replies
- Last post
by timvw
- Hi folks. I am having a problem with synchronising the properties of two controls. I have a user control on one tab page, and a user control on another tab page, and these user controls are of the same type and display exactly the same data. When the user changes a property in one, this should be immediately reflected in the other. The user controls' data is populated from a custom business obj
-
- Disabling the Tab pages at form load time
by zenwalker
- 5 Replies
- Last post
by Mick Doherty
- Hello Guys, I am facing a bit problem in disabling the tab pages (graying out them) at form load itself. I tried tabpage.Enabled=false; as well. But it disables the tab components being disabled. But not the tab itself. The user should not even select the tab page. It shouldnt be acccesible at all. I have searched all MSDN pages. But no luck. Thanks. P.S: If any more info is required, then plz a
-
- The requested URI is invalid for this FTP command.
by Mahesh819
- 2 Replies
- Last post
by Alden Snow
- Hi, I keep getting the error "The requested URI is invalid for this FTP command." when trying to upload a file from local machine to the FTP server using code below in C# 2.0. I am getting error on the bold line below.
I would appreaciate if someone can guide me to proper solution.
thanks
Mahesh
public void Deliver()
{
FtpWebRequest request = (FtpWebRequest)W
-
- WebBrowser ActiveElement Focus
by Norb
- 1 Replies
- Last post
by Norb
- Well my problem is this, on app I have multiple WebBrowser in a tab control and when I change tabs I capture what was the last active element so when I get back to the tab I can send the focus back to the element, this all works fine if the element is a regular html element but if it was an ActiveX or a java Applet where the focus was actually lets say a TextBox inside the object I cant find a way
-
- CellValidating Event being fired on Load of Form
by Neil Harper
- 2 Replies
- Last post
by BonnieB
- I have had a nagging problem with a CellValidating event in a DataGridView being fired when the form is loading. If you have a DataGridView on a form that has an event handler for CellValidating and you fill the grid during the OnLoad event of the form, the cell validating event will be fired. After much experimenting I found that if you load the DataGridView during the Shown event then the CellVa
-
- Find a window control at a point on the screen
by michael447887
- 10 Replies
- Last post
by michael
- How do I find a control (such as a text box) from a window running in a separate process based on an X,Y screen coordinate
-
- Datagridview RowLeave Exceptions
by Yiannis
- 2 Replies
- Last post
by Yiannis
- Hi, as i figure it out (i dont know if it's like this but anw) when leaving a row in a datagridview it saves that row in the table. So where i can handle the exception thrown there like an empty primary key column or a wrong formated cell in the row. I tried in the rowvalidating event but what do i put in the body of try Thanks
-
- Display multiple fields in a DataGridView cell
by Leon Tayson
- 6 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Hi All!
How do I display multiple fields (1 line per field) in a DataGridView cell... i need to display it like below:
Cell1 | Cell2 ------------------------------------------- ID | Desc Name | Other Field Address | etc. ---------------------------
-
- Forms: Picture box
by eniger
- 3 Replies
- Last post
by Andrej Tozon
- Hi,
May I know how am I going to change the images in a picture box in codes
For example, when I click ButtonA, PicA will appear in the picture box. And later when I click ButtonB, PicB will appear in replacement of PicA in the same picture box.
Thank you!~
-
- What control to use to have ability to group items, and also to delete selected item?
by Sepetar
- 3 Replies
- Last post
by .Binny
- I need to have control similar to listbox, but items need to be grouped. When I'm adding item in control it needs to be added under appropriate group. Also, I need to be able to delete selected item. Thanks