all groups > dotnet windows forms > october 2004 > threads for friday october 29
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
Application crashing randomly
Posted by sunil NO[at]SPAM volcanomail.com at 10/29/2004 11:38:47 PM
Dear All,
We have developed an application and are use No Touch Deployment to
run it...quite a few times the application just crashes without any
exeception...I have handled the thread exeception handler too and it
does not come there...
How do I debug to find out what is causing the problem... more >>
Events & Windows Service App
Posted by Doug Thews at 10/29/2004 3:32:09 PM
Where are the routines mapped to events in a Windows Service app. I notice
that there's OnStart, OnStop, etc - but I can't find a place where these are
added as event handlers. Are the reserved names for a Windows Service app,
or is there something I'm missing?
--
Doug Thews
Director, ... more >>
OCX Controls
Posted by Charles A. Lackman at 10/29/2004 3:03:28 PM
Hello,
I have created a project that is dynamically adding an OCX control to my
form. I also have other OCX controls on the form that I have placed from
the designer.
When I call the form using ShowDialog, the forms Load_Event does not fire.
When I call the form using Show the forms Load... more >>
Custom control not passing properties and events to parent
Posted by AlBruAn at 10/29/2004 12:00:03 PM
I have a custom control consisting of a panel, a text label, and a TreeView
derived from Microsoft's TreeView control modified to allow custom paint
events. The text label is contained inside the panel, which is docked at the
top of my custom control; the treeview is docked to fill the remain... more >>
Measuring the offset of a sub-control within a form
Posted by Phil Jones at 10/29/2004 10:11:21 AM
Is there a consitent/easy way to get the X:Y pixel offset of a contron
within it's containing Form (irrespective of how deeply it is nested within
a control hierarchy)?
I've written a little routine that runs up the hierarchy, but I thought this
must be such an obvious thing that there migh... more >>
Capture Web Page
Posted by Stanley at 10/29/2004 9:52:21 AM
I am looking to capture a web page and display it in a PictureBox. I
have tried loading the webpage in a browser control and have managed to
capture the control but only for the width and height that the control
is on the form. So I only see what the control shows with scroll bars
for the re... more >>
Winforms Datagrid Row Deletion
Posted by Srikanth at 10/29/2004 9:14:23 AM
Hi,
Iam trying to delete a row on a Winforms datagrid and before deleting
the row I want to do some validation. But, the Keydown event on the datagrid
where I check whether the key pressed is 'Delete' seem to fire sometimes
only. How do I change the code so that the Keydown event fires at ... more >>
How disable sorting feature of DataGrid
Posted by Andrew at 10/29/2004 9:13:06 AM
Hi, friends,
In a VC# app, I have a DataGrid with DataTable as its SourceData. This
DataTable has a ColumnStyle collection for each field. In Form_Load event, I
set
myDataGrid.AllowSorting = false;
However, after filling up data, I can still sort each column.
Any ideas? Than... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Funny Issue with DataGrid and Config file
Posted by Tariq at 10/29/2004 7:01:47 AM
I have a app.config file that looks something like this.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="test" value="10001"/>
</appSettings>
<fileTypes>
<add key="htm" value="c:\temp"/>
<add key="jpg" value="c:\temp\jpg"/>
<add key="png" value="c:\temp\png"/... more >>
"OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT"
Posted by Christopher at 10/29/2004 6:16:01 AM
Is there a way of destroying all objects when a form closes so that the
correct objects
can be created once the form is REopened? error i am getting is :
"OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT"
when opened and closed repetedly and alternating between the 2 "modes"
... more >>
|