Advertisement

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

5_2007-2008 #182641
Learn about FileSystem OBject

This example will explain about How to use the FileSystem Object to do your file operations. This Object is available in vbScript and in vb also. File and Folder operations can be done with this object very easily. This program itself used this object to obtain data from file. Few working examples were added with this program to understand better. You will come to know something about FileSystem Object or get some code snippets or ideas from this code. This example explains about the file operations. Soon I will update the Folder Operations. If anybody is intrested in doing that I welcome them. It can be simply done by changing the source text file. The same logic can be used to display similar kind of things. Note: The functions CharFound and SeperateString were extensively used by me in almost all of my programs. I suggest you to use them freely in your code. Please read the ReadMe.txt

5_2007-2008 #182645
Menus in your windows app

Shows how to implement menus in your Win32 application

5_2007-2008 #182646
Put your app in the System Tray

This example shows how to put your apps icon in the system tray and have a menu attached to it.

5_2007-2008 #182647
Add a RichEdit to your app! (non-MFC)

Get past the annoying limitations of the standard edit control and start using RichEdit controls! This example shows you how to impliment a RichEdit control into your apps using WIN32 API. Shows how to use EM_STREAMIN, EM_STREAMOUT, copy and paste to clipboard, and also how to drag and drop files right into your RichEdit! Streaming is done using file objects as well as strings. If you find this information useful and like the code PLEASE VOTE ;o) if you hate it then we're sorry but the voting feature has just been disabled, i'm very sorry :o\

5_2007-2008 #182650
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.

5_2007-2008 #182656
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.

5_2007-2008 #182711
TreeView Export Routine

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

5_2007-2008 #182719
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.

5_2007-2008 #182720
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.

5_2007-2008 #182721
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)

5_2007-2008 #182777
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.

5_2007-2008 #182875
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!

5_2007-2008 #182884
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 ([email protected]). Enjoy.

5_2007-2008 #182906
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.

5_2007-2008 #182915
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.

5_2007-2008 #182916
___*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. *************************************************

5_2007-2008 #182917
__** Learn Anything About VB **__

Learn anything you want about Visual Basic.

5_2007-2008 #182940
Get file size up to a terabyte

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

5_2007-2008 #183027
edit

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

5_2007-2008 #183034
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

Languages
Top Categories
Global Discovery