Welcome Guest ( Log In | Register )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Spyware, virus, trojan, fake security or privacy alerts? Read the malware cleaning guide.
      
 
Reply to this topicStart new topic
How to use the enter key in programs made with Visual Basic 5.0
FCCAGut
post Jun 27 2007, 08:30 AM
Post #1


Member
***
Posts: 101
OS: Windows XP Home Edition (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.050301-1519)



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?
Go to the top of the page
 
+Quote Post
stettybet0
post Jun 29 2007, 10:03 AM
Post #2


Tech Apprentice
Group Icon
Posts: 1,726
OS: Vista Ultimate SP1 x64, XP Pro SP2



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.
Go to the top of the page
 
+Quote Post
Ctrl_Alt_Del
post Jun 29 2007, 01:57 PM
Post #3


Geek In Training
**
Posts: 70
OS: Windows XP



Use the key down event to capture the enter key being pressed and then react to it.
Go to the top of the page
 
+Quote Post
FCCAGut
post Jun 30 2007, 02:30 PM
Post #4


Member
***
Posts: 101
OS: Windows XP Home Edition (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.050301-1519)



QUOTE(stettybet0 @ Jun 29 2007, 11:03 AM) [snapback]997669[/snapback]
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.
Go to the top of the page
 
+Quote Post
stettybet0
post Jun 30 2007, 02:33 PM
Post #5


Tech Apprentice
Group Icon
Posts: 1,726
OS: Vista Ultimate SP1 x64, XP Pro SP2



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.
Go to the top of the page
 
+Quote Post
warriorscot
post Jul 1 2007, 04:44 AM
Post #6


Member 5k
Group Icon
Posts: 8,722
From: Scotland, UK
OS: XP Home & Pro, Win2000, Ubuntu 6.10, Vista RC2



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.
Go to the top of the page
 
+Quote Post
Ctrl_Alt_Del
post Jul 1 2007, 08:01 AM
Post #7


Geek In Training
**
Posts: 70
OS: Windows XP



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?
Go to the top of the page
 
+Quote Post
warriorscot
post Jul 1 2007, 12:45 PM
Post #8


Member 5k
Group Icon
Posts: 8,722
From: Scotland, UK
OS: XP Home & Pro, Win2000, Ubuntu 6.10, Vista RC2



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++.
Go to the top of the page
 
+Quote Post
stettybet0
post Jul 1 2007, 01:11 PM
Post #9


Tech Apprentice
Group Icon
Posts: 1,726
OS: Vista Ultimate SP1 x64, XP Pro SP2



QUOTE(warriorscot @ Jul 1 2007, 06:44 AM) [snapback]998707[/snapback]
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.
Go to the top of the page
 
+Quote Post
Rusty Bushes
post Jan 28 2008, 03:16 PM
Post #10


New Member
*
Posts: 1
OS: Windows XP



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)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Time is now: 24th July 2008 - 07:45 PM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.