Advertisement

Results for "Category: Files/ File Controls/ Input/ Output"

7_2009-2012 #227686
Add Fonts To Your Controls

This example is built from the example I wrote to add color to your controls, it nows lets you change the font also. Code that is new is marked off by comments, this also shows you how to use the ChooseFont common dialog. As always this is pure win32 API, no MFC here.

7_2009-2012 #227692
Cache the output of an ASP page.

Cache the html output from an ASP page into the application scope and schedule a time to refresh it.

7_2009-2012 #227747
TreeView Export Routine

Exports a TreeView control (including ALL it's children) into a graphical representation with plain text.

7_2009-2012 #227755
XP Themed Win32 Controls

This example shows how to make windows, list boxes, buttons and edit controls. Not only does it show how to make them but it shows how to use them as well. This example enables XP Themes and keyboard navigation. I'd like feedback, good or bad, so please give some! This sample works on all Win32 computers and only enables themes if they are supported by the current user operating system.

7_2009-2012 #227756
Win32 Window (Pure API)

This sample shows how to make a window using pure API. There are already many more but one this site but this one has loads of comments; possibly too many. Well anyway I wrote the sample for my own web site so decided to post it here as well. My screen shot does show a windows 98 and windows xp looking window side by side but don't get confused by that. All this is is a simple window but I was just trying to show how it works on Windows XP as well as older versions of windows.

7_2009-2012 #227757
Win32 Controls w/Tab Navigation (Pure API)

This code shows and explains how to make controls on a window using pure API, using CreateWindow and CreateWindowEx. This example shows how to make list boxes, edit controls, and buttons. Not only does it tell you how to make them but also how to use the. Unlike other examples I’ve seen this example also shows you how to enable TAB, Shift+Tab and other normal windows navigation things like Alt+ to use a button. This example also shows how to use malloc and pointers the text of a edit control or selected item in a list box. It allows you to add items and remove items to the list box control at run and design time aswell. I hope this code helps you, please give me some feedback! (the zip includes VC++6 and DevC++ project/workspace files)

7_2009-2012 #227813
GetFolderPath

I've seen requests for this in the mail lists to here it is. This uses the windows scripting runtime to get the path to the requested directory. For example, as you know, the windows directory can be C:\Winnt\ , c:\windows\, etc. This code will retrieve the correct path to the directory. 'Currently written to get the Windows, System32, or Temp directory. Add others as you'd like.

7_2009-2012 #227911
Win32 API Window Docking System

This code consists of three files, two are a header file and source file for the window docking system and the third is a simple program that demonstrates the use of the window docking system. The window docking system allows any number of windows to snap to and dock with a main window using purely Win32 API code, none of that nasty MFC stuff!

7_2009-2012 #227920
TreeView Interface (Drag and Drop; Add, Rename, and Delete Nodes; Save Tree to Database) (Updated)

The following program is an example of a Treeview interface. The example demonstrates how to program drag and drop; add, delete, and rename nodes; saving a tree to a database; and restoring a tree from a database. When you first run the program, you will be presented with a form that will ask you to locate or use a database file. You must use "TreeViewEx.mdb", which is included with the project. You may have to navigate to locate this file. This update corrects two unhandled exceptions (one occurring when attempting to delete the direct child of a root node). The program also demonstrates how to separate data services into its own class. Please see the text file included with the solution for a complete list of functions. There are some pretty nifty ones. Please feel free to e-mail me if you have any questions (mthorogood@mwe.com). Enjoy.

7_2009-2012 #227942
Compare Files in Different Folders

Rev 8-1-2001. Have you ever had to compare files in two different folders? Mostlikely, you used paper and pencil. This VB snippet shows the contents of 2 folders and flags files with different date or file size. My graphic design is not the best and yes it would be nice to navigate to you folder (now you enter path). For the first step (3+2 hrs work), I think it will do.

7_2009-2012 #227951
ZEO Paint

!!!Please Leave Comments!!! This Prog is a painting program able to draw lines, free-hand, point to point to point, circles, rectangles, triangles, erase free-hand, selected areas, saves and loads pics, floodfill objects, create custom colors, save colors.

7_2009-2012 #227952
___*Calculate Pi*___

Calculate Pi. This will only let you go to 32763 decimal places. ************************************************* If anyone nows any API for larger math please leave comment about it. *************************************************

7_2009-2012 #227953
__** Learn Anything About VB **__

Learn anything you want about Visual Basic.

7_2009-2012 #227976
Get file size up to a terabyte

Returns the file size of the file name passed in the format the user specifies

7_2009-2012 #228063
edit

a little word processor. it can open, save files, print, also shows how to copy, cut, and paste using api

7_2009-2012 #228070
Message Center v1.01

This is a message umm center hehe, Let your users send messages to other uses, NOT a CHAT it is more of an email client but sends them to other members your site, This version is very basic and will need to be modified in order to work properly, view the readme.txt file for more info. The next version will be great, I figured gotta have a simple basic one for the first version and then come out with a better more advanced version next time around right? yeah ok.. View it here http://65.4.131.57/Justin/messageCenter/Script/message_center.asp

7_2009-2012 #228073
A ComboBox control with a TreeView

This UserControl is a ComboBox control that has its dropdown window replaced with a TreeView control. Handling the mouse, the keyboard and the focusing was a bit tricky and the control is not 100% perfect but it works just fine. Two issues are unresolved, but they were not important to me: firstly, since the TreeView is a child control it cannot be drawn outside the form; and secondly, a ComboBox.CloseUp call must be placed on the Form.Click event since the control does not monitor its own parent. For diligent people it should be relatively easy to adjust this control to their own needs, and even to replace the TreeView control with something else and build other types of specialized ComboBoxes.

7_2009-2012 #228079
Attributes

It sets the Attributes for any file. including hidden read only and archive.

7_2009-2012 #228119
ListViewItemSorter

Sort ListView on ColumnClick (Implements IComparer). Handles different data types (Text/Numeric/Date) and CultureInfo settings.

7_2009-2012 #228126
A File Splitter - Updated

*** UPDATED AND IMPROVED *** This will cut a large file into smaller pieces. For example if you have a 4MB email attachment limit, and you want to send a 40MB file, you can use this program to split the file into 10 pieces of 4MB each. It also generates a batch file to reconnect the seperate pieces.

Languages
Top Categories
Global Discovery