all groups > dotnet windows forms > august 2004 > threads for august 29 - 31, 2004
Filter by week: 1 2 3 4 5
Incorrect SQL conversion into String::Format statement.
Posted by Przemek at 8/31/2004 8:27:08 PM
Hi
A problem is - how can I make that statement correct? - I would like to
SELECT somenthink like that:
String *SQLstatement = String::Format(S" SELECT * FROM Table WHERE Date =
{0}", DateTimePicker1->Value->ToShortDateString() );
There is a String statement (*SQLstatement) so I concaten... more >>
DataGrid question
Posted by rob willaar at 8/31/2004 7:38:36 PM
I use the datagrid to display the results after a db search.
But i like only entire rows (not cells) to be selected, and when somebody
doubleclicks somewere on a row to have a doubleclick event for that row.
... more >>
scrollbar problem..
Posted by Paul Lo at 8/31/2004 4:57:58 PM
Dear all,
I'm writting a .net winForm application with C#, but I'm getting the
following exception when the user scrolls a scrollbar. The strange thing is
that the exception happens only some of the time, and seems pretty random.
However, once an exception occurs with a scrollbar and when I... more >>
Find control on inherited form from base class
Posted by TS at 8/31/2004 4:36:32 PM
I have a base class that has a form that inherits from it. On this form is a
control I need to get a handle to. How do I get this handle from the base
class? I don't have a FindControl that i've been able to get intellisense on
like I do in a web form.
thanks for any help!
... more >>
Work Offline Solution Needed
Posted by Daren Hawes at 8/31/2004 3:14:01 PM
Hi am about to create a N-Teir Solution Using SQL Server 200 as the
Data Teir, XML Web Services as the Business Layer and Winforms as the
presentation layer.
I will be using Datasets that will peridically update the data back to
the SQL Database.
I wish to implement a Work Offline feature.... more >>
Adding an 'internal' control to the toolbox.
Posted by Chien Lau at 8/31/2004 1:56:59 PM
I frequently define internal UserControl-derived classes in my WinForms
apps:
internal class MyUserControl:UserControl{
...
}
I'll often need to embed these controls in a Form, whose class is
contained in the same assembly as the control. As far as I know, the only
way to do t... more >>
Tab Control ComboBox
Posted by Jeff Haumesser at 8/31/2004 1:41:06 PM
Here's one!
I have a Tab Control that consists of 4 Tab Pages. These pages will be
removed and added as needed as the user checks and unchecks certain
checkboxes.
On the Form_Load event, I am calling routines that populate the various
ComboBoxes List's that are contained by these Tab Pa... more >>
Printing Graphics.PageBounds not accurate
Posted by Gregg Walker at 8/31/2004 12:58:57 PM
Hi,
I'm writing a check printing program that needs to put a MICR line 6/16" from the bottom of the page. Since the checks will be
printed on a laser printer using letter sized paper the printable area is not actually 8 1/2" x 11". I'm using an HP LaserJet 4000
and it cannot print all the w... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
WebClient Timeout
Posted by Paul J. Lay at 8/31/2004 11:30:13 AM
I have an app that is working well. It uses the weblclient class uploaddata
method. Recently the server overhead increased causing communication
timeouts to occur. How can I increase the client recv timeout value to get
around this problem. Thanks for your help on this.
Best Regards,
Pau... more >>
MDI application design
Posted by Tod Johnson at 8/30/2004 10:31:41 PM
Hello,
I have created Application that has MDI interface. Indeed application
works as it should, but I have question related to its design.
Assume my application can change Zoom state of the opened document from
the toolbar (toolbar for all opened document is the same). Which
component o... more >>
Does global declarated "iexplore.exe" exist?
Posted by Przemek at 8/30/2004 9:52:06 PM
Hi.
I've got a little not typical problem right here.
I would like to open using InternetExplorer ("iexplore.exe") my link from my
application. I do it like that:
System::Diagnostics::Process::Start(S"iexplorer.exe", S"www.wp.pl");
And it works, but problem is - I have to check does "iexpl... more >>
Can you intercept click event?
Posted by Seeker at 8/30/2004 8:49:45 PM
Hello,
I am trying to control tooltips in my winform. I want to only turn them on
when the user chooses a menu item called WhatThe. When they do I change the
form's cursor to Cursors.Help and activate the tooltip. The problem is I
don't want the user to actually be able to interact with the fo... more >>
show dialog just after a form is shown
Posted by lukasz at 8/30/2004 6:07:46 PM
Is there an equivalent of OnShow event for forms? I want to open a file open
dialog immediately after my form is shown (modelessly). OnLoad and
OnVisibleChanged do not suit me since it shows the file dialog before
showing my form. Any ideas?
... more >>
some forms are truncated on specific machine
Posted by giatorta NO[at]SPAM hotmail.com at 8/30/2004 2:41:33 PM
Hi all,
I have a WinForms application which works well on several machine, but
shows truncated forms on a specific machine
such machine has the same configuration as the others: Win2000 Pro SP3
and .NET Framework 1.1
Anyone has a hint?
I have found only one message on this newsgroup on t... more >>
A generic error has occured in GDI+
Posted by Dante at 8/30/2004 10:17:03 AM
Hi,
I have written a winforms program for a production environment. It runs
24/7. After a few days (2 'till about 10 days) i receive the following error
(stacktrace included). The user sees red boxes with crosses in it and has to
restart the application.
I frankly don't have a clue about ... more >>
ScrollBar In LidtView Detail
Posted by Yura Moldavanov at 8/30/2004 10:09:40 AM
Hello, Everybody!
I have problem in myListView control, inherited from ListView Class
I try to calculate width of some Column in LisrView (Detail) when after
resizing.
For this purpose I override OnResize method (see code below)
if I extend width of the MyListView - That's All OK.
BUT if... more >>
MessageBox Result - pressed buton.
Posted by Przemek at 8/30/2004 8:46:46 AM
Hi.
I have MessageBox likt that:
MessageBox::Show(S"string1",S"string2", MesageBoxButton::YesNo,
MessageBoxIcon::Error);
How can I get result of pressed button from that MessageBox - I trying to do
something like that:
if(DialogResult::Yes == MessageBox::Show(......))
{
......
}
... more >>
populate treeview with dataset
Posted by homer at 8/30/2004 7:51:06 AM
Could any body point me to a good example of populating windows treeview
control from parent/child nested dataset?
Thanks!... more >>
Selecting a combobox item when textchanged event fires...
Posted by Greg Allen at 8/30/2004 7:41:00 AM
I have an odd problem with a combobox and selecting an item in it.
I have a combobox that has handlers for both SelectedIndexChanged and
also TextChanged. In the TextChanged handler, if the text matches one of
the items in the combobox, the SelectedIndex for the combobox is set to
that item. ... more >>
ComboBox No Selection
Posted by HKM at 8/30/2004 7:17:03 AM
I'm currently populating combobox from one of the sql server tables (data
binding). The combo box selection is optional i.e. user can either choose a
value from the combo box or decide not to put any value for it. When I do the
data binding combo box comes with default selection (first value i... more >>
SelectedListViewItemCollection problems
Posted by Tomasz Zaniewski at 8/30/2004 2:05:02 AM
Hi All,
I understand that to get the items that are selected in a listview, you read
the SelectedItems porperty of the list view.
The type of this property is SelectedListViewItemCollection, and this type
is meant to be defined in System.Windows.Forms.dll. But whenever I try use
this ty... more >>
Embedding Forms
Posted by Bruce at 8/29/2004 1:39:03 PM
I would like to design a number of separate forms in Visual Studio,
and then at runtime embed them into an area of another form (without
borders and title bars of course). The forms will all be placed in the
same area on the main form, and which forms are used is dependent on
navigation choices ... more >>
|