all groups > dotnet windows forms > may 2004 > threads for tuesday may 25
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
Simple Async DataBind Example?
Posted by localhost at 5/25/2004 11:39:27 PM
I have a C# WinForm that makes a remote ADO.NET call which "freezes"
the form. I know I want to get the data access off the UI thread, but
can't find a very simple example.
Can anyone post a small/simple C# example that shows how to do async
data acces? In my form, the form has an object w... more >>
Help Pls: Bizarre TrackBar Behaviour With Large Values
Posted by Pls Help at 5/25/2004 7:09:42 PM
Hi,
I've encountered a weird TrackBar issue, it seems to hang completely when
the TrackBar.Maximum is set to certain large values.. what's going on? Have
tried this on a few different 2000/XP environments and it seems the
behaviour is universal.
Btw, before attempting the test below it's a ... more >>
Making a function that does not wait for execution
Posted by ahmed NO[at]SPAM cuic.ca at 5/25/2004 7:00:40 PM
I am not sure what to call what i want and so here i go :)
I execute a function that gets data on this webservice....this data is
not critical to the execution of the program but the program hangs
until it does get the information.
Is there anyway to execute this function without my program to a... more >>
vertical scrollbar in a tabpage
Posted by marc at 5/25/2004 5:14:43 PM
Hello
I wan't to place a number of dynamic controls into a tabpage (based on
number of records in a table)
if the number of controls that are place under each other are displayed
outside the tabpage, I want to display a vetical scrollbar in the tabpage.
Is this possible and is so can you ... more >>
DateTimePicker
Posted by Saurabh at 5/25/2004 4:08:58 PM
Hi All,
I want to use the DateTimePicker in my application but there does not seem
to be any way of setting the date to null or the edit portion of the display
to be blank. The checkbox does look crap, Does anybody have any idea about
achieving this?
I also tried having a text control and a... more >>
DataGrid Row Height and Vertical Scrollbar
Posted by Mike Livenspargar at 5/25/2004 3:54:50 PM
I'm using the method described in George Shepard's Windows Forms FAQ to
programatically alter row heights in a DataGrid:
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q1076q
The row heights are altered correctly but the vertical scrollbar on the
DataGrid seems to be unaware of the chan... more >>
KeyPreview fails with button shortcuts
Posted by felix666007_no_solicitation NO[at]SPAM yahoo.com at 5/25/2004 3:18:23 PM
The Setup:
================
I have a cardswiper attached to my keyboard, so that when I swipe a
card I get "keyboard input" that looks something like:
%748a45a1246fbac9d8fdeaf3572f221b?
I would like forms in my application to handle these card swipes. To
this end, I've made a base Form that ... more >>
Get a file from Web Server using WebDAV in .net
Posted by bigrich at 5/25/2004 2:54:17 PM
Hi all,
I'm getting in trouble with the Auto Update feature in my project, we need
to use HttpWebRequest/HttpWebResponse to get a file from the web server and
copy it to the local. Below is the sample code I'm using, actually it works
quite good on my other 2 Windows 2000 servers, but when I mig... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
_load
Posted by perceval at 5/25/2004 2:19:14 PM
hi
Why i can't have "hello" in my other sub ..??? the _load is "public "
!!
Public sub menu_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim myString as string = "hello"
end Sub
Private Sub PictureBox4_Click(ByVal sender As System.Object, B... more >>
drag and drop problem
Posted by Sam Martin at 5/25/2004 2:08:40 PM
Hi all
I've got a custom control in which I catch the DoubleClick event .. no
probs.
I've just used the control on a form and implemented drag and drop
functionality, i.e. on the MouseDown event (handled in the form) I check to
make sure the left mouse button is pressed, the initiate the dr... more >>
Avoid a new record in a Datagrid
Posted by Hector Geraldino at 5/25/2004 1:36:05 PM
I've a datagrid asociated to a datatable. I must avoid the user to add new rows to the grid, but the user can edit the values that already exists, so the grid can't be readonly. I didn't found any property in the datagrid or the datatable to avoid new records, also any events. I'm confused :s... more >>
How do I pass aninstantiated class from webform to winform?
Posted by acool at 5/25/2004 1:17:21 PM
I want the ability to fill in the public properties of a given class in a
webform pump that class into a session variable and then recreate a new
instance of that class in order to grab those same properties. The only
thing that has me stumped is how to grab the appropriate session object in
ord... more >>
refresh/reload my form
Posted by perceval at 5/25/2004 12:35:21 PM
I want to reload my form when there is a click in a button (for random
gif)
and i use this :
Dim menu As New menu
menu.Show()
Me.Hide()
I think there is a more better way to reload a form...
can you help me
--
Ceci est une signature automatique de MesNews.
Site : http://mesnews... more >>
child form closing when it should not
Posted by Bamse at 5/25/2004 12:23:13 PM
hi,
I have 2 forms, one is MDI, one is child of the before mentioned one;
when the user tries to close the child, the form is checked whether the data
within changed;
if data changed, the user is prompted to: Save/Not Save/Cancel
if Save is clicked - the data is saved and the form closes
if ... more >>
Assigning Events
Posted by JT at 5/25/2004 12:01:06 PM
Hi
I am creating a Windows Forms VB7 project. The Main Form is particularly complicated and I am currently using a form-level integer variable called 'FormMode' to control certain aspects of execution. What I would like to do is somehow make this variable into a class and then assign an event to ... more >>
Loop thru Assemblies
Posted by JezB at 5/25/2004 9:51:01 AM
I have a library method that exists in a project assembly (eg. WebLib or
WinLib). Within this method I want to scan the other assemblies in the
solution generically for embedded resource files. I have a way of scanning
an assembly for embedded resource files, but as yet I have not discovered a
w... more >>
RichTextBox-LoadFile & Find
Posted by Levend Sayar at 5/25/2004 9:13:32 AM
Hi, evereybody
I am loading a nearly 22 MB text file into a richtextbox control. It has ~
410K lines. First question, is there any faster way of loading this file
instead of doing it with LoadFile function? The second, using Find function
for text search again slower according to other windows... more >>
how to zmodem
Posted by Muthu Krishnan.R at 5/25/2004 4:51:05 AM
hi friends
how can i use the zmodem concepts and the dial up scripting. help me.... more >>
Application Bars
Posted by Mike Johnson at 5/25/2004 12:51:04 AM
I want to create an application that runs as a banner across the top of the desktop. To achieve this in Win32 etc I would use the SHAppBar class. Is there an equivalent class or property I should be using in C#
... more >>
DataGrid bug in Framework 1.0, please confirm
Posted by Allan Nielsen at 5/25/2004 12:41:09 AM
H
could some one please confirm this as a bug in the .net framework 1.0
place a datagrid on a winform, do databinding to you favorite database(northwind:)
press shift key down while pressing the arrow down. keep doing this until you reach the end, then keep doing this again a couple of times, th... more >>
|