all groups > dotnet windows forms > february 2004 > threads for monday february 16
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Edit Access database - messy code
Posted by Graeme at 2/16/2004 9:18:48 PM
Hi
I've managed to edit database in a roundabout way. Really slow and needs
refinement (better still, replacement with something decent!) ...
Private Sub bRecalcODRC_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles bRecalcODRC.Click 'update ODRC
Dim myFeedersDA As O... more >>
How to get rid of default context menu
Posted by john smith at 2/16/2004 7:11:08 PM
I am developing a custom text box and with the kind help from here I added some additional features
But I cannot get rid of the right-click menu from .NET. I got rid of it by overriding WndProc and trapping WM_LBUTTONUP, but I was wondering if there was a way to do it in .NET only, without using Wi... more >>
Detecting changes user makes in data-bound controls
Posted by Uri Dor at 2/16/2004 5:44:53 PM
Hi,
I'm using a Textbox bound to a dataview and the TextChanged event to
detect when the user has changed it (so I can know to ask "do you want
to save changes?" before moving to another record).
The thing is that I can't seem to know whether the change was caused by
the user and when it was... more >>
User Controls Are Disappearing!
Posted by Marauderz at 2/16/2004 4:53:58 PM
OK, this is frustrating... my whole UI is created based on User controls.
But every now and then when I open the desginer the controls jsut
DISAPPEAR!!! Pooff!!!
The definition of the control is still there in the form designer generated
code..
the part thats says
public withevents mycontrol... more >>
MessageBox.Show don't show up after Application.Run()
Posted by babylon at 2/16/2004 3:26:38 PM
I have sth like
while (true)
{
MessageBox.Show("TEST");
Application.Run(this); // this is a WinForm
}
A MessageBox is shown for the first time; then the MessageBox.Show just
return immediately without showing any message box....
pls help!
... more >>
How to make the column header multiline in a datagrid?
Posted by Bill at 2/16/2004 2:06:13 PM
Hi
Does anyone know how to make the header text of a column in a data grid multiline
Thanks!... more >>
CollectionBase derived class not saving design time items
Posted by niyad at 2/16/2004 1:21:00 PM
hi
On a form ive added my custom component (MyComponent) which has a property
(IDs in the expample code) exposing a collection of int16. I see this
property in the PropertyGrid and I dont have trouble adding items to the
collection at design time (using standard CollectionEditor class). I can
A... more >>
No Touch Deployment and Config Files
Posted by gammm at 2/16/2004 10:56:08 AM
I've read that in order for WinForms applications to use .config files and no-touch deployment that IIS has to be configured to allow anonymous access. What I'm wondering is if anyone knows why. Every article I've read on this just adds that you need to change this setting and doesn't offer an exp... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TargetInvocationException makes no sense
Posted by dudi at 2/16/2004 10:38:03 AM
Hi, very puzzling...
I have one perfectly working solution, in which I use a a.dll which has a
class A. that class loads data from
the database and for each row deserialize the cell into class A1. works
great.
I made a new solution, I linked to the same a.dll, and In a new project in
this new ... more >>
Assigning file type extension to my application
Posted by john at 2/16/2004 9:56:06 AM
I've written an app that saves and opens files of extension .dnm
How can I assign the .dnml extension to my app, MyApp.exe
I know you can do this in an msi package, but i dont want to create an msi. i'd like to know the manual steps, all the places in the registry, that i need to modify in orde... more >>
RichTextBox and drag drop events
Posted by veeber73 NO[at]SPAM hotmail.com at 2/16/2004 9:54:20 AM
I am trying to implement drag drop functionality on a RichTextBox on a
windows form. I have seen many examples using the standard DragEnter
and DragDrop Event handlers however these handlers dont appear for my
System.Windows.Forms.RichTextBox.
Is there something I am missing??... more >>
Flickerless Panel Control... how?
Posted by Ellery Familia at 2/16/2004 8:46:09 AM
I have a RichTextBox contained by a Panel control... I draw line numbers in
the Panel control for each line in the RTB. The thing is, when the RTB is
scrolled, the numbers flicker. Any suggestions?
Ellery Familia
... more >>
Inheritance and Anchors in dialogs
Posted by Vincent at 2/16/2004 7:51:10 AM
Hi
I create a first Dialog form with in particular two buttons, "Ok" an "Cancel", and set the Anchor properties of theses buttons to Bottom, Right (so, if I change the size of the dialog, the Ok and Cancel button are still positionned at bottom-right)
In order to share all the control defined in... more >>
Fix column width of DataGrid
Posted by WildGooose at 2/16/2004 6:56:05 AM
Does anyone know how I can fix the column width of a DataGrid
I tried the solution posted on synfusion. Doesn't seem to work for me
Any other suggestion really appreciated
Thank
... more >>
How to simulate the auto scroll event in Panel?
Posted by Sachin Tendulkar at 2/16/2004 3:51:05 AM
Can anyone tell me how to set the position of the auto-scrollbars in a Panel dynamicall
I'm developing an Image Viewer. I have a picturebox control inside a panel, this picture contains an image bigger than the panel making the panel autoscroll. I need to scroll to a certain section of the image th... more >>
Button single click problem
Posted by Pat at 2/16/2004 12:01:08 AM
Hi
I have been creating an Button using .Net C#.
Once the user clicks the button, the click event handler will perform task A. This normally takes around 2 minutes
During this 2 minutes, the user must not be allowed to click this button again
However, once the user clicks multiple times on thi... more >>
|