all groups > dotnet windows forms > may 2005 > threads for may 29 - 31, 2005
Filter by week: 1 2 3 4 5
Menu items are not displaying the access key underscore
Posted by None at 5/31/2005 11:03:02 PM
The underscores display fine at dev. time but at run time there are no
underscores on the menu items.
What am I doing wrong?
... more >>
dynamically Refernce control
Posted by KentG at 5/31/2005 11:00:03 PM
I want to build a reference to a WinForms control but I can't seem to do it...
I want to do something like (I know this is wrong):
me.Controls("Textbox" & i).Text = "Hello World!"
But I can't seem to figure it out. Please help.
Kent.... more >>
Form Consistency
Posted by Sameer at 5/31/2005 10:47:01 PM
Hi,
We have following issues with Windows Forms,
1) When we run our application on two different operating systems,
Windows 2003 and Windows XP, on the XP Machine because of XP themes, the GUI
of the windows forms changes i.e. the font size and colors on the form
changes, the close... more >>
The Form.Show() method
Posted by active85k at 5/31/2005 8:02:02 PM
First of all excuse me for my bad english but i'm italian.
I have an application with two threads. The second one is not the main
thread and i tryed to show a form like that:
MyForm f = new MyForm(params);
f.Show();
but the form is frozen. i tryed with Invoke and BeginInvoke but i have no ... more >>
Interfacing with Digital Camera
Posted by Simon Harris at 5/31/2005 6:21:58 PM
Hi All,
I will shortly need to build an app, which will need the ability to upload
a
photograph and tie it a record. (User database). This much I can do.
As this will be used on a public ticket gate, it needs to work as fast as
possible, the steps would be to take the photo, then download i... more >>
MouseWheel Event
Posted by George at 5/31/2005 4:38:15 PM
I have a scrollable panel that is covered with richtextbox's. The trouble is
when using the Mouse Wheel the event is fired for the textbox's but not the
panel, and it is therefore not scrolling. How do I send the MouseWheel event
to the parent panel from these RichTextBox controls?... more >>
Help having problems with UserControl
Posted by Kim at 5/31/2005 4:09:18 PM
I have a form that has a button in it when I click on the button I want the
textbox that is on the usercontrol to update. Ive tried:
//This is on the form
private void button1_Click(object sender, System.EventArgs e)
{
UserControl1 ctrl = new UserControl1();
ctrl.ClientName = "This is a ... more >>
inherited forms - random debugging errors
Posted by Eickhel at 5/31/2005 3:57:55 PM
Hey,
I have an application that has many inherited forms from a base form.
Everything works well but every now and then when I hit "Start" VS .Net 2003
gives me errors from the inherited forms.... I need to Rebuild the Solution
and then everything is ok... does anyone knows why does this ha... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Line Numbers in RichBox
Posted by Pete at 5/31/2005 3:10:25 PM
Hi Group... Can anyone point me to any c# tutorials relating to line numbers
in the gutter area similar to the IDE?/
I've looked and looked and googled for ages but maybe I need more eyes to
help cos there seems to be none relating to c#.
Thnx/ Pete.
... more >>
Data-bound control- Syncing selected with data search
Posted by kadams1 NO[at]SPAM ca.ibm.com at 5/31/2005 1:13:07 PM
Greetings:
I'm have a WinForm in VB.Net that has several simple controls,
specifically Comboboxes, that are data bound. I want to perform a search
on the bound data (NOT on the values in the Combobox), find a particular
row in the Dataset, and make the corresponding entry in the Combobox
... more >>
How to prevent ComboBox from dropping down on click
Posted by Matthias Menningen via .NET 247 at 5/31/2005 1:09:45 PM
The Combobox control supplied by DOTNET configured as dropdown list
behaves in the following way: When the user clicks into the box it
immediately drops down.
Normally dropdown boxes should drop down only when the dropdown button of
the control is clicked. Most applications e. g. in Mocrosoft ... more >>
impersonation
Posted by Mark at 5/31/2005 11:42:34 AM
Assume a windows domain, and a .NET windows application connecting to a SQL
Server 2000 server on the domain. I don't want to give a windows user or
group direct access to modifying data, or executing stored procedures. I'd
like to use impersonation, once I've validated the user. However, I... more >>
Remove menus in a maximized mdi child form
Posted by Ryan Taylor at 5/31/2005 11:36:51 AM
Hello.
I want to be able to have an MDI parent form without any menu items. I also
want to have an MDI child form without menu items. However, when I maximize
the MDI child form, I always get a meny bar at the top of the form.
How can I stop this behavior?
Thanks in advance.
Ryan
... more >>
MessageBox in app started from command line
Posted by Merit at 5/31/2005 7:20:04 AM
Hi,
I'm trying to add a couple of command line switches to a windows forms
application which will perform a short operation and possibly display a
message box to the user then immediately exit.
It works fine when I run from the debugger but if I run the app from a cmd
window the messageboxes... more >>
Minimize Form to Systray
Posted by Bob at 5/31/2005 5:53:01 AM
All,
I have been trying to come up with a work around for the default form
minimization process in .net. Currently, when you minimize a form it
animates the minimization to the bottom left. This is fine, unless you
are trying to minimize to the systray. Below is a snippet of code I
wrote (... more >>
Using the date to allow users to have a grace period
Posted by Joe_Black at 5/31/2005 12:00:00 AM
Hi all,
I have an app that users can add plug in modules to, each module gets a
key supplied by us to activate the module for permanent use, the modules
however must work for a trial period, say 30 days, to allow the user a
chance to test that the module is what they want before paying for ... more >>
Focus on Control of Child's Form
Posted by khurram at 5/31/2005 12:00:00 AM
Hi All,
I am working on a windows form application and we have an MDI form
with Toolbar on it. On click event of toolbar we are creating a specific
instance of a child form and showing it. Now on the child form we want to
set the focus on the first field and for that purpose we set the t... more >>
Altering Default GridSize
Posted by Anthony Williams at 5/30/2005 10:03:56 PM
Hi,
I am implementing a Forms designer in my application and would like to
alter the default grid size used by the form.
The only place I can find the property for GridSize is protected in the
class System.Windows.Forms.Design.ParentControlDesigner and I can't for
the life of me figure out a... more >>
network aware windows application
Posted by thomasamillergoogle NO[at]SPAM yahoo.com at 5/30/2005 8:57:54 PM
Hello,
I am working on a windows application that has to be network aware.
What is the correct way to make it network aware?
On startup the program must call a web service to retrieve data. Right
now I start a Timer that calls an asynchronous web service called
CheckConnection() every five s... more >>
Control ClientSize and Size
Posted by jeff at 5/30/2005 7:29:01 PM
hi,guys
I am confused about Control component 's property
What is the diffenent between ClientSize and Size?
I want to create a customer Panel.
for example:
public calss myPanel:Panel
{
public myPanel()
{
CheckBox cb = new CheckBox();
cb.location = new Point(0,0);
ComboBox c... more >>
How implement DoubleClick Event ???
Posted by NQ at 5/30/2005 5:23:01 PM
I want to implement the DoubleClick event in a MonthCalendar control.
I created my custom control inheriting from the MonthCalendar control, but I
have no idea about how to proceed to implementing it...
Can anyone help me ???
Many thanks
NQ... more >>
Sendmessage WM_KeyDown and WM_KeyUp not working as expected
Posted by Jeremy Chapman at 5/30/2005 4:41:09 PM
I am trying to send a shift and right arrow keypresses to a window in
another application.
If I use Microsoft Spy++ and Press shift + Right Arrow, the events get
captured as follows
WM_KeyDown nVirtKey:VK_SHIFT cRepeat:1 ScanCode:2A fExteded:0
fAltDown:0 fRepeat:0 fUp:... more >>
How to draw ICON on VS.NET 2003
Posted by jeff at 5/30/2005 2:25:02 PM
Hi, how are you
I want to draw a ICON on My Panel?
How to do it?
In C++; We can use CDC, and draw?
public class PictureField : Panel
{
private bool isEditable = false;
public PictureField(bool editable)
{
this.Enabled = false;
this.Size.Height = 20;
this.Size.Widt... more >>
Strange Autoscroll property
Posted by jeff at 5/30/2005 10:26:09 AM
Hi, guys.
I am a newer to DOTNET.
Now I use VS.NET 2003 for my project.
I create a class inherited Form
When I want to use
this.AutoScroll = true;
there is an error say: 'myForm' does not contain a definition for 'AutoScroll'
Why?
Thanks in advanced... more >>
PropertyGrid - attaching UITypeEditor without using Editor attribute?
Posted by Dr. Proctor at 5/30/2005 9:15:10 AM
Hello
I have a PropertyGrid in my app that displays set of properties that
is created dynamically at run-time. Ie. I use a collection that
implements ICustomTypeDescriptor and it's instance is bound to
PropertyGrid's SelectedObject.
This collection stores PropertyDescriptor-derived objects,... more >>
Winforms on a network share
Posted by mark at 5/30/2005 9:06:08 AM
Is it possible for a winforms executable put on a network share to scale to
allow 100 or even 1000 people to "share" it? Assume a windows domain where
each client has the .NET Framework installed, and that application's only
external call is to make CRUD (read/write) calls to a SQL Server 200... more >>
IMAGE PATH
Posted by Siu at 5/30/2005 3:36:03 AM
Hi,
I've some problem by getting files in my application path: I've to run the
following
instruction
MyButton.Image = Image.FromFile(MyImagePath));
MyImagePath should be the path where to find the image and I want to
instantiate it dinamically like this:
string MyImagePath = Path.GetF... more >>
"my documents" location
Posted by Bruce at 5/29/2005 11:45:00 PM
Does the .NET 1.1 framework provide a mechanism to navigate directly the "my
documents" folder of the current user? (Specifically, I want my application
to write a config file into the user's My Douments directory. But I do not
want to have to force the user to navigate manually to "C:\Docum... more >>
Toolbar buttons look ugly
Posted by tommazzo at 5/29/2005 8:59:41 AM
Hi!
I recently got the VisualStudio 2005 Beta 2 and already moved my open-source
C# development to it. However since I want to release .NET 1.1 assemblies I
have to keep the code compatible. After doing some work on a form in VS 2005
I noticed that this form's toolbar looked quite ugly when... more >>
the problem raise by OnPaint
Posted by andychan at 5/29/2005 7:12:06 AM
when i write down the codes like below
when I move the mouse
The display of the form will glimmer
override protected void OnMouseMove(MouseEventArgs e)
{
//do something
this.Invalidate();
}
How can i deal with it?Tell me the resolution,thank you.
-- there is no failure only give up... more >>
Cast IDataAdapter
Posted by Bud James via DotNetMonster.com at 5/29/2005 12:00:00 AM
if i have something like this
private IDataAdapter dA;
private class DBTalker(IDbConnection cn)
{
Type t=cn.GetType();
}
By getting the connection type i know then if it is sql, access, oracle
so it would seem that with that information i can cast dA as the
appropriate type. I... more >>
|