Results for "Category: Files/ File Controls/ Input/ Output"
Easily create custom shaped forms without using any complicated code, it’s a simplest example how to do that. Coded using vs.net 2002. This zip file also includes a Gradient Sample. SO, Please Vote!
This article will quickly and to the point show you how to supress the beep when the user presses the enter key in a single line text box.
This one should behave like the FolderNameEditor class, but with public methods.
This is an Outlook Bar. I prefer to call it OutLook-a-like-bar but to not get into "nag nag outlook is a productname" I called it WBar, where the "W" stands for the first letter of my name.
This simple code will allow you to programmatically select an item in a listview. Hope this helps.
This code is helpful if you want to load a form by passing its name as parameter. rating is expected ;-)
In HTML and ASP programming, the form element (i.e., ) features the Action property that programmers use to redirect to another URL after clicking. In ASP.NET, server-side forms are rendered using a class named HtmlForm under System.Web.UI.HtmlControls Namespace. This class doesn't provide the familiar Action property, nor does it supply an alternative property to perform the similar functionality. As a result, the single form interface model is so deep-rooted in ASP.NET that there's no way around it.. This article is concentrating on the aspects of providing the Action property to Server-side form object based on very own HtmlForm class itself which further can be extended to adopt multiple-form interface
This is ONE LINE OF CODE replacement for the VB 6.0 App.Path.You don't need now the App.Name , because these gives you tje full path + the exe name. Just see this simple line of code...
Example shows how to create a movable custom defined form in VB .NET using inheritance. Custom shaped forms are created though use of Images and Transparency settings on the form. .NET features used in example: inherit, inheritance, overrides, shadow, protected, process.start (Opening URLs in explorer), region arrays, cursor / mouse position, no control timers, images, drawings image (replacement for paintpicture) and many more. Include heavy commenting and explanation throughout source. This example to a bit of time to do so please vote highly if you like the example.
Shows a simple way of how to use the Notify Icon control. Includes a simple timer that changes the icon every second so that it appears to be flashing. Simple code for simple project unlike some of the hairy code I found on PSC for doing the same thing in Dot Net. Also shows how to use the contextmenu along with the Notify Icon control. Please vote.
Have you ever wanted an auto complete on your combo box well here it is. I have posted this before but it was my first time and the formating was all messed up. So now it's in a working project.
This is a sample of how to make a word add in, This also shows how to interface with the current active document as well, like how to add merge fields or document variables. You also see a simple drag drop.
Ok simply put, this is how to get that link to show up in the bottom of the properties window in VS.Net. You know, for example drag a datagrid onto the form and look at it's properties, you will notice an autoformat link at the bottom. Well there is very little info, and guess what, some one came up with a unique name I would never have thought of searching with. They call those links VERBS is that funny or what? So this is a basic example of adding verbs. Though the control designer can be so much more, you can control mouse events and how things look at design-time when laying things out. Check it out, VOTE!!!
A custom control Progress bar based on panel class, very simple and small. This code is based on Jim Gardiner control progress bar, thanks to him. I made some modification and come out with very short and simple code.
This article will help you learn to use Inheritance to extend other classes and add functionality to the standard controls shipped with .NET
This is a control class that encrypts code using a wheel algorithm.
Contractable GroupBox. This is a custom control I created from scratch in C#. It is a GroupBox that collapses and expands when a treeview like "+-" interface is clicked. It is not complete, but it is fully functional and good enough to use in any app as long as I get credit for it of course. You should have an understanding of GDI+ and component creation in order to fully get this. I however am obsessed with commenting my code, so just reading it will help you understand everything I did while writing the control. Enjoy it! Ramon E. Tristani
This short little code example shows you how to only accept numbers to be inputed into a textbox by using the KeyPress event procedure. This is beginner, but I've seen alot of people that don't know how to do this.
This code shows how to add controls to ListviewItems, and make them size into a ListviewColumn. Very usefull
Automatically add controls to the form at runtime, (by code, programmatically) and react to their events