microsoft.public.dotnet.framework.windowsforms Archive - March 2004
Post a message to this list
Messages
Page: 12345678910111213
transparent controls (8 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Is it possible to make the background color of controls (such as group boxes, lables, text boxes and check boxes, tabpage ) to transparent? In case you need more information, I have added some code to the form paint method to paint the background with a gradiant. I need to get the controls on the form to match the same look. The only alternative I could come up with was to create an image with the...
Problem With Winforms UserControl on VS.net design time (5 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi, I'm working on a Win form application which is being developed in VB.Net. I have created few User Controls quite some time back and implemented them successfully. Now the problem is, I'm not able to use UserControls using my VS.NET IDE. When I tried to drag and place the user controls on WinForm (from Toolbox), it shows an error saying "An exception occurred while trying to create an instance ...
Designing Inventory and Payroll Applications in .NET (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hello There. Anyone having experience in desiging payroll and inventory applications in Dot Net please guide me through the process of designing these kinds of Apps in VB.NET. Such as How to gather system requirements? how to design logical model,Physical model etc. Waiting for immediate feedback! Abul Hasan, MCP
Saving user prefs, form position, etc (4 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hello. I'm developing Windows.Forms based applications, and each will need per user persistent data consisting of user preferences, last form size/position, and the like. Is there a standard or recommended approach to this? I'm aware that such data is often stored in an appropriate HKCU\Software subkey and/or Application Data subfolder. What I haven't figured out yet is if there is some convenient...
TreeView and ObjectDisposedException (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi All! I have an application that opens form with TreeView. I want to close form by AfterSelect Event: private void MyTreeView AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e) { this.Close(); } But everytime when I clicking on TreeView Item, I get following error: An unhandled exception of type 'System.ObjectDisposedException' occurred in system.windows.forms.dll Additional in...
Click event in Windows Form (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Say I have a Form and in that form I have a group box/other panel. If I have handling for the click event on the form, this won't be called if I click on the group box/panel. How do I make this click event on the form still processed even if the user click on the groupbox/panel. thanks, Hadi
Non-editable ComboBoxes? (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi, I would like to make my ComboBox non editable, meaning that the user cannot click on it in order to type some text but only for selecting one of its pre defined items. How do I do this using code (C#) or the designer? I thought there would be a property for this but I cannot find any. Many thanks in advance, Ana L.
PropertyGrid section (2 replies)
microsoft.public.dotnet.framework.windowsforms
How do I make sections in a PropertyGrid. IOW. what do I have to do to prevent every public property appearing in the "misc" section? TIA, Bronco
How to call the owner's method in a windows form? (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
FormA is the owner of FormB, and when the FormB is closed, I want to call a method in FormA. I've tried in this way: FormA frm (FormA)FormB.Owner; But I cannot find the method I need in the variable "frm". Please help. Thanks a lot!
MDI RichtextBox problem (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi all, I have searched all over the place to solve this one so I am hoping somebody can point me in a direction or give me a solution. Basicly this is my problem. I have created a MDI container this I have called MDI I have created a Form called Form1 and place on it a button called button1 This opens Form2 into the MDI container and richtextBox called richtextBox1. I then created a second form c...
General information about IE plugins/similiar (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi I want an overall picture of how plugins/similiar work within IE, I'm thinking in particular of how things like Flash works and whether or not its possible to gain more information about javascript processes running. Is plugin the right word? Is it possible to write something for this in C#/dotnet Is it possible in theory to right a javascript debugger of some kind? Thanks F
Form Control (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I'm using VB.Net Windows Forms. I have 2 forms. They are both completely built. I have Form A and Form B. I want to load FormB from a button in FormA In VB6 it was something like FormB.Show The only info I can find is creating new forms on the fly. I want to just show FormB within FormA. Thanks. E
How can I get a Sizable window with only Close button (without Icon)? (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
How can I get a Sizable window with only Close button (without Icon)? I know this question was duplicated many times. But there is no clean answer at any question. (at least that I saw) Please anybody answer this clearly! This window style is using in OpenFileDialog window too. This must be possible. I don't want to use SizableToolWindow, it is not just fit to my window's purpose. My window have t...
Toolbar button enabling/disabling (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I need to automatically enable and disable the toolbar buttons programmatically. For example, I have a tree control and and I want to disable toolbar buttons based on the currently selected node. Is there any easy way to do this? Bruce
Windows XP Button vs Framework window form button (7 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi, How could I create the same button and tab of windows XP in vb.net i found that the button that I create in vb.net is different with windows xp one. anyone know how to do that ? pls advise me
How to bring existent vector graphics as GDI+ or into VB (3 replies)
microsoft.public.dotnet.framework.windowsforms
I am looking for a tool that would allow me to dinamically draw graphics, text, and even animation in a visual interface and then bring the generated code or dlls s (or files of any type) into my project as a control. Then in VB I could add all the required code for this previously designed control. What I want is to avoid having to code graphics, that s so slow and unnatural... GDI has the power ...
Need Sample MVC Project (Vb.net + ASP.net) (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi I am about to start a new project in .NET and was wondering if there is a good sample , that implements the the MVC model in VB.net and ASP.net. Basically I am looking for some core classes that will allow me to perform DB transactions, Manage Session, and Cache Thanks
Running code after form is displayed (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I have been searching for an answer to this question with no luck. The only answer I saw does not seem to work. I need to run some code (specifically something that will check and download software updates) after the form is displayed. The answer I saw said I should put the code in the forms Activated event. But this event is still going off for the first the BEFORE the form is shown. I know this ...
Subscript labels? (2 replies)
microsoft.public.dotnet.framework.windowsforms
Anyone knows how to get labels to support subscript (for elements composition, like UO2)? Or another control that can do that? Thanks, Tomer
Setting Parent for a C# .NET Form (6 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hello all, I am new to C# and I need to be able to set the Parent to a window outside of C#. I want to embed a C# Form inside a Delphi Form. How can I set the Parent so that it uses the Handle from a Delphi Form? Help would be appreciated :) Kenneth
how to host another applications window in a windowsform (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Can anyone give me some info/article on how i could grab an instance of say internet explorer and then host it within a page control on my windows form? thanks
treeview label edit problem (4 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi I am trying to edit the lables of nodes in a treeview control in my VB.net app. At first, I thought I couldn't edit regardless of what the labelEdit property was set to. Finally, after nearly throwing my keyboard through my office window, I found that if you clicked on a node, waited between .5 and 1 seconds (any more or any less, and it won't work), then click again within ..5 and 1 seconds (a...
Need help with custom events.... please help (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hey all, Okay I'm trying to get a handle on setting up a custom event, as you can probably tell by the code below, I'm struggling. Some background. What I'm trying to do is update the text in an rtf control on my main form whenever something is written to the logfile. Since I'm writing to the log all over my application, I want to keep this rtf control and the events that publish their verbage to ...
supressing the "would you like to open the file or save..." message from web browser control (5 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I am loading a Word RTF document into an axwebbrowser control with windows forms .NET. When I call the Navigate2 method IE pops up the "Some files can harm your computer.... would you like to open the file or save...". Is there any way to get rid of this message? The file I am opening is generated from my program and lives on the local drive. Thanks
Custom splitter bars (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi I've created a usercontrol that extends the standard splitter bar. What ive done is put a button in the middle of the splitter, that when pressed, collapses the splitter to were its docked, kinda like in dreamweaver. When i try to reposition the splitter using splitter.Location.X for example i get the following error: Editor.cs(1245): Cannot modify the return value of 'System.Windows.Forms.Cont...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification