all groups > dotnet windows forms > june 2004 > threads for thursday june 10
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
C++ and form application programming
Posted by Shane Stevens at 6/10/2004 6:59:08 PM
Can anyone please point me towards a book specialising in Windows Forms
programming C++, NOT C# or VB.NET?
I am a very experienced programmer migrating from MFC to the .NET framework
and i'm having a hard time finding good C++ code. Everything is in C# or
VB.NET!
Any help would be greatly ... more >>
Sending mail from WinForms application
Posted by Charlie NO[at]SPAM CBFC at 6/10/2004 5:43:03 PM
Hi:
How do you send mail from a WinForms application? I thought I could use
SMTP class like I do in ASP.net, but I can't get reference to
System.Web.Mail.
Thanks,
Charlie
... more >>
DataGrid sort
Posted by Harlan Marshall at 6/10/2004 4:50:02 PM
I need to sort a DataGrid on a specified column without requiring the user to click a column header. How do I do this programmatically?
Normally I would set the DataGrid DataSource to default or custom DataView and set the sort property, but in this case the DataSource is a ChildRelation.
Read o... more >>
Cannot Print more than two pages
Posted by BVM at 6/10/2004 3:21:32 PM
Hi, All:
I have a problem with print preview. Even though I set e.HasMorePages =
=3D true, it still cannot print 2 pages, I mean content of page 2 is =
printed in page 1. How do I solve this problem?
Thanks,
Dennis Huang
=3D=3D=3D=3D some codes =3D=3D=3D=3D=3D=3D=3D=3D=3D
private void... more >>
Selecting data from a data grid
Posted by TJBernard at 6/10/2004 3:08:01 PM
I have a data grid, which I have successfully populated. I would like to add the functionality to this data grid, so that the users can scroll through the grid, select a record they would like to "check out" and then double click on the data grid, to populate another form (so they can "check out" t... more >>
Pb minimize modal form
Posted by Adi Lazar at 6/10/2004 2:19:50 PM
Hi,
I cannot minimize my win form application when I have a modal form opened.
My mainform is modeless, has mdiChilds, but I need to open modal forms from
mdiChild => I cannot minimize mainform when a modal form is opened. It is
very strange 'cause I can minimize it by clicking "Show desktop" ... more >>
Richtextbox Settings problem
Posted by tuuky at 6/10/2004 1:18:01 PM
I pasted the following code (from a Microsoft example) in the load event of my form, but when I run the app, none of the settings, such as font size, color, etc. take effect, except for the bulletted list.
' Clear all text from the RichTextBox;
rtbSetUpInstructions.Clear()
' Set the fon... more >>
NullReferenceException in CallWindowProc (Is it a bug?)
Posted by Nicolás Castagnet at 6/10/2004 1:09:14 PM
Hi,
I am having an strange behavior in a .Net application. Sometimes an
exception is thrown from Windows Forms assembly, I paste below the full
stack trace. The exception general is thrown after invoke an option in the
menu with a shortcut, but it was thrown with different options and is very
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Panel Placement
Posted by Thom Little at 6/10/2004 12:39:26 PM
Using the Visual Studio .NET 2003 designer there does not seem to be any
method for controlling the placement of a panel on a form.
Are you expected to embed the panel in a table in order to control its
placement on the form or is there something blatantly obvious that I am
overlooking?
-- ... more >>
ThreadPool Threads and UI
Posted by jpuopolo NO[at]SPAM mvisiontechnology.com at 6/10/2004 10:51:10 AM
All,
I just watched a webcast where the presenter showed performing some
async work via using ThreadPool.QueueUserWorkItem(...). This call
uses thread from the .NET process thread pool to do some work in a
worker function. So far, so good.
In the webcast, the code in the worker function (... more >>
Application focus question problem
Posted by Rhy Mednick at 6/10/2004 10:47:54 AM
I have a Windows forms application that I'm creating and the application has
several child forms. The child forms are always displayed above the main
form but they are not MDI children because I want to restrict them to the
form area of the main form. I'd like to hild the child windows when ... more >>
How to identify an error?
Posted by DraguVaso at 6/10/2004 10:14:35 AM
Hi,
I want my application do different actions depending on the exception it
gets.
For exemple: I have an SQL-table with a unique index. In case I try to
Insert a record that's alreaddy in it I get this exception: "Cannot insert
duplicate key row in object 'tblTelephones' with unique index
'... more >>
Error Using SelectedIndices of Listbox with custom objects
Posted by Alex Stevens at 6/10/2004 9:50:05 AM
Hi,
I'm writing a usercontrol which displays the typical two listboxes and =
the ability to move items from one to the other.
The listboxes are populated with my custom objects (SwapItem), which =
simply have a ValueMember, DisplayMember a couple of other properties =
and the tostring funct... more >>
Access to Lotus Notes from .net framework
Posted by Aditya at 6/10/2004 9:27:06 AM
Hi
We are trying to push calander appointments and contact details from .net
winform and need Lotus notes controls.
In VB6 we used DCO.OCX.
Any ideas how to do this in .net
Regards
... more >>
Access to Lotus Notes from .net framework
Posted by Aditya at 6/10/2004 9:27:01 AM
Hi
We are trying to push calander appointments and contact details from .net
winform and need Lotus notes controls.
In VB6 we used DCO.OCX.
Any ideas how to do this in .net
Regards
... more >>
Formatting labels
Posted by David at 6/10/2004 9:17:58 AM
It seems simple enough, but I have a label on a form that I would like to
use to display a dollar value.
the problem comes in when the text is displayed. Instead of 32.00 I get
32.00000.
I have a simular problem with a data grid
Instad of getting 32.00 I get 32.
any suggestions
--
... more >>
XmlSerializer exception message
Posted by Graham Allwood at 6/10/2004 8:35:41 AM
Hi,
I am trying to pass some rtf text a a string to a webservice. Now, it is
probably wrong to do this but i does hilight a strange problem.
When I call the webmethod from the client (Windows Forms) I get an exception
from the XmlSerializer, in the debugger the exception message is:
"'\0'... more >>
weird VS error marking
Posted by Marty U. at 6/10/2004 12:51:20 AM
Can someone tell me why Visual Studio thinks this is incorrect:
DataTable dtblItems = New DataTable("Items");
It is saying that it expects a ; after DataTable instead of the ("Items")
The same for
DataSet dsItems = New DataSet();
VS is saying ; Expected after DataSet.
I am new to C# ... more >>
|