Results for "Author: found on the world wide web"
I've recently taken over a project from someone else, and I've been left with code that has few naming conventions and a lot of bugs. I often find myself stepping through code wanting to check the value of a field. Unfortunately, I don't know the field's name-it could be Name, UserName, NameUser, txtName, and so on. It's a real pain to stop the program, click on the control in question, press [F4], get the control name, start the program again, and return to the point in the code where I was before. Here's a handy trick to get the control name right away. by Jeff Brown; Jeff.Brown@piog.com; Pioneering Management Corporation
Visual Basic 5.0 allows you to use UserControls to create ActiveX controls in your projects. The following code snippet does two things: It gets a reference to the form in which a UserControl is placed, and it gets a reference to that control on the form. by David Mendlen
Suppose you have a listbox with some elements and want to drag&drop a selected one into a textbox. http://137.56.41.168:2080/VisualBasicSource/vbdraganddrop.txt
handy code for clearing all text box controls at run-time so you don't have to bother doing it at design time. http://137.56.41.168:2080/VisualBasicSource/vbworkingwithtextbox.txt
Use of 3 types of common dialog boxes:1: choose printer, 2: choose font, 3: choose color. http://137.56.41.168:2080/VisualBasicSource/vb4usecommondialog.txt
Associate a file type with a program in windows95.
Phone Dialer in VB for windows 95. 'thanks to Andre Obelink 'De Visual Basic Groep 'http://www.plus.nl/vbg/
Check if soundcard exist and then play a wave-file. http://137.56.41.168:2080/VisualBasicSource/vb4playwav.txt
Keep a form always on top (topmost floating form) in windows 95. Albetski, Allan"
Short tutorial on how to use the toolbar in VB4/5 32 bit. http://137.56.41.168:2080/VisualBasicSource/vb4toolbar.txt
Use commondialog control without ocx ! http://137.56.41.168:2080/VisualBasicSource/vb5commondialognoocx.txt
The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse.
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:
How to install a font in WIN16/WIN32
Here's a simple application to function like the Windows Task Manager...
Theodoros Bebekis bebekis@mail.otenet.gr (Delphi 2.0 -Delphi 3.0 - Delphi 4.0)
Here is a Freeware version of the Tetris game. Full Source Code - Its very good.
TWebFileInfo retrieves information about a product that is on the product's home page. It can be used in your application to determine if a newer version of the product exists on the home page. If a newer version is available, TWebFileInfo can download a file via HTTP and run the update. By Jon M. Robertson (JonRobertson@pobox.com)
There are a variety of very dirty, and undoubtably illegal, things you can do with Delphi Experts if you know the names of the controls in the Delphi IDE. This expert examines the Delphi interface starting with Application for the components it contains. It does this by recursively iterating through the component arrays. Because not all components are simultaneously present, dialog boxes for example are only created when required, the expert puts a hook into the IDE which monitors WM_PARENTNOTIFY for WM_CREATE messages. When it sees one it knows something may have been added to the IDE so re-searchs the component arrays. The main interface for this expert a treeview which shows the heiracry of the IDE controls starting with Application. A memo box shows the available RTTI on a component when clicked on. By Grahame Marsh.
Welcome fellow programmers!! This is part one of the course which will show you the basics of programming C++ from scratch using the any platform. If you already know how to use the C++ already, you might want to read later lessons when available. So, lets begin. Found at http://pa.pulze.com/