Results for "Category: Files/ File Controls/ Input/ Output"
creates an HTML form given an ADO recordset. Uses different controls (textbox, checkbox, textarea) for different datatypes. Determines maxlength property based on datatype. Keeps some useful info in hidden fields.
Receives keystrokes from user, including mouse buttons and all keys. Writes all input to a text file and can be hidden in stealth mode! ONLY ONE API CALL WITH EASY TO FOLLOW CODE! Votes and comments are strongly encouraged and appreciated.
Data format class makes HTML tables from specified SQL query (MS SQL, MySQL or PostgreSQL). If you need simply table you must specified only connection parameters, databases name, query statement, and you receive it. If you need more possibility you can format table head and footer, every row, column, cells, even and odd number rows. In addition this class offer sum, count, average, minimum and maximum value which you gets in footer part of the table. If you need use more options, you can define your own template and use it any time with different data. I enclose 2 example templates (you can use them as methods, they setting some options)
Allows you to adress and write an MS Access report directly into an email message. (saves attaching pesky rtf files making it easier for the reader. The code attached is what we use on a weekly basis and can be used as a template with your tables/queries
Manda emails masivos, en varios formatos con attachments.Exelente Programa (No Bugs)
English version of my Imenik application Connects VB and Access
This DHTML Dynamic Menu slides in from the sided. Using Javascript that is embedded in 2 ASP include files. The menu is Database driven.
This is a Dot Matrix Label I made for a new program I am developing. It supports color gradients for on and off dots to give it that 3D look. Also uses smoothing to make it look even better. Dot height and width along with the space between dots is customizable. To top it all off, the control is already double buffered, so it will never flicker. This is a great example of drawing and using a data matrix. It redraws quickly. This is my first VB.NET control, so any comments or improvements would be greatly appreciated. Enjoy!
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
Shows how to implement menus in your Win32 application
This example shows how to put your apps icon in the system tray and have a menu attached to it.
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\
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.
Cache the html output from an ASP page into the application scope and schedule a time to refresh it.
Exports a TreeView control (including ALL it's children) into a graphical representation with plain text.
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.
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.
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)
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.
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!