| Sending Files through SOAP (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I'm building a client (Windows Forms Application in C#) and I need to upload and download files from the server where my webservice is located. I'm temporarily using the DownloadFile method from the WebClient class to download files and the SaveAs method to upload files to the web server. I would like, instead of this, to send my files through SOAP. So my question is: what serializeable C# typ... |
|
| transition from one form to another (3 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I am trying to close one form and open another in the same position on the screen as the orginal. I can hide and then show the orginal form but the second from always opens in a slightly different location. Actually, I am trying to create a wizard effect using inheritance. Any ideas are gratly appreciated. Thanks. Don |
|
| Looping through a Windows forms controls collection (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I need to loop thru a controls collection on a form and if the control type Textbox then clear the text. I've tried this code but it errors. Dim c As Control For Each c In Me.Controls Diagnostics.Debug.WriteLine(c.GetType().ToString) If c.GetType() Is Windows.Forms.TextBox Then c.Text "" End If Next I can't get the right syntax for something so simple. It's MADDENING!!!! TIA for any response |
|
| UserControls and Collections (9 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a usercontrol that needs a collection of items. Does anyone have any sample code on how to create a collection and how to expose the collection thru a property of the usercontrol? Basically, I have a simple usercontrol called X. I want to create another usercontrol Y that has a collection of the X. If Y is put onto a Windows Form, I want it to include a property in the property designer tha... |
|
| Cannot implicitly convert type 'System.Windows.Forms.MouseEventHandler' to 'System.EventHandler' (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I'm using Beta2 and am trying to pass MouseClick arguments rather than the default arguements for the ListBox Click event. I think my code is correct, but it throws this error: Cannot implicitly convert type 'System.Windows.Forms.MouseEventHandler' to 'System.EventHandler' Here is my code: // I contruct the event in the Forms contructor area... this.listBox.Click new System.Windows.Forms.MouseEven... |
|
| Quicksearch in DataGrid (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello! How can I provide quicksearch capability in DataGrid? That is when user starts typing the value of field and DataGrid goes to row of field with this field value. Is it can be done with custom DataGridColumnStyle? Oleg Mihailik. |
|
| ? SET COLOR FOR COMBO BOX ARROW ? (11 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I've change the background color of my form, all the button colors change automatically, BUT, the dropdown arrow on my combo boxes do not change. How can I set their color to match my form's background color? Thanks, Steve |
|
| ComCtl32.dll v.6 (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| What controls are included in ComCtl32.dll v.6? I have problems getting XP style for System.Windows.Forms.Button and System.Windows.Forms.GroupBox. Any suggestinons? Thanx! // MRL PS I'm using VS.NET b2 and WinXP Pro. |
|
| Customize MainMenu (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I want to change menu background colour, add image to menuitem (like in the Visual Studio .NET) ... How can I do it? |
|
| What happend to the Key propery of a ListViewItem? (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Need a place to store the primary key from a database table in my list view. Any suggestions. |
|
| Getting the index of a selected item in a listview (5 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| How does one do this. I have the following code: private void listView1 Enter(object sender, System.EventArgs e) { ListViewItem lvi3 new ListViewItem(new string[]{"Eric","Richards"}); ListViewItem lvi4 new ListViewItem(new string []{"David","Egdal"}); listView1.Items.AddRange(new ListViewItem []{lvi3,lvi4}); } Which add the items to the list view. I then have an event handler private void listView... |
|
| Please help me call this stored procedure (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Create Or Replace Procedure saveTaxFormInDB(intFormUID IN Form Index.FormUID%TYPE, intCLUID IN Form Index.CLUID%TYPE, PDFdata IN varchar2, Status IN OUT Varchar2) AS ... ... This above is a simple stored procedure spec.. however i need help in calling this from VB. Please help me with that code.. i ve tried using ado .parameter .append .commandtext. etc. but i jiust dont seem to get the right comb... |
|
| Question about PictureBox (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| what i want is to draw some stored shape to a exited picture. i override "paint" of form, but as i see after the form re paint, it first draw my shape, then redraw the picture. and i also try to override the "paint" of the picturebox, it did not work either? how to solve it? |
|
| Global Assembly Cache (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Can somebody please point me to some documentation on utilizing the global assembly cache for distributed applications. I have an app that I am currently designing with the need to store configuration files, etc within this cache. However, I have not seen any actual documentation on this subject, just references. Thanks in advance. Brian |
|
| New Properties on own UserControl. (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, I've made my own UserControl (WindowsForms C#). But I want a property on my control like the Items property of the ListBox (a collection of strings). I already tried to write my own ObjectCollection (inherits from IList, IEnumerable, ICollection), but that became to complex. And I don't know where I can stack my objects of the collection. I also tried to use the StringCollection but also wi... |
|
| PrintPreview Control C# (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I am trying to do something very simple but it is not working, Is it possible someone to send me a sample code of how to do it?? (C#) I am trying to display a text file into a printpreview control (am i asking too much??) I have tried everything i found at MSDN but it's not working. : ) Thanks. |
|
| Click event not raised by Control (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Dear Group I have created a custom control by deriving from System.Windows.Forms.Control and placed an instance of the custom control on a form. Created a Click event handler in the normal way by double clicking on the Click event in the Properties window. When I run the app and click on the control my event handler is *not* called. More details: if I alter my custom control to override the OnClic... |
|
| No images in tab control (9 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a tab control which is docked ("fill") to a top level form. The tab control has 7 tabs. An image list is associated with the tab control. Each tab has it's own image. The tab images appear perfectly in VS.NET designer, but are missing at runtime. What might be causing this problem? David |
|
| line numbers in richtextbox .. howto? (4 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| hello group, does anybody found a solution to add noneditable line numbers to the RichTextBox control? thanks srefan goessner |
|
| PropertyGrid & MouseDown (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| It seems that the MouseDown event does not work for the PropertyGrid control (RC1). At least, protected override OnMouseDown(MouseEventArgs ev) is never invoked when I click PropertyGrid. |
|
| Passing additional parameters to UITypeEditors (3 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a custom editor defined for a property on a custom control (derived from System.Windows.Forms.Control). The default constructor for the editor is not good enough for me as I need to pass an additional parameter into it. How can I have the control designer create the custom editor by calling the constructor with the additional parameters rather than the default constructor? Abhishek |
|
| Enumerated properties in user controls (6 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi I am attempting to write a line control in VS.Net Beta 2 (in an attempt to get used to the new syntax, etc). I seem to be having a problem with enumerated properties. My control has a "LineType" property, which can have one of two values "LineHorizontal" ( 1) or "LineVertical" ( 2). This affect what happens in the Paint event of my control. If I create an instance of my control on a standard Wi... |
|
| Adding a desktop icon (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| How do I add an icon to my exe so that when a shortcut is created of the exe on the desktop or anywhere else, an icon is displayed instead of the default empty white box? Tony |
|
| Line in VB6 (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello, I'd like to see if anyone can help me about this. I have a VB6 program which draws lines on the Form. Now I want to convert this program into VB7. Since "Line" is not supported in VB7, my program doesn't run properly. I did try to get the Graphics object using frmMain.CreateGraphics (), and call "DrawLine", however, for some reasons no lines are drawn. The examples on the documentation are ... |
|
| Smooth progressbar? (2 replies) |
| microsoft.public.dotnet.framework.windowsforms |
| There's no 'smooth' property on .NET progressbars there was in the old ones.. Where did it go? Do we have to write our own controls if we want to do this nowadays? thanks, dan |
|