| MessageBox Position (4 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi all, I'm using the System.Windows.Forms.MessageBox.Show static method to show a MessageBox, but unfortunately it's shown in the center of the screen instead of in the center of my Form. Is there any way to do it? Cheers, xico Tracking #: 50E3C19E9679BD4A9948D5C8480C8979A2505589 |
|
| SendMessage (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Y'all : I think there have been posts on this before but I can't find them : What is the Winforms construct that is analogous to the SendMessage (hwnd, msg, wparam, lparam) and PostMessage (...) that we all came to know and love in standard windows. It would also be nice to be able to define user messages. Actually, are there any good references about the Windows message queue interfaces ?? I also... |
|
| Spash Screen With Winforms (5 replies) |
| ASPFriends.com 'winforms-cs' list |
| Does any body know how to put a SPLASH Screen on a Winforms Application (Kinda the same way you used to be able to put A SPLASH on your Visual C MFC based Application). My main problem is, when RUNNING MY WINFORM APP for the First Time (since the pc has been booted) it takes QUITE A WHILE For the 1 Form to Appear (I gues its LOADING the .net framework stuff, because if I just close it down a run i... |
|
| tab control (4 replies) |
| ASPFriends.com 'winforms-cs' list |
| hi all, I have a tab control on a winform. How do you programmatically switch between tabs? If I do something like tabPage1.BringToFront(); tabPage1.Focus(); tabPage1.Show(); The contents of the tab will show, but the tabstrip itself doesn't switch to the correct tab. What is the correct method to switch between tabs? Thanks,. dave |
|
| The scroll event of datagrid control (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi, I have a datagrid control embedded to a Windows form. I double clicked the scroll event of the datagrid property window. VS added the following code: this.dataGrid1.Scroll new System.EventHandler(this.dataGrid1 Scroll); private void dataGrid1 Scroll(object sender, System.EventArgs e) { } I added some code to the handler and set up a breakpoint at the beginning of the handler. Then I run the ap... |
|
| FolderBrowser control (4 replies) |
| ASPFriends.com 'winforms-cs' list |
| A common thing asked for is a folderbrowser control for winforms ( curse microsoft for not including one ), and a common answer is to use the 20 System.Windows.Forms.Design.FolderNameEditor.FolderBrowser Class. However, I was just thinking... when somebody installs the framework with that small distributable instead of the sdk, do they even get the design dll where that resides? 20 Andy Smith 20 C... |
|
| visual form control TabIndex manager? (5 replies) |
| ASPFriends.com 'winforms-cs' list |
| Back in vb6 I had a neat little addin tool that let me visually set the tab order of the controls on the form by moving them up and down a list. Is that functionality built in now? anybody know an addin that does it? going thru each control manually to set the tabindex on each one is a huge waste of time. Andy Smith Chief Code Monkey |
|
| Graphics from an SQL-Server table (8 replies) |
| ASPFriends.com 'winforms-cs' list |
| I have an SQL Server table, with a column with DataType 3DImage. Now, I would like to bind this column, the image that is, to a control's property in a WinForm. How??? Any help would be most appreciated! Med hilsen Per Erik Lorentzen SK Data as per.erik@skdata.no |
|
| MDIChild MinSize (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Regardless of what I set for the MinimumSize of an MDI Child form, the user can still change the size to the minimum size of any form. My setting is totally ignored. Any way to change that? Andy Smith Chief Code Monkey |
|
| Word Automation. (7 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi all ... What I'm after is this :: I can make an app to automate Word ( though the VB macros created in Word are not as useful as I had hoped). My question is this :: What I want to do is convert that app to a control and run it client side in a web page i.e. a dotNEt applet. Now I have been playing and have got dll's that reference other dll's that reference other dll's to download into the cac... |
|
| DatePicker - checked property? (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| I'm trying to use the DatePicker control for an ExpirationDate value for my application, and the ExpirationDate is optional. So if the user unchecks the box, then I want to record an empty value for this field in the database. Now, I've avoided any NULL/DateTime value issues by assigning the empty value to "01/01/1900", so that works fine. The issue I'm having is in trying to set the .Checked prop... |
|
| DateTimePicker Control issues (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| I just got a call from a tester who said that it really annoyed her that she couldn't just enter a date string into the text portion of the DateTimePicker control. anybody seen that problem before? any solution? Andy Smith Chief Code Monkey |
|
| DataGrid Components (4 replies) |
| ASPFriends.com 'winforms-cs' list |
| Can anyone please suggest me a very good Datagrid control to use on my WinForms. I especially would like to do database related operations through the grid. I found that building this kind of Datagrid in WinForms is much harder than in ASP.Net. Any kind of suggestion or help would be awesome. Thanks in advance, SG. |
|
| User Control Questions (13 replies) |
| ASPFriends.com 'winforms-cs' list |
| Hi, I created a user control derived from System.Windows.Forms.UserControl. I embedded a DataGrid control to my user control. My user control showed up on a IE successfully. However my user control will not show up in either of the following cases. 1. I add the following line of code to the constructor of my control TcpClient client new TcpClient("164.90.243.60", 6868); 2. I add a customer column ... |
|
| While were on the subject (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| I know this should go it the romoting list but no one ever goes there judging on how many emails are in there. So I'm going to ask here. This is new to me. But I have played with winform examples of client/server apps. My only question which has been niggling me in the back of my mind is this : The server of the relationshiopo has to be runing for the client to connect. How can I execute the serve... |
|
| how to add controls to a datagrid (3 replies) |
| ASPFriends.com 'winforms-cs' list |
| Dear all, I want to add controls to a datagrid within a winforms form. I am able to do this in webforms can anyone help me to do the same in winforms. with regards, m.b |
|
| Custom Controls (2 replies) |
| ASPFriends.com 'winforms-cs' list |
| Has anyone got any examples on custom controls in WinForms, nothing sopectacular, just something that gives the basics. There is currently a nice knob control ( ahem, ahem) at CSharpCorner.com. I haven't looked at it yet but am about to, it should be helpful. That one is obviously going to be fully owner drawn. The measly single example (the one I can find) in the VS net help don't really do anyth... |
|
| UserControls:WebRequests2 (6 replies, VIP) |
| ASPFriends.com 'winforms-cs' list |
| To any who are interested. Can't connect to OleDB or Access via client side ... don't know how to ? Connection string doesn't take url ? Don't care really but any help here welcome? As previously stated the default security only allows access to the same IP, so straight connections to a SQLServer at a different IP is out. I am not up on web services yet but I have tested it and it failed getting d... |
|
| ImageList Strange Behavior (7 replies) |
| ASPFriends.com 'winforms-cs' list |
| (Sorry for the duplicate post. I first sent it accidentally without a title.) 20 I have a small WinForms program which adds several images to an ImageList. The form has several controls which then display one of the images, with a NumericUpDown control to select which image to display on the controls. One of the images in the original ImageList is replaced by a different image. 20 This all works f... |
|