Advertisement

Results for "Author: mrbobo"

ASP_Volume2 #26584
Bobo Modifying the System menu - easy

Adding items to the system menu can make your application look more professional. This is a very simple example of how to do it and be able to respond to clicks on that menu. No need to vote - this is in response to a question in the discussion forum.

ASP_Volume2 #26691
Bobo Templates

The use of Templates can dramatically reduce development time and time spent debugging. The repeated use of the same code means that over time, that code gets tested in many environments, and gets further refinement to produce robust code and bug free applications. This submission contains two small simple "Templates" that you are free to use. Using "ModCmnDlg.bas" means that you do not have to use MS Common Dialog Control (comdlg32.ocx) for the simple task of opening and saving files. Using "ModMRU.bas" enables the easy addition of recently used files to menus in a form. This can make your application easier for the user to use and gives a more professional feel to the application To those coders that have requested my Templates in the past - I am in the process of moving over to .NET and will release the more advanced ones over time, stay tuned !

ASP_Volume2 #26731
Bobo PlugIns for Beginners

A PlugIn is a dll/exe/script that is installed separately from an application that can perform tasks within that application. It should be able to pass objects freely between the application and the plugin. This is in response to a number of questions in the Discussion Forums - you know, the place no-one ever goes and questions never get answered !!

ASP_Volume2 #27713
Linked RichTextBox Scrolling Example

Demonstrates how to link the scrolling of 2 RichTextBoxes, so they scroll simultaneously without any lag time. This is in response to a question in the discussion forum.

ASP_Volume2 #27913
Bobo VB Code To HTML

The Richtextbox is a great tool for displaying text but it can be quite a task converting it's format for use on the web. This project is part of a Code Library application that I still use today. It has HTML saving options for publishing source code to web sites. It demonstrates manipulation of the Richtextbox control, string parsing routines and syntax highlighting. It will also format your code applying standard indentation, remove blank lines and truncate long lines neatly, making your code much more readable. You can then choose to save it back to disk as a VB file(retaining it's original header), an HTML file or as a rich text file(rtf). Like all code this old, I would do many of the functions quite differently nowadays, but there are still some handy techniques used here. I hope I didn't create too many bugs when I pulled it out of my Code Library app ! I have had quite a few emails of late enquiring as to when I'll upload some more submissions, so in response to those here is yet another Bobo submission !

ASP_Volume2 #30145
Bobo Pad

Advanced Find/Replace. Unlimited Undo/Redo. UPDATED - some minor bugs removed. Demonstrates getting file properties, obtaining document statistics, page setup, printing, file association, create shortcuts, date format, advanced selection options, wordwrap, using commondialog without MS control, controlling RichTextBox scrolling. Can open/save .rtf, .doc and any plain text. Includes a heavily modified version of Undo/Redo classes by Sebastian Thomschke - fully optimized for speed when handling large files. There are many examples of plain text editors here on PSC. I would not have submitted this upload unless I thought it was a significant improvement upon existing submissions. This one is definately better than Notepad. Having submitted Bobo RegEdit(RegEdit.exe replacement), and Bobo Image Workshop(more than a Paint replacement), I thought I might as well upload this. Behaves just like Notepad without filesize restrictions (Rich Text Box) but edits entirely in plain text format. Thankyou all for reporting the bugs you found - zip file updated minus those bugs.

ASP_Volume2 #30146
CommonDialog with Recent File Tab

Adds a touch of professionalism to your project. Just like VB IDE. One tab has the common dialog, the other tab shows recent files, their path and their icon in a listview. Can obviously be adapted to show images, provide different settings and options to the user as to how they wish to open a file. Included : Standard EXE project, UserControl Project and test project, OCX Project and a test project for the OCX. Demonstrates saving/loading listview to registry, getting file icons for use in a listview, how to build your own commondialog controls, controlling other apps windows.

ASP_Volume2 #30151
Changing Forms Read Only Properties at Runtime

This submission is prompted by a question in Ask a Pro. Allows you to change some readonly properties at runtime.

ASP_Volume2 #30190
Testing Installations and Installing Windows in Under 5 Minutes.

Need to test installs on different operating systems? Need a new operating system fast? Infected by virus?...Read this - it may help.

ASP_Volume2 #30243
API for beginners made easy

API for beginners made easy. Yet another submission for beginners. The API is sometimes avoided when first starting VB programming because it seems too difficult. In fact it's quite easy, just experiment. I've tried to split the code up to into various modules to make it clearer to undertand. Vb controls sometimes lack some properties we as programmers need. The API can be used to return those properties to us. In addition API gives us access to built in dialogs and other functions not otherwise available through VB. This demo covers only a few of the more common API functions, there are hundreds and hundreds of others! Modify VB Controls: Listview Flat Column headers, Treeview no tooltips, Progress bar change back/forecolor, Textbox - lower/uppercase and numbers only, Command button - thick edge, flat, hover. Dialogs: Open, Save, Browse for Folder, Printer, PageSetup, Color, Font, Add to Favorites, Organize Favorites, Import/Export Favorites, About. Functions: GUID Generator, Unique Temp filename, IE Version, Keycode giver, Hard Disk info, Common Paths, Long filename, Short filename, FileExists, Binary open/save String Parsing: Pathonly, Fileonly, ExtensionOnly, ChangeExtension, Unique filename, File size, Trim null characters. I recommend you visit www.allapi.net for excellent downloads regarding the API - but be quick, I understand the site is closing soon.

ASP_Volume2 #30922
Rich Text Tag Editing Demo

This demo shows some of the capabilities of editing RichTextBox tags to achieve very fast global formatting. Great for Syntax Highlighting etc.

ASP_Volume2 #30927
Simple Painter

This demo shows in the simplest possible code, the basics of image editing. It is intended for the novice but others may find it useful in optimising or simplifying their code. Whilst it is in no way a full blown editor, it may provide a basis from which to learn. If you want an example of a more advanced image editor I suggest you look at "Bobo Image Workshop" which is found at: http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=21482&lngWId=1

ASP_Volume2 #31420
Bobo Code Formatter

Even if your own code is very tidy, when you download other peoples code it can sometimes be nearly unreadable because of the formatting or an overuse of comments. The aim of this project is to quickly provide standard indenting, remove blank lines and optionally comments from VB source code. I hope you find it useful.

ASP_Volume2 #31432
PSC Monitor - Now downloads in a separate thread for increased speed and stability

Are you addicted to PSC? Does visiting PSC actually get in the way of your coding? This may help. It checks for new submissions and new votes on your submissions. Now updated to include new comments notification and viewing all comments. It also provides links to the most common pages you use, all in a popup menu in the system tray. Demonstrates downloading using API, disabling right-click menu in web browsers, string parsing, system tray management, internet connection state, handing multiple settings using the registry. UPDATE: The original version of this PSC Monitor used API to download the source code of a selected PSC web page and parsed this source code for specific data. It did this job well, but the application was unresponsive whilst downloading was taking place. To overcome this problem it now uses a separate tiny exe file (BBdowner.exe - source code included) to download the data in a separate thread, thus allowing for multiple tasks being carried out simultaneously and allowing the app to be reponsive even during downloading. I hope you appreciate the increased stability and speed. Before running PSC Monitor, compile BBdowner.exe and place in the same folder as PSCMonitor.exe, thats all - easy!

ASP_Volume2 #32013
Disable all or parts of the Taskbar

The name says it all. No need to vote. This is in response to a question in the "Ask A Pro" section. Added Hide/Show as requested.

ASP_Volume2 #32956
More WebBrowser Tricks

Another addition to my WebBrowser tricks. This one shows how to access SHDOCVW.dll so that with one line of code you can 1.Bring up Internet Explorers' Add to Favorites Dialog 2.Convert Netscape Bookmarks to Favorites 3.Convert Favorites to a Netscape Bookmark file. 4.Download files without IE throwing up its' dialog. Also I threw a couple of simple Windows based procedures... 1.Show Windows File Property Dialog 2.Show Windows Find file Dialog 3.A method of hiding the Cursor system wide.

ASP_Volume2 #33417
File String Search

Search a directory for files containing a specified string and return a list of such files. Once again, I've uploaded this in response to a quetion posted in the Discussion Forum.

ASP_Volume2 #33431
WebBrowser Tricks

This Example Application Demonstates : Enable/Disable Forward and back Buttons, Standard Navigation Buttons, Cut/Copy/Paste/SelectAll edit functions, Auto-Complete Address Box, Saving and Loading MRUs, Avoiding duplicates in Combo/List boxes, The 'about:' Navigation method, Opening and Saving Web Pages, Using Explorers' Find File or Folder Dialog, Finding text on current page, Sizing text on Web pages, Showing a progress guage, Showing Status text, Creating HTML pages at runtime. If I get some interest via the way of votes I'll put up some more

ASP_Volume2 #33725
Saving/Loading a listview Example

Shows how to add items to a listview and then save those items to either an INI file or to Registry. Once saved you can then load the data back into the listview.

ASP_Volume2 #34137
The RichTextBox Control

I keep reading requests for RichtextBox code on PSC so I decided to upload one of my templates with a few added features. Nothing that special here really - basic RichtextBox functioality. The RichtextBox is pretty good at what it does though ! This example demonstrates : Find and Replace, Infinite Undo/Redo, Using .tmp files, HighLighting selected words, Inserting Images, Inserting text at a set location with different Fonts, Common Editing Functions, Shrinking a path to a desired length, Creating your own light-weight Wizard. This is not meant to be a complete application merely a demonstation of some techniques. All error messages and bugs are provided entirely free of charge. Feel free to use any of the code or errors as you wish - MS wrote the control - I've just shown how you might use it. It's capable of more than I've shown here.

Languages
Top Categories
Global Discovery