all groups > dotnet windows forms > january 2006
Filter by week: 1 2 3 4 5
Request for the permission of type System.Net.SocketPermission
Posted by Brendon Co at 1/31/2006 10:53:00 PM
Hi,
i have client/server socket application, but when i run the client in a
separate computer i get this error below.
Request for the permission of type System.Net.SocketPermission
I search the net but it leads me to caspol or mscorcfg.msc.Is there
other way to NOT configure using these... more >>
Resetting Combo to original state
Posted by Ant at 1/31/2006 7:17:47 PM
Hello,
I'm using a combo box and some text boxes on an input form. When the user
submits the input, all the textboxes should be cleared & the combo box reset
to the way it was originally displayed (order desc.)
How do I 'refresh' to combo box to display as it did? It is bound to a
datase... more >>
Form Loading Issue - VS.NET 2003
Posted by sidprice NO[at]SPAM softtools.com at 1/31/2006 6:20:21 PM
Hello,
I have a dialog in my VB.NET application that has some controls for
configuration and an "Apply" button. The design calls for the Apply button
to be enabled only after the user has made changes to the settings. To do
this the change events for each control are used and the Apply butt... more >>
Making a Winforms app behave like a Console app
Posted by Stephen Walch at 1/31/2006 4:30:56 PM
I am attempting to add a "console mode" to my Winforms app. My intention is
that when I start the app with a special switch (for example "myapp.exe
/batch") to does not launch a graphical UI but instead just displays console
messages.
My first guess was to simply change the Main method of ... more >>
Dll Reference Performance
Posted by Dan, Vascas at 1/31/2006 4:06:44 PM
Are there any performance issues, if we have many dll reference added to our
project.
Any way, does it take more time to load the application if we have many dll
reference added to a project, even though we don't use at application load.
Does more dll takes more time to load.
If we merge ma... more >>
DataGridView automatically selects first row
Posted by Brett at 1/31/2006 3:22:21 PM
I'm setting the datasource of a DataGridView to a datatable. This
loads the grid correctly but it automatically selects the first row in
the grid, triggering the SelectionChanged event. Is there a way to
stop the grid from automatically selecting the first row?
Thanks.
... more >>
ComboBox design-time DataBinding setting questions.
Posted by dbuchanan at 1/31/2006 3:15:25 PM
These setting mystify me for these reasons.
*SelectedItem* - Help says that 'SelectedItem' gets or sets the
currently selected item in the combobox.
*SelectedValue* - Help says that 'SelectedValue' gets or sets the value
of the member property specified by the ValueMember property.
*Valu... more >>
Form Gradient Background
Posted by Jay Pondy at 1/31/2006 2:00:55 PM
Is the code below the proper way to achieve a LinearGradient
Background on a form?
Private Sub MyForm_Paint(ByVal sender As Object, ByVal e As
PaintEventArgs) Handles Me.Paint
Dim oBrush As New LinearGradientBrush(Me.ClientRectangle,
Color.AliceBlue, Color.CornflowerBlue, LinearGradientMo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XP Visual Styles in 2005
Posted by MasterBlaster at 1/31/2006 1:05:29 PM
I'm trying to set the application to use XP visual styles, but in the
properties page I tried to set it and I get the following:
Startup object must be a form when 'Enable application framework' is
checked. I have a sub main starting up the application and in there it
determines which porta... more >>
How can I find BindingSource has some changed data.
Posted by A.M-SG at 1/31/2006 11:30:01 AM
Hi,
In my WinForms application, I have a set of controls that are bound to a
BindingSource control.
When the user closes the form, I need to ask him if he wants to save data.
The problem is I cannot find anyway to check if the value of any textboxes
is changed!
Obviou... more >>
MDI Child Forms -- Diffrent Behavior in new Framework
Posted by Justin Lazanowski at 1/31/2006 11:29:45 AM
I have an exsiting MDI application. I have the when the child is called from
the Parent, I set it's DockStyle to fill, I also have the child form set to
maximized
In VS 2003 and 1.1 this works the way I want it to, the child form is
maximized whithin the parent so that a title bar is no... more >>
Set Text in DropDown
Posted by mailptudo NO[at]SPAM gmail.com at 1/31/2006 4:04:09 AM
Hello,
I have a DropDown that is bound with a array containing 3 strings:
First, Last, All. These options indicate how many objects the user
wants to analyze. So, the user shoud choose one of these options, or
type a number.
These information is then saved, to be reloaded later.
My probl... more >>
fill dataset with stor pro
Posted by ken at 1/30/2006 11:43:26 PM
Dear all
I create one stored procedure have two select statement on it
Then i want to fill one dataset(with two datatable) by this stored
procedure, how can it do?... more >>
Resizing Form
Posted by Dino Buljubasic at 1/30/2006 10:51:16 PM
Hi,
I am having a number of panels containing other panels and controls on
my form. When I resize my form, the redrawing is quite slow.
How do I properly handle this so that it redraws form faster when I
resize it? I am using VS2005 and C#
Any help wll be appreciated
Dino... more >>
How to compare two string
Posted by ken at 1/30/2006 8:09:27 PM
How to compare two string
e.g
i compare two string
e.g User == user is true
however i want User == user is false by 'U' and 'u'
do u know what i said... more >>
populating combo with ds
Posted by Ant at 1/30/2006 3:06:26 PM
Hi, I'm trying to populate a combo with a typed dataset (I am filling the
dataset in the form load) by using the databindings , (Selected Item &
Selected value) I get a blank combo box. (Unless I bind the text property,
but then I only get the first row as the combo text.)
Am i missing a ... more >>
ReportViewer & PageSettings.HardMarginX
Posted by jwat at 1/30/2006 1:20:30 PM
In a report, I tell a table or a text box to print at specific coordinates
but it is off. How do I teach ReportViewer to take PageSettings.HardMarginX
and PageSettings.HardMarginY into consideration?
This occurs in .NET Framework 2.0.... more >>
How do I fin that Form.Show() is already called?
Posted by A.M-SG at 1/30/2006 12:02:24 PM
Hi,
What would be the best way to find if Form.Show() is already called?
If I call Form.Show() methid several times, does it have any side effects?
Does it call eny events?
Than k you,
Alan
... more >>
How many Dll loaded when form start
Posted by Dan, Vascas at 1/30/2006 11:51:02 AM
Hi Gurus,
Is there any way to find out how many Dll got loaded when my application
started.
Any help greatly appreciated.
Thanks, Dan
... more >>
Ampersand as Ampersand in mdi tab
Posted by jtencate at 1/30/2006 6:16:30 AM
I have an application that uses mdi. If a file that is an mdi child has an
ampersand in the name of the file, the ampersand is getting read as a hotkey
in the tab text.
Does anyone know of a way in vb.net to make sure that the ampersand is
represented as an ampersand and not as a hotkey.
... more >>
Autocomplete textbox
Posted by Strider at 1/30/2006 5:00:29 AM
Hello all!
I'm looking for ideas on implementing a textbox with autocomplete
functionality, just like the one found in Excel.
As the user types values into the textbox a lookup for matching values
is performed. For example lets assume that the user types the character
'1' and that the candi... more >>
Two values for combo box
Posted by Ant at 1/30/2006 3:50:28 AM
Hi,
Firstly, I'm using C# if that will make a difference to the answer...
Is there any way you can assign two values for a combol box like in the vb6
'old days', so you have say, a string 'UserName' displayed in the combo box,
but that returns an integer 'userID' for that selection?
If n... more >>
Newbie User Interface hangs in multi-thread app
Posted by Shauno at 1/30/2006 3:26:26 AM
Hi,
* Apologies for reposting this from .NET Academic *
I am having problems updatingh the user interface in a multi-threaded
application.
BACKGROUND
My App has a user interface (the starting class containing main) and a
CPU class to handle many asynchronous comms routines.
The user inte... more >>
Hiding MDI 'sunken' border
Posted by Jared at 1/30/2006 12:00:00 AM
Hi,
I have seen some code which is basically GetWindowLong + SetWindowLong with
AND NOT ws_ex_clientedge, but it either removes the caption or nothing at
all.
Jared
... more >>
Loaded Dll
Posted by Dan, Wascus at 1/29/2006 11:06:36 PM
Hi Gurus,
Is there any way to find out which/how many dlls got loaded when application
loaded.
Any help greatly appreciated.
Thanks, Dan
... more >>
ComboBox and Tab character '\t'
Posted by A.M-SG at 1/29/2006 10:46:53 PM
Hi,
I am trying to show TAB character (char(9) or '\t') in a combobox dropdown
list, but it doesn't show it. Is there anyway to show '\t' as a TAB in
dropdown list text?
If I can show \t in dropdown text, then I can make it like multicolumn list.
This trick used to work back in win16... more >>
Tactics for Debugging Custom Components with CodeDom Serialized State
Posted by Mark Olbert at 1/29/2006 6:17:42 PM
I have a custom component which has a complex internal state that is serialized using CodeDom serialization. It is part of a library
used in a moderately complex project. The component has a custom design-time interface displayed within VS2003. All of the library
assemblies are loaded into the glo... more >>
Auto Complete/Suggest (On Steroids)
Posted by Smithers at 1/29/2006 6:00:34 PM
I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar; one
for LastName, another for FirstName, and one for CustomerID. When the user
starts typing into any of these textboxes I would like to pop up another
fo... more >>
ComboBox: How can I limit user to list items?
Posted by A.M-SG at 1/29/2006 5:55:31 PM
Hi,
How can I limit user to only available items in the combobox list?
By default user can choose one of the list items and also type anything
she/he wants!
Thank you,
Alan
... more >>
Generic windows error message
Posted by JezB at 1/29/2006 12:55:58 AM
I've built a windows app on .NET 2.0. I have a few users that run it without
issue. One user reports that it immediately pops up the standard windows
window that reports:
<program> has encountered a problem and needs to close. We are sorry for the
inconvenience.
What does this possibly m... more >>
Mdi Form
Posted by Aasim at 1/29/2006 12:47:31 AM
How can we Run one Mdi Form Witihn Another ... ?
... more >>
Security Model
Posted by Jeff at 1/28/2006 2:04:23 PM
I am designing a new Windows Forms client application (with SQL Server db on
the back end) for which users will authenticate via NT authentication
(network), or SQL Server authentication. Users who are granted access to the
application must also be granted access to specific forms and controls... more >>
'DisplayMember' is not a member of 'System.Windows.Forms.ListView'.
Posted by Lynn at 1/28/2006 12:00:00 AM
Hi,
I am trying to display the processes running on my system to a listbox. but
i got 'DisplayMember' is not a member of 'System.Windows.Forms.ListView'.
during debug.
any clues? below is the code
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handl... more >>
code clean up
Posted by Lynn at 1/28/2006 12:00:00 AM
Hi,
I have added some buttons and boxes on the VB.net form. After deleting these
buttons and boxes from the form, I find that the code is still there.
Does VB.net have a feature to clean up these unwanted codes?
thanks
... more >>
ToolStripStatusLabel blinking tooltips
Posted by flagrant99 at 1/27/2006 9:31:26 PM
Does anybody know how to get the blinking to stop. When I hover over the
ToolStripStatusLabel sometimes it blinks and sometimes it doesn't. So the
tooltips seem to behave inconsistently. The blinking is very annoying and
makes the tooltip unreadable.
And what does AutoToolTip property do.
... more >>
Recommendations for graphical application
Posted by CraigH at 1/27/2006 4:28:43 PM
Hi,
I am at the early stages of defining the technology requirements for a
graphical, 2D Windows Forms application with display features along the
lines of MS Visio. It has a requirement to display it's data in a number of
tree or network like formations.
The "workspace" will take up the... more >>
Databinding between two forms in .NET 2.0
Posted by Henrik Skak Pedersen at 1/27/2006 4:24:02 PM
Hi,
I would like to data bind two different forms with each other. I would like
to have employees on the first form and orders on the second. When the
selected employee changes, the orders should change two. It is easy to do on
a single form where you can add a new bindsource which points t... more >>
Recommendations for graphical application
Posted by CraigH at 1/27/2006 2:09:17 PM
Hi,
I am at the early stages of defining the technology requirements for a
graphical, 2D Windows Forms application with display features along the
lines
of MS Visio. It has a requirement to display it's data in a number of tree
or
network like formations.
The "workspace" will take up th... more >>
Outlook Frame
Posted by NOT_SO_CLEVER at 1/27/2006 12:32:29 PM
Hi There,
Hope everyone is well? Im after a sample Application where the front screen
looks like the Outlook 2002 or 2003 screen, ie with the Frames etc.I would
like this to be free if Poss. Anybody got any Ideas?
Many Thanks
Si
... more >>
Project Data Source Using Derived Interface
Posted by Mike Livenspargar at 1/27/2006 10:34:28 AM
I've created a project data source based on an interface that in turn derives
from another interface. When in Visual Studio Data Sources view I examine the
properties exposed by the data source, I see only those properties in the
derived interface and none from the base interface.
A data so... more >>
multiple forms/common menu structure
Posted by Jeffrey at 1/27/2006 10:25:02 AM
I have project where I need multiple forms using a common menu structure
(like a web solution but with WinForms). Is there a best way to do it? I'm
currently trying inherited forms, but I'm not sure that's the best way as it
seems to present challenges.... more >>
DoubleClick Event Won't Fire
Posted by LucidObscurity at 1/27/2006 9:49:04 AM
I have a form with labels that can be dragged and dropped onto
different regions of the form either individually or in groups. I
signify labels which have been selected by toggling the BorderStyle
between FixedSingle and Fixed3D. Upon a single click the toggle
occurs. Upon a double click I di... more >>
Odd behavior with .NET 2.0 winforms
Posted by NFXBeats NO[at]SPAM gmail.com at 1/27/2006 8:38:49 AM
Maybe this is normal, but as I type in the code file, the designer tab
shows the little asterisk indicating the file has changed in the
designer as well.
Normally this wouldn't bother me, but in my case the designer files
(including the .licx and resx) are also tagged as changed and get
check... more >>
Combo box selected index
Posted by RbanBph at 1/26/2006 11:08:03 PM
I have set a datasource to a combo box. COmbo box style is drop down list. I
am trying to set it's selcted index to 0 at run time bit it is throwing
following error :
An unhandled exception of type 'System.OutOfMemoryException' occurred in
system.windows.forms.dll
Additional information:... more >>
datetimepicker question
Posted by ken at 1/26/2006 9:57:02 PM
How to get the month or day of datetimepicker
e.g if day 1 it show 1, i want it to be 01
Moveover, can i change the datetimepicker into three combo box, one is day,
month, and year?... more >>
BindingSource - Detail view - Is Current record dirty?
Posted by A.M-SG at 1/26/2006 9:34:59 PM
In a Windows Form, I have a set of detail controls bound to a table in a
dataset through a BindingSource. I cannot figure out how to tell if the
user has edited any data in the controls that needs to be saved to the
database.
The EndEdit method will force any changes to update back to th... more >>
NullReferenceException in Windows.FormsUnsafeNativeMethods.CallWindowProc in .NET 1.1
Posted by Stan Huff at 1/26/2006 2:15:36 PM
I have a stack trace of a NullReferenceException and the only code in the
stack trace is from System.Window.Forms.
System.NullReferenceException: Object reference not set to an instance of an
object.
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr
wndProc, IntPtr hWnd, In... more >>
DBAccess in Winforms
Posted by Vedanshu Mandvikar at 1/26/2006 1:30:05 PM
Hi EveryOne,
What is the best approach for data access while developing applications
using Windows Forms ? Is it opening, working with and closing a new
SQLconnection and SQLcommand object everytime a DB access is needed , or
maintaining a single open connection/command object at the applic... more >>
Is Remoting a Late Binding process
Posted by millner,kim at 1/26/2006 11:20:21 AM
Is there any performance issues using remoting.
Kim
... more >>
.NET 2.0 Quick Starts for WinFOrm
Posted by A.M-SG at 1/26/2006 9:42:40 AM
Hi,
I found .NET.1.1 quick starts for WinForm quite useful. It is being hosted
at the following link:
<http://samples.gotdotnet.com/quickstart/doc/default.aspx>
Do we have .NET 2.0 Windows Forms quick start hosted somewhere?
Thank you,
Alan
... more >>
|