Advertisement

Results for "Author: found on the world wide web"

ASP_Volume3 #44446
Get the name of a control at runtime

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

ASP_Volume3 #44447
Getting a Reference to a VB 5.0 UserControl

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

ASP_Volume3 #44448
Full example of Drag and Drop within a application

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

ASP_Volume3 #44449
Clear all textboxes on a form at run-time

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

ASP_Volume3 #44450
How to use the common dialog control

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

ASP_Volume3 #44451
AssociateFileType

Associate a file type with a program in windows95.

ASP_Volume3 #44452
Phone Dialer in VB

Phone Dialer in VB for windows 95. 'thanks to Andre Obelink 'De Visual Basic Groep 'http://www.plus.nl/vbg/

ASP_Volume3 #44453
Play .WAV (example 1)

Check if soundcard exist and then play a wave-file. http://137.56.41.168:2080/VisualBasicSource/vb4playwav.txt

ASP_Volume3 #44454
StayOnTop

Keep a form always on top (topmost floating form) in windows 95. Albetski, Allan"

ASP_Volume3 #44455
Use of the Toolbar Control

Short tutorial on how to use the toolbar in VB4/5 32 bit. http://137.56.41.168:2080/VisualBasicSource/vb4toolbar.txt

ASP_Volume3 #44456
Common Dialog

Use commondialog control without ocx ! http://137.56.41.168:2080/VisualBasicSource/vb5commondialognoocx.txt

ASP_Volume3 #44457
DegreesToXYsubroutine

The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse.

ASP_Volume3 #44458
Win95DirectoryPrompt

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:

ASP_Volume3 #44459
Add32Font, Add16Font,AddNTFont

How to install a font in WIN16/WIN32

ASP_Volume3 #44460
TaskManager

Here's a simple application to function like the Windows Task Manager...

ASP_Volume3 #44461
How to prevent a second instance and take its parameters

Theodoros Bebekis bebekis@mail.otenet.gr (Delphi 2.0 -Delphi 3.0 - Delphi 4.0)

ASP_Volume3 #44462
Tetris

Here is a Freeware version of the Tetris game. Full Source Code - Its very good.

ASP_Volume3 #44463
TWebFileInfo retrieves information about a product that is on the product's home page

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)

ASP_Volume3 #44464
IDE Peek Expert

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.

ASP_Volume3 #46807
Beginners C++ - Lesson 1

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/

Languages
Top Categories
Global Discovery