all groups > dotnet windows forms > january 2008 > threads for january 15 - 21, 2008
Filter by week: 1 2 3 4 5
Enable one Active window at a time
Posted by arora.dipti@gmail.com at 1/21/2008 10:25:10 PM
Hi
We are working on a Health Contact Center Application in which a
patient is able to contact using either Chat Application or Phone Call
with the Doctors.
When the doctor is contacted using either of these means, a popup
appears at the Doctor's End and he is able to communicate with the
pati... more >>
How do I know over what element of ListBox is cursor?
Posted by Alexander Vasilevsky at 1/21/2008 9:02:09 PM
How do I know over what element of ListBox is cursor?
http://www.alvas.net - Audio tools for C# and VB.Net developers
... more >>
Accelerators
Posted by Matthew Ireland at 1/21/2008 2:59:01 PM
How do you create Accelerator behavior for a Windows Form exe with a menu
(i.e. <ALT> + O to call an Open File method). The property on the Menu Item
doesn't seem to do anything except display some text indicating an
accelerator is present. There is no way to connect the key sequence to a
... more >>
DownloadFileAsync via Command line
Posted by Bedwell at 1/21/2008 1:03:01 PM
Ok, I’m using the method DownloadFileAsync to download a large file and I
also use the DownloadProgressChanged event to show users how far along they
are in downloading the file. I put this into a WinForms application, make a
call to the download file method (behind a button click event) an... more >>
Deployment and InstallerClass
Posted by Brian Kitt at 1/21/2008 11:23:03 AM
I don't know if this is the appropriate newsgroup, but not sure which one
would be.
I have a custom dialog that I added to the UI of the deployment package.
That dialog asks for special installation options.
#1. Depending on the users configuration, I may want to suppress that
screen e... more >>
how to display resizeable rectange
Posted by Gregory Khra at 1/21/2008 10:45:04 AM
I need in my Windows Forms application to allow user to enter a rectangle and
later resize it. In the other words, I need to display a rectangle that (if
selected) shows control points that user can grab (with mouse) and drag to
resize the rectangle. Can you recommend an appropriate control?
... more >>
SVN Class for .NET
Posted by martin.zugec@gmail.com at 1/21/2008 9:01:19 AM
HI guys,
I think many of you are using subversion, however do you have some
projects that directly involves subversion (e.g. checkout from your
application)??
I was looking for some components, however I was not successfull and I
would like to know if there is anyone that was fighting with ... more >>
DatagridView
Posted by Arne Garvander at 1/21/2008 6:37:04 AM
I have a dataset with one table, which I build from scratch (not using SQL
server).
It displays fine on the web with a datagrid.
I use the same dataset and apply it to a DataGridView in a windowsform. My
datagridview does not display at all. What am I doing wrong?
HistoryGrid.A... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Is tag property ByRef or ByVal?
Posted by martin.zugec@gmail.com at 1/20/2008 8:10:51 AM
I have project where I am assigning forms to Tag of different form
(therefore creating some kind of relationship)...
My problem is quite simple - when one of forms is disposed, tag still
contains that object.
So my question is quite simple - is Tag ByRef or ByVal???
Thanks,
Martin... more >>
Show class in Toolbox
Posted by martin.zugec@gmail.com at 1/20/2008 6:52:27 AM
Heya,
I am writing my own class, that is inheriting from Form and only adds
few additional properties. However question is how to add this custom
class to toolbox??
Thanks,
Martin... more >>
User.config file creation
Posted by Robert Scheer at 1/20/2008 6:38:18 AM
Hi.
I am playing with application and user settings for windows forms
applications. I found this very helpful topic <http://
groups.google.com/group/microsoft.public.dotnet.framework.windowsforms/
browse_thread/thread/e9a8ba3295ca909b/e903f50e3bd04d68?
lnk=st&q=user.config+group%3A*dotnet*#e9... more >>
Problems with MDI and docking...
Posted by martin.zugec@gmail.com at 1/20/2008 5:18:27 AM
Hi,
I am writing application that should contain of multiple forms that
should cooperate with each other. Design should be similar to Outlook
style - one main navigation bar at left and rest.
However I got problem - whenever any MDI child is maximized, it will
appear behind main navigation ... more >>
copy paste reboots
Posted by Ramos at 1/19/2008 11:02:00 PM
Recently when I try to copy and paste or drag something on the desktop my
computer reboots and comes up with a message that says it has recovered from
a serious error. However if I am working in Word or Excel this feature works
properly. The machine is XP Home Edition and I believe it has SP-2... more >>
Hooking IDataObject.GetData in .Net
Posted by Roßert_G._Schaffrath at 1/19/2008 10:23:45 AM
Sorry for the cross-posting. I am having a hard time trying to classify
exactly what group this question would apply to.
I had posted an earlier message to
microsoft.public.dotnet.framework.windowsforms trying to find a way to
access the lindex member of the FORMATETC structure for a
CFS... more >>
Parsing XML file
Posted by Elmo Watson at 1/19/2008 10:22:16 AM
I've got a Winforms app and I'm trying to parse an ASP.Net web.config file
(xml)
I need to search each of the connectionstrings in the connectionstrings
section, to see if the name is there already
then, I need to write out the new node, if it's not there already
I'm having trouble figuri... more >>
Multiple Combo Boxes - Same Binding Source
Posted by Joe at 1/18/2008 3:12:27 PM
Hi,
I have a rather form where the user enters address
information. It is entered in more than one place because it
represents different addresses for the same customer - like shipping
and billing. Both of these addresses contain a combo box so that the
use can select the state.
... more >>
Drag Drop within TreeView Question...
Posted by Doug Holland at 1/18/2008 2:44:03 PM
I've found lots of examples of Drag and Drop between two TreeView controls
and I currently have Drag and Drop working between a TreeView and a
DataGridView control.
What I need to do now though is to do Drag and Drop between two TreeNodes
within the same TreeView control. Basically the same... more >>
Handling image list
Posted by martin.zugec@gmail.com at 1/18/2008 10:00:44 AM
Hi guys,
how are you handling images in your applications?? Sometimes
components wants images from Resources, sometimes imagelist...
Also for image list you must specify image size, but I would like to
use sometimes 16x16, sometimes 32x32 and use one source for all
images... :(
Waiting f... more >>
Tabcontrol
Posted by Arne Garvander at 1/18/2008 9:39:00 AM
I have a tabcontrol with optional tabpages.
Depending on the data, I would like to hide or add tabpages.
How can I do that?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
DataGridView, how to disable cell validation on closing form?
Posted by Backwater Geezer at 1/18/2008 6:22:33 AM
DataSource is an ArrayList.
Some of the columns have Format = N2.
The problem is that if I enter invalid data into an N2 formatted column
I cannot close the form by clicking on the form's Close (X) button,
FormClosing fires after cell validation.
I don't want to do my own cell formatting no... more >>
unknown error [VS2005 C#, SQL 2005]
Posted by Chris at 1/18/2008 2:10:02 AM
I wrote a simple application in C# (VS 2005) that operates on SQL data. The
problem is that I am getting sometimes errors like that:
http://komputery.katalogi.pl/dziwny_b%C5%82%C4%85d_%5BC%23%2C_VS_2005%2C_ADO%5D-t123218.html
whatr does it mean? How to avoid that?... more >>
Serialization of Controls
Posted by Luis F. Rodas at 1/17/2008 12:09:14 PM
Hi all,
How can I save (and after loading) to binary files all properties configured
in a Tab Control (including collections such as TabPages, ImageLists) and
other .NET Controls (System.Windows.Forms.Control) ?
Best Regards,
Luis F.
(Indusoft Team)
... more >>
parser problem with fields
Posted by martin.zugec@gmail.com at 1/17/2008 12:53:40 AM
Hello,
when using parser (TextFieldParser), is there any way to specify "and
rest"?
Something like tokens=1,2,* (first, second, rest)?
What I mean exactly:
I have ini files with content that is not in my control. Delimiter is
"=".
It is working as expected - if there is TestParam=1 then... more >>
Invalid value for key AttachDBFileName - related to 16-bit calling code ?
Posted by Willy at 1/16/2008 11:20:48 PM
This thing is complicated so bare with me.
We have a pure .NET application using an SQL express database which we
deploy via ClickOnce. When we launch the application via the normal
shorcuts (internet or program files) it *always* works.
Now the beauty is that this application has to be l... more >>
"Replacing" an object in a List(Of Object)
Posted by BobRoyAce at 1/16/2008 10:45:32 PM
Let's say that I have two classes: Franchise and FranchiseOwner.
Suppose that the Franchise class has a property, called
FranchiseOwners, which is a List(Of FranchiseOwner).
Now, suppose that I have a form, with a module-level object variable
of type Franchise, called m_oFranchise. Let's say t... more >>
Overriding DialogResult of a button on a form
Posted by BobRoyAce at 1/16/2008 10:22:17 PM
I have a form that I show as a dialog (i.e. Form.ShowDialog). On this
form I have two buttons: one with a DialogResult of OK, and the other
with a DialogResult of Cancel. However, if the user clicks on the one
with a DialogResult value of OK, and something's wrong with data they
enetered on the ... more >>
Question about using DataBindings
Posted by BobRoyAce at 1/16/2008 7:57:07 PM
Let's say that I have a form on which a user can edit a Customer
record. On the form I have a module level variable as follows:
Private mo_CurrentCustomer As Customer
where Customer is a class defined in the system. After the user makes
all of their data entries on the form, I move the data ... more >>
Synced databinding between multiple grids
Posted by Jim at 1/16/2008 2:18:02 PM
Hi,
I have an app that I wrote using business objects as datasource, but that I
am considering rewriting using DataSets, etc. instead. I am looking for
some guidance to make this decision.
The app is for scheduling payments of invoices and has three grids (regular
DataGridViews):
A Ven... more >>
WebBrowser control and not updating contents
Posted by Jimski at 1/16/2008 11:37:46 AM
Hi,
I am using a WebBrowser (.NET 2.0) control on my form and want to
dynamically build the HTML for it.
However, I am unable to get the Browser to show the HTML I am writing
to the browser.
I am using the following code in a button click event on the form.
Why does the code below not ... more >>
Resources in C#
Posted by Greg at 1/16/2008 10:00:58 AM
Can someone help me using resources in C#/.NET 2005?
I've found numerous examples on the internet. They all seem to refer to
resources files ending in ".resource". why? When I add a new resource
file, the filetypes are ".resx". Or some others want me to use resgen..
I'd rather stay out of the ... more >>
Windows Forms Strange Behavior
Posted by Doug Holland at 1/16/2008 9:39:01 AM
I have a Windows Forms application with an annoying bug in it that I cannot
seem to track down.
When an operation is performed by the user then in some cases the
application ceases to be the active Window. This is still the case if I use
the BackgroundWorker component to perform the operati... more >>
TaskBar height and location?
Posted by Terry Wahl at 1/16/2008 8:57:01 AM
I have developed a custom dialog that is popped up when the user hovers over
a notify icon in the system tray. Is there a way to obtain the following:
Taskbar Height
Taskbar Location
Thanks for your help in advance,
Terry
... more >>
Passing an object back to a form
Posted by BobRoyAce at 1/16/2008 8:12:07 AM
I am developing an application in VS2005, using VB.NET.
Suppose that I have a class, called Widget, which contains, among
other things, a List(Of WidgetDetail), where WidgetDetail is another
class.
Now, let's say that I have a Widget form, called WidgetForm, and that
it is used to enter Wid... more >>
Dynamicaly updating a .config file
Posted by Lilian at 1/16/2008 3:06:00 AM
Hi,
VS2K8, .NET 2.0
In a standard SQL Server client application the connection string is stored
in my .config file.
I would like the user to be able to switch from one database to another
without exiting the application.
When updating the .config using ConfigurationManager class, and... more >>
TransactionScope using
Posted by Aleksey Timonin at 1/15/2008 7:15:01 PM
Hi guys,
I tried to use TransactionScope on to defferent TableAdapters like this:
using (TransactionScope transScope = new
TransactionScope(TransactionScopeOption.Required))
{
TableAdapter1.InsertQuery(id, name);
TableAdapter2.InsertQuery(id, customerName, customerAddress);
transScope.Co... more >>
How to add WebCam windows form that work all type of webcam
Posted by harshad at 1/15/2008 2:28:52 PM
I create one windows application that require webcam for photo
capture on client machine that have D-link, creative, logitech web came.
how to add minimum COM component use in without COM controls use I is
Possible ?
... more >>
Merging Menus using class derived from MenuStrip
Posted by mfr at 1/15/2008 11:14:00 AM
I am having problems merging menus in an MDI application. The parent menu
contains 'open' and 'close' under the 'file' menu. The child menu should
append 'print' and 'preview' to the parent menu once the child form is
activated.
This does work correctly if a MenuStrip item is created in th... more >>
Resizing forms at runtime using Compact Framework 2.0
Posted by Mike at 1/15/2008 9:37:01 AM
Does anyone know how to resize a form at runtime using the compact framework
2.0?
I have tried using form.Height to set the new size but the form does not
change size (This apparently works on the full framework but not on the
compact framework).
Thanks.... more >>
Can a Backgroundworker have or reference an eventhandler?
Posted by Rof at 1/15/2008 4:45:53 AM
I have an app which has to wait for messages (using port.DataReceived)
and process them when they come in. As I expect the traffic to be
heavy, I want to do this using a Backgroundworker. Can I add an
eventhandler in "DoIt" and expect the delegate to which it points to
be called in the backgroun... more >>
|