Advertisement

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

7_2009-2012 #222011
File Dialog Class (replace common dialog control with this lightweight class)

Replaces Microsoft's common dialog control file dialog features. Uses same interface to call the FileOpen and FileSave dialogs including multiselection support. Instead of making a more versatile control with print dialogs, color dialogs, and hooking, I decided to make a very lightweight one since the CommonControl Print and Color Dialogs are essentially useless. I could have added hooking functionality, but that would involve including a standard module as well. The only major benefit of hooking is the ability to center the dialog. However, with this code, as long as you specify the form's handle, it will position the dialog to the upper left of the form This is a direct replacement to the Microsoft CommonDialog control and will involve very little Change in coding to implement.

7_2009-2012 #222021
Save As JPG Files

With this code come the Bmp2Jpeg.dll file that you need to put in the Windows\System directory With this dll come a API function BmpToJpeg that convert Bitmap file to Jpeg file. The program save the Picture as Bitmap and convert the file to Jpeg Picture (With 100 Compress Quality) and delete the Bitmap File

7_2009-2012 #222022
Scan with vb

With this code you can scan pictures by a scanner Yuo can select a TWAIn and of curse scan. When you download you will download a dll file that you will need to scan in vb

7_2009-2012 #222110
Check if a file exists

Comes very handy when you want to see if a file your program needs is installed or if your program's ini file is there or.... NOTE: A note on how to make money while you are programming is included! did you now that you could be making money right now?

7_2009-2012 #222143
How To MAKE a window, NO MFC

Well, want to ACTUALLY create your own form? no MFC or Resources. This is code to actually make a raw form. easy to use. Please gimme feed back.

7_2009-2012 #222146
File I/O Functions

The codes included in zip file. Vote if you learn something,please.

7_2009-2012 #222204
Loading and saving a file with a Memo

How to load and save a memo from and to a file on the hard drive.

7_2009-2012 #222235
A Cool Directory Map

This simple sub routine is used to map out a directory tree starting with any given path. Can be easily modified to perform any task that requires scanning folders. THIS IS RECURSIVE!

7_2009-2012 #222285
Save/Load Text to a listbox with common dialog

No example on psc for this so I put it together for others; LOAD and SAVE text to and from a listbox using common dialog control..

7_2009-2012 #222385
Embed Binary Files In Programs

Embed binary files within your programs to be written out to the file system once the program runs. This demonstration creates a Word document.

7_2009-2012 #222386
Determine if File Is Old

Determines if a file is old. I use this when I loop through the files in a "temp" directory to determine if I should delete old files on a website. Take note - the function looks at the last modified date rather then the date created.

7_2009-2012 #222397
Web Navigation Scriptlet

Navigate through a website within a small area of the screen.

7_2009-2012 #222414
Listbox, Common Dialog/Multi Select, Drag Drop/Multi Select, Parsing Example

You can drag (multiple or just one) files from a program like windows explorer or a common dialog onto a listbox & add them all to it, & parse before adding to just get the dir, filename or the whole thing.

7_2009-2012 #222430
VB Printing Tutorial

This may be some help if you want to print with VB. It does not cover everything to do with printing but is a good start.(...No PrintForm...) Using X,Y, Coordinates.

7_2009-2012 #222434
ASP File Upload v1.5

ASP File Upload v1.5 will provide you with the customizable, easy-to-use functionality to upload files to your server using pure ASP. This is a customized version of Karl Grear's "Form Based File Upload Using Pure ASP." According to Karl: "With this code you will be able to save a file in any directory that the anonymous account assigned to it (usually IUSER_machinename) has access to so be careful. I should note that the server needs ADO, ADOX and the File System Object installed on it."

7_2009-2012 #222485
Color Wheel Picker

I was working on a scriptlet to allow users to choose a color. A color wheel is displayed with an assortment of colors - most of witch are web-safe. Clicking on a color causes it to be outlined and raise an event that a color was chosen. This object mimics one of the color-picker forms found in Microsoft Office 2000. This scriplet does not yet raise events or expose properties. The basics, however are available for you to be amazed.

7_2009-2012 #222487
Bottom Tabs

Simulate the tab control found at the bottom of popular programs such as visual Interdev and Front Page.

7_2009-2012 #222489
Forced Download

Forces users to have choice of downloading a binary file. This was becomming a problem with Word documents - as they would either open within the browser or open externally. You may need to change the FileName variable.

7_2009-2012 #222512
Call Logger

This is a program to record callers to a helpdesk. It uses a very good example of records, if you are looking for how to create records then this code is for you. Special thanks to Mark Robert Strange for his excellent flicker-free gradient scrolling credits screen that I've incorporated into my program, hope this is helpful. Enjoy ...

7_2009-2012 #222515
Incredibly simple file transfer

This is the simplest way I could find of sending a file across a network or the Internet. You can send any type of file (from text documents to movies) and any size of file. I downloaded many file transfer programs and found them either way too long-winded or quite short but very difficult to understand. Therefore once I understood how to do it I wrote my own program thats not only short, but incredibly simple and capable of sending any type of file (big or small). The code is fully commented and easy to understand. Enjoy...

Languages
Top Categories
Global Discovery