|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Formsmicrosoft.public.dotnet.framework.windowsforms
Topmost inactive form
Oleg Skopincevs -
11 Dec 2004 1:44 PM - 2 messages
Hi folks, I want to implement a windows form that pops-up over the system tray but doesnt take a focus from current application. Can anybody help me? Cheers, Oleg ...
Establishing currency in a datagrid to the dataset
ScottBH@online.nospam -
10 Dec 2004 10:09 PM - 2 messages
I'm trying to implement a custom format in a windows forms datagrid on a row basis. I'm using the code example that comes in MSDN that overloads the paint event. What I'd like to do is find out how I can find out which row in the ...
Strange security issue in WinForms application
ejstembler -
10 Dec 2004 9:51 PM - 3 messages
I have this WinForms application which is exhibiting a strange security issue. The project contains a Form and a UserControl. The Form has a method which populates data and an event from the UserControl. When I call the method ...
position of a child form in MDI
Igor Gegusin -
10 Dec 2004 3:51 PM - 3 messages
How to get the location (x,y) of the upper-left corner of an active child form in MDI respective to the upper-left corner of the parent form? I work in .Net Framework 1.1, Visual Studio .Net, C# or .VB>Net. ...
How to Manipulate Uses and Groups (MS Access) in VB.NET
Roger.Smith -
10 Dec 2004 3:33 PM - 3 messages
I am looking for samples or documentation that can help me to add new users and groups a secured MS Access MDB. I need to be able to create new groups, then assign table-level permissions to the group. Then I need to be able to ...
Application does not terminate when clicking on 'X' in titlebar
Jo Siffert -
10 Dec 2004 3:24 PM - 4 messages
Hi, when I try to close my application using the 'X' in the Windows titlebar, nothing happens - neither Form.Dispose() is called not the Closing or Closed events are raised. The application just keeps running. If I close the application using Application.Close(), everything works fine. ...
slow form drawing
Konrad -
10 Dec 2004 1:25 PM - 4 messages
Hi I have form with three radio buttons and five textboxes. If you look how the form will be displayed you can see that first of all the form will be drawn, and at all locations where the ...
WIN32 Window Classes with WIndows Forms
Steve Marsden -
10 Dec 2004 10:21 AM - 6 messages
Hi With WIN32 you could create your own Window Class (not C++ Class) which you registered with RegisterClass, create and code a windowproc for this window and then host that window on a dialog box using the Custom Control and ...
My Pictures and Setup Project
Charles A. Lackman -
10 Dec 2004 2:35 AM - 2 messages
Hello, How do I place pictures in the My Pictures Folder from a Setup Project? I do not see anything that resembles this directory inside Custom Folders within the Setup Project. Thanks, Chuck ...
Return key causes system sound
TheNortonZ -
10 Dec 2004 12:57 AM - 7 messages
I have a requirement where when the user is in an edit field, they should be able to hit Enter(return). When I do this, my system makes a noise as though an illegal entry has been made. Is there a reason it is doing this and is there a way to change it? ...
UserControl Design Mode
Rick -
9 Dec 2004 11:39 PM - 3 messages
I have a UserControl that contains a label and a textbox (just as an example). Is there any way during design mode via the VS.Net Designer, to allow the developer using the designer access to that label or textbox of the ...
HOW? Invoking the EVENTs of a CONTROL
Lee Gillie -
9 Dec 2004 11:01 PM - 4 messages
Can one invoke an event of a control? For example, I am MANUALLY switching tabs on a TabControl. The way I am doing it suppresses the Enter, GotFocus, Leave, Validating, Validated, LostFocus sequence of events. I wish to preserve at least the Validating ...
DataGrid: How to insert a row when bound to an ArrayList?
Steven Van Dyke -
9 Dec 2004 6:52 PM - 2 messages
This should be simple, but I cannot figure it out. Given a datagrid, bound to an arraylist, how should I go about inserting a new row above a selected row? Thanks, Steve ...
createCaret not working under .net
DT -
9 Dec 2004 3:42 PM - 2 messages
I am trying to create a block caret for a textbox using VB.NET , but it just does not work. It however, works under VB6. Any idea? dt ...
Localization & Resources !!
Mr. Morad Jamal -
9 Dec 2004 11:37 AM - 2 messages
I'd be grateful to you guys if anyone of you helps me with this. i've searched for anything relates to localization & resources and i've found a massive amount of info, i've got lost, what i want is a very brief ...
How to hide a column in a DataGrid
darin_dimitrov -
9 Dec 2004 11:09 AM - 2 messages
Hello, I have a System.Windows.Forms.DataGrid which is bound to a DataSet containing a table and columns such as user_id, user_firstname, user_lastname, etc... How can I force the DataGrid component NOT to display the user_id column without narrowing my sql query because the ...
How to add a user control inside a treeview control as a node
Sunil Joshi -
9 Dec 2004 10:25 AM - 2 messages
I am having one user control (containing two combobox and one button) , I want to add this control as a node in a treeview control , to be more precise now I want my user control acting a node in the treeview control instead of treenode . ...
Return Data from child form to parent form
Ryu -
9 Dec 2004 5:54 AM - 3 messages
Hi, Is there a way to return data from a child form to a parent form using c#? Thanks ...
Terminating a thread from the main thread
Charles A. Lackman -
9 Dec 2004 12:33 AM - 4 messages
Hello, I have created a thread that writes data from a memorystream to the harddrive. If the user, during the write decides to cancel the operation, I call Abort on the thread. i.e. Private Sub WriteToDiskButton_Click MyThread= New Threading.Thread(AddressOf WriteToDisk) ...
To DataGrid or not to DataGrid?
Ted Stewart -
8 Dec 2004 9:26 PM - 2 messages
I don't know much about DataGrids, and while I am looking for an excuse to learn how to use them, I'd like to be sure that what I'm trying to do is possible before I doom myself to failure. ...
Changing BackColor in Disabled textboxes
mh1mark -
8 Dec 2004 8:01 PM - 3 messages
I have a windows form for editing a table. In Inquiry mode, I disable the textboxes so unwanted updates dont occur. This causes the backcolor and forecolor to go gray, making the text hard to read. I can change the ...
Streaming with System.IO and System.Net
Charles A. Lackman -
8 Dec 2004 6:33 PM - 5 messages
Hello, I have an app that has a process bar on it and it sends and retrieves data back and forth to a web page using WebRequest and WebResponse. The stream is received from the web page and written into a memorystream then written ...
RichTextBox and dodragdrop
Lance Johnson -
8 Dec 2004 4:31 PM - 2 messages
I seem to be having troubles implementing dragdrop on a richtextbox. I seem to have been able to get the dropping part working fine when coming from an external application. It's the dragging part. It does seem to drag, but the icon always stays as None and I have no idea ...
Adding too many control to panel control
vikash -
8 Dec 2004 3:09 PM - 3 messages
Hi all, in the C# windows application i am working now, i have created one User Control. And in the panel control depeding on some conditions i am dynamically adding lots of instance of My User control. so may be my panel control is having the 100's of instance of the User ...
Child form windows
Steve Marsden -
8 Dec 2004 3:03 PM - 4 messages
Hi In WIN32 if you create a top level main window and then create a child window which is a child of the main window, the child window moves with the main window, cannot be moved out of the main window and cannot be activated ...
Cannot install Service App in .Net
Harshad -
8 Dec 2004 2:31 PM - 3 messages
Two questions. 1) I followed Walkthrough of Win Service App. At the end, when I run Setup it complains about incorrect user and/or password. Where does it look for userid? I have logged in as Administrator. ...
grouped radio buttons
MarkAurit -
8 Dec 2004 2:13 PM - 6 messages
In vs.net I have a form with 2 seperate groupings, and several radio buttons in each. Ive created all in the IDE (1.1). Both the groupings, and all the radio buttons have different names. However, when I run the form, all the buttons are mutually exclusive. If I ...
Hiding DataGridBoolColumn checkboxes?
Greg Allen -
8 Dec 2004 12:07 PM - 4 messages
Is there a way to hide a checkbox on a particular row of a column that is a DataGridBoolColumn? I need to be able to pick and choose, on a cell by cell basis, whether or not to display a checkbox. Can I derive from DataGridBoolColumn and ...
Drag drop in RichTextBox
Jerry -
8 Dec 2004 9:42 AM - 3 messages
Hi, I find some strange thing when I use drag drop in RichTextBox control. I create a control inherit RichTextBox.: 1. In OnDragEnter and OnDragOver, AllowDragDropEffect of DragEventArgs is DragDropEffects.All always. 2. I can't find where I can set the DragDropEffect when I do drag drop ...
NewBie
Dave -
8 Dec 2004 8:13 AM - 3 messages
I am using the below code in a vb form to open a html file that I made. My problem is how do I get ride of the path to test.html so it can travel with the program? ...
printing problem .net
DT -
8 Dec 2004 4:11 AM - 2 messages
I am working on a windows form application which does some printing. The problem I have been having is the "printing progress" window that pops up when the page is about to print. How do I disable that in my code. ...
Setting focus on a control
Jose Rodriguez -
8 Dec 2004 4:07 AM - 3 messages
Hi, I have the following situation. I have a main form with two panels divided by a splitter. The first panel has some links that when clicked, add forms into the second panel. I am trying to set focus in the first textbox ...
DesignMode help?
WXS -
7 Dec 2004 9:25 PM - 5 messages
It seems to me there is no reliable way to detect design mode early enough to prevent, running code a significant amount of code in classes developers are writing. Currently the DesignMode flag is not set till the ISite is set ...
NumericUpDown in DataGridView in VS.Net 2005 BETA
kapilp -
7 Dec 2004 8:21 PM - 2 messages
I used the article located at ms-help://MS.VSCC.v80/MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.htm to create a custom numeric updown control to host it in a datagridview. The ...
Drag form w/out controlbox
Ryan Joseph So -
7 Dec 2004 6:10 PM - 5 messages
Hi, I have a form which the formborderstyle was set to none hiding the controlbox. My problem is I can't reposition the form on the screen by using my mouse when I run the application because it has no controlbox. ...
Loop through datagrid to get values of boolean columns
Rekha -
7 Dec 2004 5:51 PM - 3 messages
Any pointers as to how to loop through a winforms datagrid to get all the selected(checked) columns? ...
how to loop through a winforms datagrid to get all selected(checke
Rekha -
7 Dec 2004 4:05 PM - 4 messages
Any pointers as to how to loop through a winforms datagrid to get all the selected(checked) columns? ...
image from URL
jnic -
7 Dec 2004 3:53 PM - 2 messages
How can I add an image to an imagelist where I have only the URL of the image?? ...
Retrieving command line arguments after startup
Valerie Hough -
7 Dec 2004 3:02 PM - 2 messages
Is there a way to retrieve command line arguments to my System.Windows.Forms object OTHER THAN using the constructor Main( string args[] ) ? Thanks in advance. Chris Hough ...
Showing html from windows forms
Magali Smits -
7 Dec 2004 2:29 PM - 3 messages
Hi, I'm using xml and xsl transformation to generate a string containing html. I was wondering what the best way is to view this html from a windows form? The thing is, this windows forms application is executed from a network, so ...
Making a UserControl scroll when host form is resized
ian.mcewan@atonement.net -
7 Dec 2004 11:43 AM - 5 messages
Hi, how can I make a UserControl scroll when host form is resized? Thanks Ian. ...
Delegating Menu Commands
ian.mcewan@atonement.net -
7 Dec 2004 11:33 AM - 2 messages
Hi, I have three menu user controls (this is for touchscreen application so they can't be .Net/XP menus). These menus all represent a common pool of commands, but for example menu1 has command1, command2, command3, whereas menu2 has only command2, and so on. ...
Making part of a string BOLD
ian.mcewan@atonement.net -
7 Dec 2004 11:31 AM - 2 messages
Hi, I am reading strings from a resource file to display on various labels. I want in the XML to be able to distinguish part of the string as bold. Is there a way to do this simply? Thanks, Ian. ...
Is C# is having a seperate class library?
Perin -
7 Dec 2004 10:29 AM - 4 messages
Is C# is having a seperate class library?. Because it offers several features comparing to other .NET languages. ...
DataBinding, grr
Mark Rendle -
7 Dec 2004 10:03 AM - 15 messages
I hate DataBinding. Using VS.NET 2003, C#, Sql Server database. I've got a strongly-typed dataset. Let's pretend it's Northwind. I've also got a TextBox. If I set the databinding for the TextBox thus: textBox1.DataBindings.Add("Text", northwindDataSet.Customers, "CompanyName"); ...
Calculations with DateTime fields using DataColumn.Expression stri
Matt -
7 Dec 2004 4:17 AM - 3 messages
I am trying to add Expression columns to a DataGrid that perform calculations using other DateTime fields in the Grid. It appears from the MSDN library docs that DataColumn.Expression syntax allows you to compare date fields using < > and convert them to strings, but nothing else that I can find. Is ...
I need to run a vb.net or aspx.net file every 10 seconds.
Steve Jacobs -
7 Dec 2004 2:52 AM - 2 messages
Hi, I need to run a vb.net or aspx.net file every 10 seconds. The Task Scheduler in Windows 2003 Server can only do it every 1 minute at the minimum, but I need it every 10 seconds. Is it possible to write a small program in VB.NET ...
Tabbing to next field after Return key
TheNortonZ -
7 Dec 2004 2:13 AM - 3 messages
I have an edit field where I capture the keydown event. I can check to see if the return key is selected. What I want to do is tab to the next field (based on tab index) when the enter key is pressed. What is the syntax for doing this? ...
where is the Line Control ?
Tark Siala -
7 Dec 2004 12:48 AM - 8 messages
hi again :) in VB6 i use the Line to Draw Lines Like when i make Wizard Forms. but in VB.NET i cant find this Control...... it's realy not important Control but nice to make GUI like 3D Lines ...
Threads with Windows.
Dr. Pastor -
7 Dec 2004 12:15 AM - 3 messages
Using Microsoft Visual Studio .NET 2003 C++ and forms, I constructed an application with menus, and a few buttons. In the remaining area of that window I would like to program two windows created by two threads. (Each thread will read and process some ...
Add result using EnumWindow/GetWindowText
Paul Steele -
6 Dec 2004 9:41 PM - 4 messages
I've written a callback function for use with EnumWindow that is intended to return the URL of all open IE windows. The code seems to do almost exactly what I want, but fails at the final step when it tries to retrieve the text ...
ListBox problem
Guy Dillen -
6 Dec 2004 9:18 PM - 2 messages
I need to fill a ListBox with data, NOT related to a database. I would like presenting the description in the ListBox, and an ID needs to be available when an item is selected in the ListBox. How can i do this (using an Array? using a second invisible ListBox?) ??? ...
Bring to Front
Charles A. Lackman -
6 Dec 2004 8:15 PM - 2 messages
Hello, I have created an application that searches to see if a process is running and if it is it maximizes it's window. i.e. For Each AProcess In AProcesses If AProcess.StartInfo.WindowStyle <> ProcessWindowStyle.Maximized Then ...
How to get a file's date/time correctly?
Andrew -
6 Dec 2004 7:59 PM - 2 messages
Hi, friends, I use the following C# code to find out date/time for all files in a directory: (Those files are retrieved from VSS). VSS_Item.Get(ref tempFile, (int) SourceSafeTypeLib.VSSFlags.VSSFLAG_TIMEMOD); if (File.Exists(tempFile)) FileDate = File.GetLastWriteTime(tempFile).ToString(); ...
return errorlevel from winform
Gerald Pape -
6 Dec 2004 8:40 AM - 2 messages
Hi Group, is there a way to return an dos errorlevel from a winform - without switching to a console app ? Thanks for any ideas Jerry ...
MOD Operator
Brian Hammer -
5 Dec 2004 7:30 PM - 5 messages
All - I once came across an example that used the mod in an if then... What I need is to: if i = 100 or i = 200 or i = 300 or .... then do my work end if i can be from 10 to 10,500, therefore the if would be long. How can I use ...
Table in a Windows Application
news.microsoft.com -
5 Dec 2004 6:06 PM - 2 messages
Hello, Hope someone can help me or lead me in the right direction. I've search endless articles, and they all keep refering to database bindings, which I don't want. Scenerio: Create a windows application with; 1 text box (will contain e-mail address) ...
DataGridView error
devx -
5 Dec 2004 6:27 AM - 2 messages
Hi, i have DataGridView whose sourse i set to a datatable with 5 columns containing data. i then remove the 3rd column, created a DataGridViewComboBoxColumn, set it's DataSource, ValueMember and DisplayMember. the Valumeber is an integer and the displaymember is a ...
|
|||||||||||||||||||||||