all groups > dotnet windows forms > january 2006 > threads for january 29 - 31, 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 >>
|