all groups > dotnet windows forms > april 2004 > threads for monday april 19
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
IS Dot net appropriate for Windows application
Posted by Vikram at 4/19/2004 11:56:59 PM
Is using dot net correct for building windows database
application.
Can anyone point to some articles which highlight this
issue as i have noticed that strees is always laid over
dot net to be used as web based applications.
Any demo app or articles is there please let me know.
Vikram... more >>
Overridable or NotOverridable (System.Collections.Collectionbase.Clear)
Posted by Ning at 4/19/2004 9:01:02 PM
My code is simpl
Public Class Class
Inherits CollectionBas
Private _lock As New System.Threading.ReaderWriterLoc
Public Overrides Sub Clear(
_lock.AcquireWriterLock(-1
MyBase.Clear(
'Add my own code
_lock.ReleaseWriterLock(
End Su
End Cla... more >>
databind dataviews to datagrid
Posted by martin at 4/19/2004 7:23:14 PM
Hi,
After working for a while with asp.net I decieded it was about time to try
out win forms.
However I am having problems with databinding.
I have two datagrids on a single form.
I have made a single dataset and populated it.
I have made my first dataview from my original dataset and attemp... more >>
Adding an existing project error
Posted by Newbie at 4/19/2004 6:24:00 PM
Hi,
I have two VS .Net 2003 projects that compile and execute
correctly on their own.
I would like the second project to launch from within the
first project. Therefore, I added the second project to
the first, via "add project/existing", and added a button
(and code) to launch the seco... more >>
Regular Expressions
Posted by Collin Smith at 4/19/2004 5:37:11 PM
I'm new to regular expressions and I'm having some trouble with the
following. I'm trying to match the start and end tags of a particular HTML
tag set and all the text inbetween.
something like this....
yadda yadda yadda ...
<listitem>1. Some data that I want</listitem>
yadda yadda yadda.... more >>
catching a itemchecked type event on a checkedlistbox
Posted by nic at 4/19/2004 4:48:48 PM
Is there any way to catch an event that is fired when an item is checked or
unchecked on a checkedListBox:? I'm looking for something similar to
CheckStateChanged on a CheckBox.
I'm not seeing anything to indicate there is the event is similar present
for a CheckedListBox here :
http://msdn.... more >>
creating transperent usercontrol
Posted by Samir at 4/19/2004 4:46:08 PM
Hi...
I am trying to create usercontrol with transperent background color.. I can't do it.. it becomes black background on webforms and it is not transperent.. i should be able to view the control behind that contro.. or background of the container which contains that control.. I need some sample,... more >>
The better mousetrap with a built-in trap
Posted by Chris Botha at 4/19/2004 3:47:59 PM
If one wants to assure that there is only one instance of an app running,
then the popular solution is to use a Mutex and a message box, telling the
user there is already one running. I decided to go one further, bring the
1st instance to the foreground, no message boxes. Impressive, I thought. S... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Drag and Drop of E-mail items
Posted by Vijayakrishna Pondala at 4/19/2004 12:47:59 PM
Hello,
I want to drag and drop an email item from OUTLOOK to a form. After
dropping, i want to save the dragged mail item as a .MSG in my C:\temp. I
tried with all DataFormats but could not do this...
Help please?
Thanks,
Vijaya KrishNa P.
... more >>
Print Form Properly?
Posted by localhost at 4/19/2004 11:05:44 AM
I am attempting to do a "print screen" on a WinForm.
The "now printing" dialog box is showing in the print-out,
which is not what I want - I only want the screen dump of
the WinForm itself. I used the code from the Windows
FAQ (http://www.syncfusion.com/faq/winforms/search/491.asp).
Ho... more >>
Are records in a dataset lost when switching forms?
Posted by Nancy at 4/19/2004 10:45:59 AM
My dataset1.xsd contains several elements.
One of my elements "reqs" contains records of data which
are filled via form1.
When I call form2 from form1, dataset1.reqs is empty.
I thought that since the dataset1.reqs is in memory, I
could see element and their records in any forms I called ... more >>
Toolbar image with XP style
Posted by David Pizzi at 4/19/2004 10:36:32 AM
Hi guys
enabling the XP style
(System.Windows.Forms.Application.EnableVisualStyles()) makes my toolbar
images disappear. It seems that it's not possible to show the image of a
toolbar button with XP style !!
Any solution or workaround ?
Kind regards
David Pizzi
... more >>
Moving a Splitter
Posted by LittleC at 4/19/2004 7:36:08 AM
Hi
I need to move a splitter on my form within my code, I've tried the following, but it does nothing
objSplitter.Location = new Point(intX, 0)
objSplitter.PerformLayout()
Any ideas
Cheers
LittleC... more >>
Process.Start for MSDE setup hangs at sqlredis.exe
Posted by M K at 4/19/2004 7:31:06 AM
Here is my process
myProc = Process.Start("myPath & "MSDE\setup.exe", "SAPWD="..." /qb /l c:\dm3msdeInst.log /settings securitymode=SQL"
While myProc.HasExited = Fals
System.Threading.Thread.Sleep(1000
End Whil
The Setup runs until here (last line in log file)
Executing "C:\Program Files\Mic... more >>
one click checkbox in datagrid
Posted by David Cox at 4/19/2004 3:45:19 AM
I added a mousedown event handler to my form for my datagrid. I wanted to
catch the event so I could toggle a checkbox in a checkbox column with one
click rather than the usual two clicks.
Here is the code inside my mousedown handler:
int myCheckBoxCol = 0;
DataGrid.HitTestInfo hti = dataG... more >>
|