Advertisement

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

5_2007-2008 #194446
Simple file extension search (Best for viruses!)

By this code you can search for a specific file extension in a drive or a folder.Address of all the found files including in subfolders will be listed in a listbox.System files and hidden files will be found too.After finishing search it will show you number of files found and number of subfolders searched and total size of all files.I had used this code on one my viruses to destroy all the exe files in a computer.

5_2007-2008 #194508
Advance Multi GB file Read/Write

I made this little project to find a way to read and/or write files that are multi gigs in size. I tried to use the the "Open.. for.. access.." that VB6 has and it errors out due to an overflow. You can't even use the eof() and lof() function VB6 has because they will just error and overflow. Try it yourself. Try using LOF() to get the length of a file that is 8 GB's in size, it just will not do it. So I hope this helps some people out. It's just an example of a use for this. I'm sure those whose eye this post catches will find many uses for it. Happy Coding.

5_2007-2008 #194575
Urdu Text Handling as Plane Text with Text (*.Txt) Files

Pre-Requirements : Pak Urdu Installer Or East Asian Language Support (XP) http://www.mbilalm.com/download/ Introducing Solution for the Urdu Text Handling As Plane Text in Text(*.Txt) Files with File System Objects (FSO). It was not easy but you 'll be amazed to know that it is very easy to make urdu text file that contain Urdu as plane text. The thing that needed is that right way to do that. Now, i wants to say that, much more solutions for Urdu Programming are available but in random form. We only have to get togather them for our use. In this project a new look for Urdu Softwares introducing. And much more changes made in previous methods of Urdu Programming. The main update is a common module for 'Urdu Phonetic Keyboard Layout' that makes more easy way for Urdu Textboxes. You don'thave to need for a long code lines like previous, now you 'll only put two lines in code window of Textbox & the Textbox will automatically recognize Urdu with Phonetic Keyboard Layout. I was trying to make this module from the start but was not succeded, but now its been sucessfully made. You can save Urdu in Text (*.Txt) files & use them for any perpose. In previous, control's captions was got from Database files but now a new method is used by using Plane Text(*.Txt) file as Caption's container. And this methode is much more efficient. Urdu message box dialogs introducing with no-Urdu-Jpg. New professional looking command buttons that recognize not only Urdu, but with also icons & new alignments methods. A professional looking loading progress bar also added to show loading progress. Not only this, there are much more new Functions & Methods introducing for Urdu Programming that can't be found at anywhere. Please give me Feedback on this project & tell me about your suggestions, you think that may useful. Thank You. Join Urdu Programming at Facebook http://www.facebook.com/pages/Urdu-Programming-VB6/263338567072301

5_2007-2008 #194580
Urdu, Arabic, Persian Font's Collection with Islamic Calligraphic Fonts

Pre-Requirements : Pak Urdu Installer Or East Asian Language Support (XP) http://www.mbilalm.com/download/ The largest collection of Urdu, Arabic & Persian fonts on one place. There are 391 fonts with Arabic & Persian fonts that are supporting three languages in different ways. Random fonts are available on different websites but not collected available at anywhere to be download. So, these fonts collected from different websites to use them with VB6, VB.Net & for other applications. Most demanded Islamic Calligraphic fonts are also included in this collection that make Urdu, Arabic & Persian demanding solutions very easy. Specially, Bismillah fonts 1-5, Ayat & Riwayat, Tazhib, Al-Qalam Gul-o-Boota & Al-Qalam Remezan fonts etc. The updated version of Jameel Noori Nastaleeq V4.0 with Kasheeda also included that generate very beautiful Urdu script. Much more beautiful & stylish fonts included that will be liked by you. Like before, waiting for your feedback for this effort. Making Urdu, Arabic & Persian solutions not only for ME but also for you all. Thank You. Join Urdu Programming at Facebook http://www.facebook.com/pages/Urdu-Programming-VB6/263338567072301

5_2007-2008 #194640
File Explorer

Advanced File Explorer that uses Tree View and List View to show files and folders.

5_2007-2008 #194669
OpenFileLocation vbs+vbp

Provides functionality similar to Windows Vista & 7's "Open file location" context menu for pre-Vista OSes. In Vista & 7, shortcut files have a handy context menu option, that upon clicking, pre-selects that shortcut's target in a new Explorer window. Requires an enabled Microsoft Windows Script Host (wscript.exe). Open it once to install or uninstall. Updated on 2/3/12 to include a VB6 port. The compiled version performs quicker and takes care of installing/uninstalling itself.

5_2007-2008 #194670
The Optimum FileExists Function

The ideal implementation of FileExists should be simple, efficient, supports wildcards and above all else, work flawlessly in all scenarios. In the refined to near perfection version 11.0 below, all of those are met, except one. For that single shortcoming, v7.0 fills the role adequately. Bonus: A few related routines are included as well.

5_2007-2008 #194673
Creating Scheduler in Visual Basic

Specially for VB programmers: an easy-to-follow tutorial on how to create a simple event calendar in visual basic.

6_2008-2009 #194694
Validate_Drive

Validates whether a given hard/floppy/network drive is valid

6_2008-2009 #194695
Validate_File

Determines if a file exists Improved version--detects hidden files too!

6_2008-2009 #194735
cmdFormatDrive

Format Floppy Disk using API:Here is the code on How to Format Floppy Disk using API. Note -- This code can format your Hard Disk as well, so you should be careful!!!!

6_2008-2009 #194739
Launch file and associated program

How do I launch a file in its associated program? The Shell statement unfortunately only supports launching an EXE file directly. If you want to be able to launch, i.e. Microsoft Word by calling a .DOC file only, you can make your VB application launch the associated program with the document using the following method:

6_2008-2009 #194743
Converting long file names

VB4's commands for dealing with file names (such as KILL, MKDIR, and FILECOPY) support long file names without programmer interaction. A number of the Win95 API functions will return only the short name, and you'll notice a number of short file name entries if you're digging through the registration database. Therefore, occasionally you'll need to convert a short file name into a long file name. This function lets you pass a long file name with no ill effects. The file must exist for the conversion to succeed. Because this routine uses Dir$ and "walks" the path name to do its work, it will not impress you with its speed:

6_2008-2009 #194752
16 and 32 bit functions to create

16 AND 32 bit functions to read/write ini files--very useful!

6_2008-2009 #194773
.INI read/write routines

.INI read/write routines mfncGetFromIni-- Reads from an *.INI file strFileName (full path & file name) mfncWriteIni--Writes to an *.INI file called strFileName (full path & file name) sitush@aol.com

6_2008-2009 #194778
cIniFile

Complete access to INI files through a simple class module, which works with VB4 16,32 and VB5. This class module allows you to read/write INI values, delete values, delete sections and query whole sections through a simple inteface.

6_2008-2009 #194791
Win95DirectoryPrompt

Prompting the User for a Directory in Win95. Windows' common dialogs are great if you want the user to select a file, but what if you want them to select a directory? Call the following function, which relies on Win32's new SHBrowseForFolder function:

6_2008-2009 #194804
How to open a file with one line of code!

You create a funtion that can open a file with just one line of code.

6_2008-2009 #194805
File/Directory/Drive Exists (Updated)

This code returns a true/false if a specified drive/directory/pathname exists. This is a small, fast routine.

6_2008-2009 #194806
GetShortFileName

A short pathname of the passed string containing a long pathname. 'For example it turns "C:\Windows\MY Long Path Name\My Long Name File.txt" into "c:\windows\mylong~1\mylong~1.txt" (The actual resulting pathname is determined by the short names that windows assigns to all files and directories). 'This is useful when you need to create a fail proof pathname (assuming the file exists and is accesible).

Languages
Top Categories
Global Discovery