all groups > dotnet windows forms > october 2004 > threads for friday october 22
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 30 31
access a control on a form from a class
Posted by Max at 10/22/2004 8:03:21 PM
In winforms I'm lost as to how to get access to a control on a form from a
class or module. I cannot access the instance of a control:
myApp.MainForm.pbOnlineIcon.BackColor = Color.LightGreen
"Reference to a non-shared member... blah blah"
-Max
... more >>
InvalidPrinterException for Print() or PrintPreviewDialog()
Posted by bill at 10/22/2004 5:49:53 PM
I got an exception when trying to start a PrintPreviewDialog or print for a
specific network printer. The code works for other network printers. That
printer works perfectly for all other applications. The exception happens
when PrintDocument.Print() is called or PrintPreviewDialog.ShowDialog() i... more >>
Submitting updates from a datagrid
Posted by Cory Burkhardt at 10/22/2004 5:43:53 PM
I have a datagrid that the user can use to edit a dataset (through a
dataview that prevents adding rows). However, there is a problem in that
the row that the user is currently working with does not get submitted to
the dataset until another row is selected. If the user modifies a row in
the d... more >>
Single use of ICON in all forms
Posted by Ken Allen at 10/22/2004 3:37:31 PM
I am developing a C#/.Net app that contains a significant number of forms
(about 32). In testing to date the size of the debug EXE is about 400 KB
and the size of the release EXE is about 325 -- cool.
A friend developed a neat icon file (all sizes and masks) for use by the
app. I replaced the... more >>
HELP: setting focus to mdi child
Posted by Daniel Friend at 10/22/2004 3:30:13 PM
Hi,
I have a mdi program which a mdi child (MDI1) opens another mdi child (MD2).
What is happening, the MDI 1 stay focus, after MDI2 appears. The user has
to double click MDI2 to get focus, but the weird thing is that MDI2 is on
top. As you can see from the code, I tried everything to make s... more >>
Confusion: Threading & COM Interop
Posted by Z D at 10/22/2004 11:48:22 AM
Hello,
I'm having a strange problem that is probably due to my lack of
understanding of how threading & COM Interop works in a WinForms.NET
application.
Here's the situation:
I have a 3rd party COM component that takes about 5 seconds to run one of
its functions (Network IO bound call... more >>
Can not see the folder.
Posted by ca___t at 10/22/2004 11:37:18 AM
hi guys
I have an windows form application that with one button and one
folderBrowserDialog Control in this form.
I use folderBrowserDialog control to open a folder Browser in this
windows form that can appear.
but when I set the BackgroundImage property of windows to
System.... more >>
MDI child sizegrip shows but doesn't work.
Posted by patrick t music-images dt nl at 10/22/2004 11:02:50 AM
Hi,
I'm developing a MDI based application, but when I enable sizegrip it
shows, but I can only resize by dragging the edge of the form, as if
there is no sizegrip. The same behaviour occurs when I use a statusbar.
Do you have that problem to?
Thanks,
Patrick Vollebregt.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Generating an email programatically inside a windows client applic
Posted by Fred Herring at 10/22/2004 10:25:02 AM
I am interested in having my client application generate and send emails to
the server administrator when certain events occur. Is there a way to code
this in windowsform vb.
Fred ... more >>
Need Help: Problems with FolderBrowserDialog
Posted by Vivek Srivastav at 10/22/2004 9:50:29 AM
Hi windowsform gurus,
I am struck with a minor problem. The folder browse button, when pressed
opens an empty blank panel with only the description.
What am I doing wrong? Following is the code:
private void btnOpenDir_Click(object sender, System.EventArgs e)
{
folderBrowserDialog = new... more >>
Init code after form visible
Posted by Paul N at 10/22/2004 9:32:03 AM
Maybe this question has been answered before, if so please refer to answer:
I want to run some initialization code in my main form, after the form is
made visible.
My current solution is to end form_init with the following:
me.show()
MyInitCode()
Is this a correct solution? I fear advers... more >>
Force MDI Child form to Maximize with Parent
Posted by Chris Calhoun at 10/22/2004 7:27:15 AM
So in other words when I maximize the parent form. I want to force any child
forms already opened to be maximized as well. Or when opening a new child
form while the parent is maximized I would like those child windows to be
maximized also.
Does anyone know how to accomplish this.
Thanks in... more >>
|