Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

How to use the enter key in programs made with Visual Basic 5.0


  • Please log in to reply

#1
FCCAGut

FCCAGut

    Member

  • Member
  • PipPipPip
  • 141 posts
I worked with VB5 for about 7 months now and I'm trying to make a program and I can't figure out how to use the Enter key. If I just knew how to use the keyboard in programs made with VB5 then I could actually get somewhere with programming. Can someone help me?
  • 0

Advertisements


#2
stettybet0

stettybet0

    Trusted Tech

  • Technician
  • 2,579 posts
First, a question for you:

If you are trying to get somewhere with programming, why are you using such an outdated language? VB6 replaced VB5 in 1998 and VB.NET replaced VB6 in 2002. Microsoft no longer offers support for VB1 through VB5, and it plans to end support for VB6 in 2008.
  • 0

#3
Ctrl_Alt_Del

Ctrl_Alt_Del

    Member

  • Member
  • PipPip
  • 74 posts
Use the key down event to capture the enter key being pressed and then react to it.
  • 0

#4
FCCAGut

FCCAGut

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 141 posts

First, a question for you:

If you are trying to get somewhere with programming, why are you using such an outdated language? VB6 replaced VB5 in 1998 and VB.NET replaced VB6 in 2002. Microsoft no longer offers support for VB1 through VB5, and it plans to end support for VB6 in 2008.

It's practically the same thing does what I need it to do and it's all I could ever ask for.
  • 0

#5
stettybet0

stettybet0

    Trusted Tech

  • Technician
  • 2,579 posts
Well, if you by "trying to get somewhere", you mean get a job, then if you program in VB.NET you will be much more desirable. However, if this is just a hobby, then go ahead and use whatever you want. Unfortunately, I only have experience with VB.NET, so I cannot give much help here.
  • 0

#6
warriorscot

warriorscot

    Member 5k

  • Retired Staff
  • 8,889 posts
Even VB.net is old Orca is coming out, the problem you are going to have is compatibility in the future, also the newer suites are easier to use so you will save allot of time and hassle, if you are writing a program use the latest and best tools that are available to you thats not VB5 which is just making your life harder.
  • 0

#7
Ctrl_Alt_Del

Ctrl_Alt_Del

    Member

  • Member
  • PipPip
  • 74 posts
All that I can find on Orca is that it's an editor for creating and editing .net installer packages. Do you have a link with information on it being a new programming language/developement environment?
  • 0

#8
warriorscot

warriorscot

    Member 5k

  • Retired Staff
  • 8,889 posts
Its the replacement for visual studio 2005 now its actual name is visual studio 2008 its code name was orcas. If you are just playing with it(not paying for VB to make stand alone apps) then get express studio 2005 or 2008 beta 1(orcas).

All this info including the answer to your original question is located on the MSDN site its the first place to look for anything VB or C++.
  • 0

#9
stettybet0

stettybet0

    Trusted Tech

  • Technician
  • 2,579 posts

Even VB.net is old Orca is coming out, the problem you are going to have is compatibility in the future, also the newer suites are easier to use so you will save allot of time and hassle, if you are writing a program use the latest and best tools that are available to you thats not VB5 which is just making your life harder.


Orcas is just the latest version of VB.NET. It is built on .NET 3.5 compared to VB.NET 2005, which is built on .NET 2.0. It is still a VB.NET iteration though, so VB.NET is not old.
  • 0

#10
Rusty Bushes

Rusty Bushes

    New Member

  • Member
  • Pip
  • 1 posts
Ok, im a visual basic 6.0 programmer. Have updated from vb1-5 to 6.0 and havent wanted to update again. VB 6 does everything i need. for the enter key on the function the code would be as such.....

function_enterdown()
end sub

this should allow you to input any code into any function allowing the keyboard to accept enter commands.

now to map the entire keyboard you can create a .bas file that will allow for specific keyboard calls for funtions.

i have one but will not share (sorry took me 3 months to get the code perfect, will sell tho)
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP