martin2k

Home | Forums | Visual Basic 6.0 | Games | Web Directory | Software | HTML | Wiki | Blog | Contact

VB6 Phone Dialer


Home Read and add posts to the Visual Basic 6.0 Forums Download some of my programs and OCXs Read the Tips here The old style forum is still available here Contact

Back


From: Nathan Ahring E-mail: nathanahring@hotmail.com 1

Date: Friday, March 9, 2001 at 00:34:55

Subject: VB6 Phone Dialer

Comments:

I'm trying to figure out how to create a phone dialer using Visual Basic 6.0, but I've run into a problem. When I press my "1" or "cmdKey1" it displays it in the text box, or "txtDisplay" and when I press another command button to enter in a telephone number, it simply replaces the number that was previously in the text box. I'm sure it's a "Dim" statement, but I'm not sure exactly how to do that. Any help would be very appreciated, thank you!

From: Martin Allen E-mail: <No e-mail> 2

Date: Saturday, March 10, 2001 at 20:13:00

Subject: RE: VB6 Phone Dialer

Comments:

The solution is quite simple.

At the moment you probably have code similar to this to put the text into txtDisplay:

txtDisplay.Text = 1

The correct code is:

txtDisplay.Text = txtDisplay.Text & 1

This tells txtDisplay to put in the text that is already there and a '1' next to it.

From: s.prasanna E-mail: cos12@rediffmail.com 3

Date: Monday, April 29, 2002 at 06:30:08

Subject: RE: VB6 Phone Dialer

Comments:

good

From: Otniel E-mail: otniel@eltico.sytes.net 4

Date: Monday, April 29, 2002 at 06:30:08

Website: eltico.sytes.net

Subject: RE: VB6 Phone Dialer

Comments:

When Working with variables the right answer would be something like this.... txtdisplay.text = txtdisplay.text + (VariableName)


This forum is no longer taking new messages or replies since 01 November 2002.  The above material is for reference purposes only.

The new Visual Basic 6.0 forum can be found here.


Martin Allen 1999 - 2003.  Last updated Monday 07 April 2003 07:46:42 PM +0100.