all groups > dotnet windows forms > april 2004
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
Remove from Source control !!!!
Posted by Alok at 4/30/2004 8:30:25 PM
Hi,
I have an application that gets the solution from VSS and then builds it
using the command line tools.
only thing i can't configure is how to remove the VSS bindings once the
solution is taken onto the Hard Disk.
Any help ??
TIA
P.S.: Know that this is not the correct forum for th... more >>
Sorted datagrid on a form and display selected row on a dialog-HELP
Posted by kll at 4/30/2004 6:26:02 PM
I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following co... more >>
Is there any way to suspend the trigger of a particular event?
Posted by babylon at 4/30/2004 3:53:06 PM
I have 2 ComboBoxes,
the selectedIndexChanged event handler in ComboBox A change the
SelectedIndex of ComboBox B
the selectedIndexChanged event handler in ComboBox B change the
SelectedIndex of ComboBox A
so whenever I change anyone of them, they would trigger the
SelectedIndexChanged event ... more >>
Need real time of day in WinForms app, not computer's time
Posted by sandman at 4/30/2004 2:21:05 PM
We have an Windows application that is date/time sensitive and we need to get the real time of day somewhere. We can't rely on the user's computer time (DateTime.Now) because they could change it. The network administrator suggested Network Time Protocol (NTP). Also he's going to look into creatin... more >>
textbox readonly backcolor
Posted by nospam NO[at]SPAM crlf.com at 4/30/2004 12:56:03 PM
If I have a textbox with readonly set to true
The backcolor shown is "control"
However if you read the property it says Window
What controls setting of the backcolor property when it is ReadOnly
Can the defalut ReadOnly backcolor be changed, read, or set
Is there a way to determine the textbox... more >>
Interaction between user controls and win forms
Posted by Anita C at 4/30/2004 11:56:15 AM
Hi,
I have a 'UserControl1', which has comboboxes, texboxes and buttons. In the
click event for the 'Ok' button on 'UserControl1', I have code to do some
processing with the data collected from the textboxes etc. At the end of all
the processing I want to be able to close the form hosting UserC... more >>
Designer Throwing Error
Posted by Mark at 4/30/2004 9:16:02 AM
Hi
I am having forms that are in Design Mode, throw an custom class error, when the form is closed in the Designer. The error comes from a custom class. This class and the form are clearly not instantiated when the form is in Design Mode. How can I detect what is causing this error. The error... more >>
Inconsistent Design Time behaviour
Posted by Simon Bond at 4/30/2004 9:12:16 AM
I develop on a workstation running in 96 dpi. When i design my forms in
VS.NET, layout is immaculate and everything looks great. When my client
loads up the software and displays it on their large panel LCD running 120
dpi, the layout all goes to hell.
Now, I previously thought I had a solutio... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Development for multiple panels for a window
Posted by Marc at 4/30/2004 5:01:04 AM
I have 1 window with several panels that fill the window depending on what view the user wants to see. Is there any way to speed development instead of changing ordering(z-order) for a particular panel and visually develop on it
I would like to be able go back and forth between panels visually wit... more >>
column size of datagrid be fixed
Posted by user at 4/30/2004 4:56:02 AM
hi all
I want to fix column size of datagrid fixed. How to do that
Please help.... more >>
Change the Column display prior to show the DataGrid
Posted by Carl at 4/30/2004 4:41:05 AM
Is there an easy way to change a DataGrid specific column display
to something else then the actual bind data value from the datase
using something like the format or parse ?
What I would like to append before the grid is show, is to make some transformation
from one integer field from the dat... more >>
GUI with drag and drop
Posted by Bobstar at 4/30/2004 4:26:05 AM
Hello
Just to myself started I need some good advices. Im planning to develop a gui with some sort of a toolbox and from that toolbox the users should be able to drag and drop the toolbox items onto a workspace. It could be something like MDI it think... etc..
The workspace should be like a work... more >>
ignorance
Posted by sam at 4/29/2004 11:16:05 PM
I am not technical, I need help to find a proper document page. I do not like notepad or wordpad. I used to use XP in my job and could work with tables etc. I find I cannot do anything at the moment. Am I lacking software?... more >>
Taking a screen shot of a form
Posted by Kent Boogaart via .NET 247 at 4/29/2004 10:56:41 PM
Hi everyone,
This is my first post to this group =2E =2E =2E
Given an instance of System=2EWindows=2EForms=2EForm, is it possible=
for me to take a "screen shot" of it as it would appear inside=
the VS=2ENET designer? I want to do this without calling a=
constructor or displaying the for... more >>
No Body Has solution for this critical query?
Posted by Nilesh Rade at 4/29/2004 10:21:02 PM
Hi
I am having a custom Tab control. In the Control's designer class am adding the follwoing code but it is not working i am still able to drag and drop a button or other controls on tabControl. But it works if I drag and drop a control, say button on from, and hten cut and try to paste it on my T... more >>
sample code for ftp on vb.net
Posted by Tabo at 4/29/2004 8:46:03 PM
Dear all
can anyone provide sample code for transfer file by using FTP on VB.NET
My user need to transfer file on client by an window application. Thanks
Tabo... more >>
.NET Grids
Posted by jlapenta NO[at]SPAM entelsys.com at 4/29/2004 8:11:44 PM
We are starting development on some .NET projects using C#.
We are considering the purchase of some components to help with development.
Our feeling is that a robust GRID control is crucial. There are LOTS of
them around.
Have played around with XCEED.NET GRID and it looks pretty good... more >>
How to convert Datetime to UInt32
Posted by XingZheng at 4/29/2004 7:31:29 PM
Hi
Could you tell me how to convert DateTime to UInt32 in C#.
Thanks
... more >>
Clearing the Clipboard
Posted by jon morgan at 4/29/2004 6:08:23 PM
Hi,
How do I clear the system clipboard ? Used to be Clipboard.Clear in VB6 but
simply calling Clipboard.GetdataObject.GetData in VB.net doesn't seem to
actually remove the data.
Thanks
Jon
... more >>
Logging Error Best Practices
Posted by Chris at 4/29/2004 2:35:00 PM
I've got a logging routine on my client that logs
errors. I'm hoping to use this error information for
debugging purposes during testing and then during
production. I want to log these exceptions at the best
place possible to help me in this goal. Where should I
put these try / catch ... more >>
datagrid master-detail bug?
Posted by Brad at 4/29/2004 2:06:04 PM
Let me run through the first problem I had with a master-detail setup on two Windows datagrids, as it may relate to the second problem
I have two datagrids set up for master-detail as recommended by Microsoft. That is, something like this
dataGridMaster.SetDataBinding( dataset, dataset.masterTabl... more >>
Custom MessageBox Problem
Posted by Mystique at 4/29/2004 1:02:35 PM
I have created a custom MessageBox in a seperate DLL that has two resource
files containing string in two languages. When i call my show method i get
(that's when i'm getting the string from the string table / resource) i get
the following:
=====================================================... more >>
Change border color on panel control?
Posted by Dave Veeneman at 4/29/2004 1:00:22 PM
Is there any simple way to change the color of a fisxed-single border on a
Panel control? The border color is black; I want to change it to
SystemColors.Highlight to match the borders on the other controls on the
form. Thanks
Dave Veeneman
Foresight Systems, Inc.
... more >>
PASTING files from EXPLORER
Posted by Lee Gillie at 4/29/2004 11:01:03 AM
I've implemented PASTE essentially as:
Private Sub mnuEditPaste_Click _
(ByVal sender As System.Object _
,ByVal e As System.EventArgs _
) Handles mnuEditPaste.Click
If Clipboard.GetDataObject.GetDataPresent(DataFormats.FileDrop)
Then
Dim obj As Object =
Clipboard.Ge... more >>
How does one call a message box that takes a value?
Posted by acool at 4/29/2004 10:19:42 AM
I remember in VB6 there was an option for calling a type of message/dialog
box that takes a single value. How do I do this in .NET?
... more >>
resource conflict between OpenFileDialog and Help.ShowHelp?
Posted by n10si_t NO[at]SPAM yahoo.com at 4/29/2004 9:31:10 AM
Hi all,
I have got an application that is not really an MDI app, but that does
have multiple forms that run at different times. For instance, it
starts with a welcome screen asking the user what they want to do,
prompts them with an "Official Use Only" dialog, and has a primary
interview scr... more >>
Using a GroupBox causes GDI+ generic error on Windows 98
Posted by Andrew Wiseman at 4/29/2004 9:04:05 AM
We're developing an application using Visual Studio .NET 2003, which works
fine on Windows XP and Windows 2003, but causes a GDI+ generic error when
run on a Windows 98 box.
The problem seems to be in using GroupBoxes. To test this, I started a new
project, put two groupboxes on the form, with... more >>
Why does help button require min/max = false
Posted by Tim at 4/29/2004 6:21:09 AM
Can anyone explain why getting the Help Button to show in a form Requires that the Minimize and Maximize both = false? Requesting help doesn't seem to exclude the ability to min/max, so why force this
Thanks
Ti
... more >>
adding childnode in non expandable nodes
Posted by Manish Jain at 4/29/2004 12:16:04 AM
Hi Friends
I am working with treeview control and its working fine with except when I am trying to add child node in non - expandable node and i call the method newnode.ensurevisible. it does not add to the node.
Also if i see the quick watch of child node, I can see the nullreferenceexception a... more >>
Popup combobox on KeyPress in Textbox - help
Posted by R Avery at 4/28/2004 7:31:15 PM
How do I create something like what Microsoft provides with
Intellisense? Basically, I want to imbue my Rich Text Box with the
ability to give a little popup that allows the user to choose from
several choices after the KeyDown (or KeyPress or KeyUp - i'm not really
sure which) event. How ... more >>
Menu on the right
Posted by Ioannis Vranos at 4/28/2004 5:53:45 PM
Hi, i made an app with only one menuitem (on a mainmenu of course) ahd the
problem is that it is placed on the left, but i want to place it on the
right (it's a Help menu). Any ideas of how to place it on the right? I am
using .NET 1.1.
Ioannis Vranos
... more >>
Mouse click and MDI child forms
Posted by Ahmed Kamal at 4/28/2004 2:59:05 PM
Hi all,
Why is it that clicking on controls on child forms does not activate the
form? E.g. I have a parent form with 2 children, both have frames
containing controls. Only if I click on the form title itself then will
it be activated.
This is a problem when the tops of child forms are o... more >>
Floating Toolbar?
Posted by dinoo at 4/28/2004 11:16:06 AM
I would like to implement floating toolbar in my application
This toolbar will be a normal C# form and will always be top only when any specific application is accessed like MS Word
This toolbar generally formats Word document
Can somebody highlight how to create a windows Form which will be al... more >>
NotifyIcon - showing context menu
Posted by Jeff Gaines at 4/28/2004 10:56:37 AM
I have written an app that spends most of its time in the System
Tray. The main form opens on double clicking the icon and the
context menu shows on right clicking the icon.
I would also like the context menu to show on left clicking the
icon. I have trapped the MouseDwon event and can show ... more >>
Anyone know if ClassName & MethodName are accessible in .NET code?
Posted by Steve Hiemstra at 4/28/2004 9:45:18 AM
Hi All,
I want to be able to put the ClassName and MethodName into my Exception
Handler messages from code, but I don't want to 'hardcode' the names (so I
can cut&paste my handler routines more easily).
Anyone find some 'macros' or other .NET methods/properties that already do
this?
Stev... more >>
Multiple Instances of a Form
Posted by Matthew Lanham at 4/28/2004 8:15:46 AM
Hello all,
I am looking to open multiple instances of the same form and be able to
access the forms variables and check if the form is loaded. I need to
sort of give each form an ID, although it is the same form i am loading
so that i can access that forms controls etc.
How do i achieve thi... more >>
Get Screent shot
Posted by Larry at 4/28/2004 5:36:02 AM
Hello
Is there a way with windows forms to get (1) A screen shot (equivalent to the CTRL + PRTSC button), and (2) a screen shot of an extended window (i.e. a single window that goes off the screen)
Thanks
Larry... more >>
Popup help in .NET (C#) using text from a .chm file
Posted by roooger NO[at]SPAM xmsg.com at 4/28/2004 4:57:06 AM
Hi all,
I know it is possible to show popup-help for a Control on a Form
(using the SetHelpString method of a HelpProvider).
For instance:
this.helpProvider1.SetHelpString(this.textBox1, "This is popup help
text.");
But I don't want to use hard coded text. I want to use text that is
l... more >>
Alternative to panels for options window
Posted by chris NO[at]SPAM sloppycode.net at 4/28/2004 4:50:19 AM
I have an options window for an application, which has is pretty
standard in its layout - treeview on the left side, a set of panels
that are shown and hidden as each option is selected from the
treeview.
I was wondering if there's a more modular way of doing this, instead
of having all the p... more >>
Creating Optional Commandline Parameters
Posted by michael at 4/28/2004 4:36:02 AM
How can I create optional parameters that can be included in the command line of a windows forms application
Michael... more >>
How to fetch the directory name from a Directory object?
Posted by Charlie at 4/28/2004 4:21:03 AM
had better give a example please
thanks... more >>
Updating multiple source tables from a single datatable
Posted by Christian at 4/28/2004 1:56:04 AM
H
I would like to select data from two (or more) source tables, and show the data in a grid where the data is in the same row of the grid. (Windows Forms
So, if we have a database with a company and an address table, like this
company: companyId, name, phone, fa
address: addressId, companyId, a... more >>
Dock a form to another
Posted by Bilo at 4/27/2004 10:25:04 PM
Hi,
Is there a simple way to dock a form to another? I have a media player and
want a playlist form which docks at the right site of the player form. Is
there a WindowsForm command which does the job with docking or must i build
it myself?
... more >>
Form minumum size
Posted by Marcel at 4/27/2004 10:04:49 PM
Hi,
I'm trying to overlay a form over another form. This form contains 3
textboxes. I want it placed over a listview, exactily over 1 row.
That's all working, but the overlay form is to big, even though I make
frm.height not bigger then the row. When i check the height properties, it
is corre... more >>
Nested DataGrid for Windows Form
Posted by Jabco at 4/27/2004 9:08:19 PM
I need a grid that displays hierachical related tables. The grid's
DataSource is a dataset. Maybe there is a better way I don't know. There
are 2 tables in the dataset. They have a Relations on "ID" column. I got
the first table in grid displayed ok.
But the problem is when I try to naviga... more >>
collection editor with user control
Posted by simion tishler via .NET 247 at 4/27/2004 6:33:43 PM
Hey I have created a collection that inherits from the=
CollectionsBase that take a columnheader as it's input=2E I have=
then created an intance of the collections class and provided a=
property to it through my usercontrol=2E The property uses the=
collections editor attribute to expose th... more >>
easy (??) question: Open New Form and Close Current Form
Posted by DraguVaso at 4/27/2004 4:48:16 PM
Hi,
I want a Login-form that, once the username and password are validated,
opens a new Form (of the 'main'-application), and closes itself.
I tryed it like this: putting the following code in the click-event of the
login-button of my Login-form:
Dim frmAG As New frmAgent
frmAG.Sho... more >>
how can i test if all the needed activex are properly installed?
Posted by Elp at 4/27/2004 2:36:20 PM
Hi,
my Window Form application uses several activex controls such as the flash
activex, webbrowser control or the Windows Media player 9 activex. If one of
these controls has not been properly installed, the constructor of my main
form, which hosts all these control, throws a cryptic exception... more >>
TreeNode with Image List
Posted by A-PK at 4/27/2004 1:51:52 PM
Hi All,
I browse through the msdn.microsoft.com and was able to fine one article
related to Treeview ImageList.
my coding is like the following
Dim rootNode as New TreeNode
rootNode = TreeView1.Nodes.Add("Parent Node")
Dim nodeFirstChild = New TreeNode("FirstChildNode", 1, 2)
node... more >>
Windows Application in VB.Net with HTML
Posted by A-PK at 4/27/2004 1:41:25 PM
Hi All,
I am writing an Windows Application in VB.net.
under this windows application, I would like to create one button, which can
trigger a HTML file to open display the windows applicaion dataset data on
Internet Explorer.
I already create one button, and also already added a New Item wi... more >>
|