Advertisement

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

6_2008-2009 #196999
INI Read and INI Write - Simple and Error Free

INI Read and INI Write made simple. I included examples in each function. If you like my codes, then please vote for me. But only if you like them. Thanks =)

6_2008-2009 #197026
CD Autorun Maker

It really does two things. Shows how to make a path appear in a Textbox with a Common Dialog. And it also demonstrates how to make an INI file. You'll have to edit the .ini before you burn it on the cd, and you'll have to copy the app and icon you specify onto the cd and change the INI's paths respectively. Just something i did to help newbies out there.

6_2008-2009 #197064
Passworded

Sorry guys about my other code....i compiled the exe with it and i found out i had the cih..i cleaned my system ..but im not gunna add exe files to the zip's anymore...sorry about my other code... this is somethin u can use for a startup of a program for password stuff...you can create new accounts for username and passwords...it works..no bugs..no exe file in this one

6_2008-2009 #197156
Add Byte's to a .exe file

It add Bytes to a file.

6_2008-2009 #197157
Include a file in a program

Include a file in your program.

6_2008-2009 #197193
Create a toolbar/statusbar in a dialog

Create a toolbar/statusbar in a dialog. To add a control bar to a dialog, you must create the control bar as usual, and then make room for the control bar within the client area of the dialog. For the control bar to function properly, the dialog must duplicate some of the functionality of frame windows. If you want ON_UPDATE_COMMAND_UI handlers to work for the control bars, you also need to derive new control bar classes, and handle the WM_IDLEUPDATECMDUI message. If your dialog is not the main window of your application, you will also need to modify its parent frame window to pass the WM_IDLEUPDATECMDUI message on to the dialog's control bars. To make room for a control bar within the client area of the dialog, follow these steps in your dialog's OnInitDialog() function: http://stingsoft.com/mfc_faq/chapter6/chapter6_5.htm

6_2008-2009 #197202
Timer functions

Get you a easy way for creating and using timers on your window application. This code use two timers and you can see how to start and stop the timer.

6_2008-2009 #197264
All_Form.ASP

Multi-function form for basic navigation, table editing, and recordset paging. This example includes code to dynamically build an SQL UPDATE command based on changed items on the current record. http://adozone.cnw.com/default.htm

6_2008-2009 #197269
Serial Com User Control

This is an event driven VB user control to handle serial COM communications. Instead of using the default ocx you can now compile this user control with your code and you don't need to supply any extra ocx's or third party dll's to support serial comm's.

6_2008-2009 #197273
Menu pagelet for ASP.NET

Simple server-side menu control - kind of - for ASP.NET pages. It's best suited for a site where all pages use the same menu. All pages share the same pagelet, which contains all the menu items and the logic. You can define two menu levels (main menu and submenus). When you click on a main menu item the submenu drops down. The currently shown page is shown bold in the menu. The code contains the pagelet (navbar.ascx) and a sample page using it.

6_2008-2009 #197304
Pure Cool Menu

Demostrates how you can easily create a cool menu using the default filters which are part of internet explorer. You can easily modify the code to use it for your own menus.

6_2008-2009 #197311
Calendar this... :-)

get date by external datecontrol... programmed by bert de verschrikkelijke and sOul-

6_2008-2009 #197317
Binary Save/Open File

Saves/Opens Binary file. Takes the contents of (2)Listboxes, (1)RTB, and (1)Label and saves to a binary file. Also opens the contents of the binary file into (2)Listboxes, (1)RTB, and (1)Label.

6_2008-2009 #197395
UPDATED: NTFS Data Streams: the true way to hide information and extend your file system

11/10/2003: To celebrate my mother's birthday (to whom I shall dedicate this update to) I've decided to post a new version of the code. As posted in the recent article, all of the bugs and features that you have suggested have been implemented. Thank you very much for your comments! If you find any new bugs, please let me know! This article will teach you about a big secret of the NT File System (NTFS): Alternate Data Streams. First off, a brief history about ADS will be offered, followed by practical applications of data streams, with examples. Finally, explanations on how to protect yourself from the dangers (and what they are) of ADS. Full source code is included as well as a GUI for scanning your disk for ADS, as well as editing and viewing them (or creating new ones). As a bonus, there are two versions, one in pure API, and one using VB controls. Finally, you can integrate this app in a VBS script, with very little modification, for server maintenance.

6_2008-2009 #197396
NTFS Data Stream Update

Hi everyone, Included in the ZIP file is a new version of the NTFS Alternate Data Stream code. It fixes all the bugs listed below, and add new features. All of these have been kindly given as suggestions from everyone on the site, and I wish to thank you! If you'd like to read the original article and vote on it (if you haven't seen it already), it's located at: http://www.planetsourcecode.com/vb/default.asp?lngCId=47299&lngWId=1

6_2008-2009 #197434
Recurse thru sub directories

I haven't seen this on PSC using the filesystem object or a collection. very neat and fast since you don't need to go through it twice to redim an array. the only slow down with this code is the print statement.

6_2008-2009 #197440
FAST Tail Function for VB

After hunting for this functionality since I started using VB, I've finally figured out how to *quickly* read the last few lines in a file. This function fills a dynamic array with the last X number of lines in a file you specify. I use it to monitor apachewin32 logs on another server. This is much faster than using 'line input'. I know there may be more optimized ways of doing this, I just thought I should get it out there.

6_2008-2009 #197443
ListView 84 Subs and Functions

Just learning how to manipulate the ListView Control and thought I would pass this along. Might do more controls later on if response is good. If you find some of these useful please vote :>) Subs and Functions Check all Items in ListView UnCheck all Items in ListView Remove Checked ListView Items Remove UnChecked ListView Items Copy ListView Column Copy Entire ListView Copy Selected Column Items In ListView Copy Selected Row Items In ListView Copy Column Headers In ListView Copy Formatted ListView Copy And Format Selected Items In ListView Copy Checked ListView Column Copy Checked ListView Rows Count ListView Column Headers Count ListView SubItems Columns Count ListView Column Items As Sum Count Selected ListView Column Items As Sum Count ListView Items Count Selected Items In ListView Count Unselected Items In ListView Count Checked Items in ListView Count UnChecked Items in ListView Count Duplicate Items in ListView RemoveDuplicateItemsInListView RemoveDuplicateSubItemsInListView Remove First Item In ListView Remove Last Item in ListView Remove Selected ListView Item Or Items Remove UnSelected ListView Item Or Items Remove NonMatching Items in ListView Remove NonMatching SubItem in ListView RemoveNonExactMatchingItemsInListView Remove Matching Item in ListView Remove Matching SubItem in ListView Remove Exact Matching Item in ListView Clear ListView Remove ColumnHeaders in ListView Remove ColumnHeader in ListView Resize All ListView Columns But Item Column Resize Last Column Resize ListView Columns Equally Is Item Checked in ListView Is Item Selected In ListView Is ListView Full Color ListView Color Stripe ListView Rows BackColor Color ListView BackColor Row Color ListView Rows BackColor To Default Color Color Selected ListView Rows BackColor Color Selected ListView Rows BackColor To Default Color All ListViews On Form Select All ListView Items Deselect All ListView Items Get First Selected Item In ListView Get First Selected SubItem In ListView Get First Selected Row In ListView Get ListView Column As String Get Entire ListView Get Selected Column Items In ListView Get Selected Row Items In ListView Get Formatted ListView Get Column Headers in ListView Goto First Item in ListView Goto Last Item in ListView Goto Row Item in ListView Load Basic ListView File Save ListView as Basic ListView File Save ListView Column as File Search ListView By Column Search Entire ListView Search For Closest Match In ListView Search For Closest Match In ListView Column Find First Item Or SubItem In ListView Find Next Item Or SubItem In ListView Selected ListView Items ListIndex For User Selected ListView ListIndex Send a ListView Column to ComboBox Send Selected ListView Items From Column To ComboBox Send a ListView Column to ListBox Send Selected ListView Items From Column To ListBox Send ListView Column to TextBox Send Selected ListView Column Items To TextBox

6_2008-2009 #197475
DataGridView sort correctly

This code shows how to keep the current row position highlighted after a sort is done by a user on a DataGridView by clicking one of the column headers.

6_2008-2009 #197476
DataGridView HitTest

Shows how to get the former and current value in the current cell of a DataGridView along with customizing the current DataGridView context menu.

Languages
Top Categories
Global Discovery