all groups > dotnet windows forms > may 2004 > threads for friday may 7
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
Create an Icon from an Image safely
Posted by Joshua Flanagan at 5/7/2004 6:52:28 PM
I am building a "smart client" WinForms executable that will be launched
directly from a webpage. I do not want to require any client-side
installation, or .NET security policy configuration.
I am trying to dynamically generate the image for a NotifyIcon.
I could not find any way to get a G... more >>
Control.Dispose hangs in SelectNextControl
Posted by Urs Eichmann at 5/7/2004 6:17:03 PM
Hello
Situation: WinForms 1.1 application has three Non-Modal Forms being
shown at the same time:
- formA is the main form (started with Application.Run)
- formB has an ActiveX control on it and is minimized
- formC is an ordinary form, which is activated
formC now wants to close formB usin... more >>
How to draw the 1/2 symbol
Posted by Ray Martin at 5/7/2004 5:15:18 PM
The "1/2" symbol is 00BD in Unicode, or 189 in Decimal or 00BD in Hex
Can someone post some simple code using Drawstring or Drawimage to draw
this. I am printing numbers and would like the 1.5 to print as 1 1/2, but
using the "1/2" symbol instead of the 3 characters "1" "/" "2"
Thanks
... more >>
Where has the modal frame extended contol style gone???
Posted by Bob Rock at 5/7/2004 4:26:56 PM
Hello,
where has the modal frame extended control style (WS_EX_DLGMODALFRAME)
gone???
I can't find it among a control's properties.
Bob Rock
... more >>
How to make Access-like data-entry form?
Posted by Paul at 5/7/2004 4:26:02 PM
All I want is a single-record form that allows simple record navigation, sorting and filtering. I've made a start but can't find how to sort/filter without refreshing the dataset(!)
Ideally, the form should appear/function similar to a regular Access bound data-entry form. Why is this so difficult... more >>
How to hide a form???
Posted by Bob Rock at 5/7/2004 3:22:24 PM
Hello,
sorry for the simple question BUT how do I hide a form?????
I've seen that this.Visibility = false and this.Hide() do not work ... so
how do I hide a form???
Thx.
Bob Rock
... more >>
context menu within listviews
Posted by jgalzic NO[at]SPAM hotmail.com at 5/7/2004 2:50:14 PM
Is there any way to insert a ContextMenu type item into a ListView as
a ListView item? Basically, I want a listview with a bunch of items
(standard ListViewItem with string values and icons to the left) but
one of them needs to have a flyout menu, similar to what you see in
the WinXP Start Menu'... more >>
Using windows auth and alternate credentials for sql server
Posted by TS at 5/7/2004 2:50:04 PM
Hi, I am trying to figure out how to use connection pooling and a single set
of credentials to access a sql server using integrated windows security. I
am trying to do what I do in asp.net using the impersonation tag where I set
the user I want to impersonate to a single user account. My applicat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do you change the size of the handle in the ProgressBar
Posted by Augie at 5/7/2004 2:39:39 PM
Hi All.
How do you change the size of the handle in the ProgressBar control. I
can't seem to find a property that works for this...
TIA
Augie
... more >>
listview out of range error.
Posted by JoJo at 5/7/2004 2:16:06 PM
I have 30 records going into my listview, and I know that it will fill from 0 - 29 in the listview
But when it gets to 29th item it throws an error telling me that ' Parameter Name: 29 is not a valid value for displayIndex
It doesn't make any sense to me.
frm.LvChJob.Items.Ad... more >>
Resources
Posted by Mystique at 5/7/2004 11:40:39 AM
How can i read resources/strings from one EXE to another?
When I read from the current EXE I use:
ResMng = new ResourceManager("MyClient.Source.MyStringsEN",
Assembly.GetExecutingAssembly());
So I suppose it should be something like this:
ResMng = new ResourceManager("MyClient.Source.My... more >>
ListBox && 'System.IndexOutOfRangeException'
Posted by Dave H at 5/7/2004 11:37:25 AM
1) Start a new project.
2) Add a ListBoxto the form.
3) Add a few items to the ListBox.
4) Change the ListBox's SelectionMode to one of the multi select modes.
5) In the MouseDown event of the ListBox add some code to use
SelectedIndex..
eg int idx = listBox1.SelectedIndex ;
I get the ex... more >>
Language attribute at .exe or .dll .Net file
Posted by Alexander Ardatov at 5/7/2004 11:26:29 AM
Hello!
I have build my application (it's consist of 2 assemblies) and gets 2 files
app.exe and app2.dll
So when I open Windows Explorer and click (right button :)) on any of those
files then select "Properties" from popup menu and than select Version tab
the Language attribute value is always... more >>
References
Posted by Confused at 5/7/2004 11:16:04 AM
Is it possible to pass a form somehow as a reference
forms.Add(ref this)
This does not seem to work as it says that 'this' is readonly. 'this' is a form.... more >>
Snap-to functionality for winforms
Posted by Jason Walraven at 5/7/2004 8:32:02 AM
I'm trying to implement Snap-to functionality for a toolbar application that
I'm writing, and I need a little direction. What I need is for the toolbar
to snap-to the sides, top, or bottom of the desktop when it's moved near the
area. I'm not needing the controls to snap-to, but the whole form.... more >>
MessageBox.Show behaving Non-Modal
Posted by Norman Dotti at 5/7/2004 8:06:06 AM
I have a windows form that contains a few windows controls such as buttons, labels and textboxes. In the Load event of the Form, I'm calling a HelloWorld webmethod asynchronously. The webmethod is a simple function that counts upto 5000, then returns a string. In the callback, I'm invoking a delegat... more >>
BackColor of ProgressBar and TabControl
Posted by Aung Thu at 5/7/2004 3:51:02 AM
Hello,
How can I change the BackColor of the ProgressBar and TabControl - the header of TabControl, not the page of TabControl? I use VC#.
Thanks.... more >>
How can I catch arrow key event in a scrollable control
Posted by Misa at 5/7/2004 2:31:03 AM
Hi
I have a scrollable control and I want to catch arrow key event
When I press arrow key one of the two scrollbar box starts blinking and I don't know how can I stop that. Besides it seems that keydown eventhandler is disabled
Could someone tell me how work scrollbar and reference manual to ... more >>
Window service
Posted by vicky at 5/7/2004 12:09:02 AM
I wanted to make a service which will take backup of sql db after 10 min.
Should i code all backup logic in the service itself or should i make a
second app and call that app from the service after every 10 min.
vicky
... more >>
|