Results for "Volume: ASP_Volume3"
I wrote this because I got tired of looking for a free control that works like this; most of the time I only find similar editor examples as full editor applications. I am not keeping any rights to this code and am presenting it as is. If you make any improvements or catch/fix any bugs please pass them along; I want this control to keep evolving to the best and finest of its kind. Also, please keep up the documentation in the code as you add to / make revisions. Please make sure you document what you changed / added so I can merge it into the master copy of the control that I'll be still working on. This control is designed to be a self-contained word processor / editor for RTF based files or memo fields (the file you are reading was written using the control). Some of the features that are included are.... Standard file operations (open, save, new, print, print preview, ...); any or all of these can be turned off according to properties Standard editing (copy, paste, find, replace, ...) Locking the contents for read-only Standard formatting options (font selection, text color, background color, bold, alignment, bullets, indents, ...) Inserting of images and date (by format / selection window) NEW: Added new property -- ToolbarsOnFocusOnly. This property will hide dynamically show/hide the toolbars of the editor depending on focus of the editor and the LockEditor property, All of the support windows are built within the class itself, so you need only include the class and a reference to the "RichTextBoxPrintCtrl.dll" (see below if you need this).  Thanks to Keith's comment below this DLL has been removed and replaced with a class, so everything is now included! This update corrects errors that appeared if Option Strict On was used. Know Bug: The only thing I have not been able to accomplish to date is a true right margin. I cannot figure out how to get the actual page width for the printable area. While this is not a show stopper, it is an annoyance.
This program demonstrates how you can take a table from a database (MS Access only in this demo) and convert all the records in that table into an HTML document for viewing in a web browser. With very little effort, you can add more HTML tags, more records, etc to have a really nice looking web page. I'm working on one that will use SQL statements to get certain information, instead of the whole thing. The code is well commented, and any questions can be directed to me
I looked for a way to format the date into dd/mm/yyyy server side. not much here so here is a one liner for those who need it.
It has three facilities: Phone book, Documents uploading/deleting facility, Sending emails. It needs a IIS(Internet Information Server) with CDONTS object.(..for email).
This code allows you to run ASP code from a web page. The code is then written to file, executed and deleted again. Could be usefull for administrative tasks, or even built in some online management system. Feedback and votes appriciated.
Ever wanted a quick-and-easy file association for your application? Sure you did! this is it and all in 4 functions: 1. Associate - Associate any file type with your app 2. Remove Association - quicly remove it 3. Backup Association - dumps an association to reg file 4. Restore Association - merege backup reg file/any reg file to the registry
Balloon Help Version 2 2 Methods of displaying Balloon Tip Help: 1. Uses EDITBALLOONTIP structure, EM_SHOWBALLOONTIP message and SendMessage to add balloon tip help to your textboxes 2. Uses ToolTip class to add balloon tip help to your other form controls (except ListViews, ListBoxs, TreeViews and RichTextBoxes)
Concatenating is not very efficient in VBS, especially when a large number of small string are concatenated. Here is how to speed it up
The purpose of this code is to provide any user with the ability to 'Format' various date & time related information as the user desires. This includes the usage of normal strings amongst the code.
This Script will go out to planetsourcecode.com and retrieve the newest submissions. It saves the data it got in a text file so we don't get the info every time the page loads. It will get the submissions from ALL Worlds on PSC. After it gathers the data it strips All the HTML from it. Then it will out put the submission in a table for easy display. See Screen Shot for Output. Ive Uploaded it in zip format now for eazy download.
MDB Code Generator What is it? This program generates code based on an access database. It creates snippets of code that are commonly needed in applications. The focus is on ASP code but many snippets will work in VB also. This is monotonous code and should not have to be written by brillant minds so i wrote an app to do the work for me....Real VB programmers don't write code they aquire it. Does it create applications? NO. It only creates poritons of code to assist in database developement. How do I use it? 1. Pick an Access database. 2. Choose a Table from the list or "All Tables" option. 3. Pick code type needed and fill in options. 4. Click "Generate Code" 5. Copy and Paste generated code as needed. What code does it make? Use it, look at the code and see for yourself. Basically it.... Creates Table Constants based on fields in tables (This is so you can use indexes rather than names which speeds performance.) Creates Varibles based on field names. Some people like to open a recordset, assign all fields to varibles then close the recordset and just use the varibles. Creates ASP Form Code. Just makes the assignment code (i.e. rs("fieldname") = Request.QueryString("fieldname")) Creates COM Interface code. Makes the assignement code as above, and the loading and saving code that you would have with a basic COM Interface. (i.e. objTable.fieldname = Request.QueryString("fieldname")) What is COM Interface? Take a VB class and come back later. Enjoy! Vote for me if you like. Give your feedback please, I can take it :)
The code creates SQL Statements on the fly. You don't have to sit and go thru that huge database creating a page long SQL statement. This little asp page allows you to select the DSN and the table name and it will generate the UPDATE / INSERT and DELETE statements for you. The other great thing this does is creat those request.querystring and request.form statements that you need to add if you are going to pass data from page to page. It does a trim on all fields and a replace for apostrophes, so the database does not throw an error. THE UPDATE AND DELETE REQUIRE YOU AD A WHERE CLAUSE. YOU WILL SEE THE TEXT WHERE CONDITION AFTER THEM. You can try it online at: http://www.biondocom.com/psc/dynamicsql/
I got tired of loosing phone numbers & addresses. So instead of downloading or using a address book type of program from MS I decided to make my own where I could put what I wanted in there with no limits
Login Example W/Encryption
What i did was Make the Code Much Shorter, Went from 25 Lines of Code, to 9 Lines of code.. ORIGINALY DONE BY: thuggish_187
This code demonstrate how to open a recordset from other page, which you can call (recordset page library). This is useful when you are calling recordsets in every page.
This is second version of my Chat-Gofrin. 1. Manual is big and I can't upload with code on PSC. 2. If you need manual(and I think that yes) then you can download it from my homepage www.volny.cz/gofrin I add some new function (smiles, admin page, now user can edit his login information and lot of other ...). I hope that you will like it. Gofrin
This is an exmaple of how to use xml as a guest book. Simple node creation and data insertion, then taking the nodes and outputing them to your guests. I've also added paging to only view 10 at a time. Its heavily commented and i try to give as much explanation as humanly possible. Please give comments, criticisms and quetions. I'm relatively new and need it.
This is a game i call stick man. Use to manuver the character and press SPACE to jump. when you are on the 2nd and 3rd floor and you wish to teleport you must use U to go up and J to go down. collect all the beers in time to reach the next level.
LabDev sBuilder is designed to automate the boring task of building a Form & ASP page to receive and process the values submited; Once stablished a Connection, it generates all the necessary ASP ode for you, to manage a particular table; It generates code for the Form, Request.QueryString & Request.Form, Sql Insert, Update & Delete, and Connection Obj/String :-)