Help - Search - Members - Calendar
Full Version: Visual Basic6 Programming Language
BleepingComputer.com > Software > Programming
   
extremeboy
Hi,

I want to learn VB6 I'm going to get the program but I wanted to ask if there is any links realted to VB6 programming Language, I have some books on how to create programs but I want some sites that can tell me VB6's Programming language.
Just want to learn the language first.

Any inputs will be apprecitated.
Thanks smile.gif

Regards,
Extremeboy
nigglesnush85
Hello extremeboy,

http://visualbasic.about.com/lr/visual_basic_6/122574/1/ => learn about the language
http://visualbasic.freetutes.com/learn-vb6/ => tutorials
http://www.google.com/codesearch => look at code samples
http://www.youtube.com/results?search_quer...mp;search_type= => video tutorials
extremeboy
Hi,
Thanks for those links but,
QUOTE

I couldn't find much articles on the language of VB6 any other recomendations??

Thanks smile.gif

Regards,
Extremeboy
Axephilic
I know VB6, and let me tell you.. I don't recommend learning it. If anything, learn VB .NET. You will have a real fun time with bugs with VB6 and compatibility issues to no end. I also recommend learning C++, it is an awesome language to know.

http://msdn.microsoft.com/en-us/beginner/bb308774.aspx
http://www.cprogramming.com/tutorial/lesson1.html

Regards,
Adam
nigglesnush85
QUOTE(extremeboy @ Aug 16 2008, 03:07 AM) *
Hi,
Thanks for those links but,
QUOTE

I couldn't find much articles on the language of VB6 any other recomendations??

Thanks smile.gif

Regards,
Extremeboy


That link was just to give you an outline of the language, there are some articles there on VB6 not that much on coding, thats what the other links were for.
extremeboy
QUOTE(Axephilic @ Aug 16 2008, 01:46 AM) *
I know VB6, and let me tell you.. I don't recommend learning it. If anything, learn VB .NET. You will have a real fun time with bugs with VB6 and compatibility issues to no end. I also recommend learning C++, it is an awesome language to know.

http://msdn.microsoft.com/en-us/beginner/bb308774.aspx
http://www.cprogramming.com/tutorial/lesson1.html

Regards,
Adam

I know that VB.net is more simple than VB6 but I don't have that program as I only have VB6. C++ takes a longer time to learn and I think its alot more difficult then VB, and takes more effort learning it.

What bugs are there with VB6? Haven't encoutered any bugs yet?

Thanks for the advice Adam smile.gif

@nigglesnush85
I see, I'll do some more research and see if I can get a page where it lists all the language.

Thanks for the help.

Regards,
Extremeboy
nigglesnush85
No problem, glad to help, Just a side note, Amazon has some good books on the subject. http://www.amazon.com/gp/richpub/syltguide...w/2JQTAK4LXT9DD
extremeboy
One question, if anyone knows.
For squareroot in C++ is sqrt is it the same for VB??I tried it today it always gives this error message about subs??
Not sure why? So is it the same or not..Couldn't find much on the language so far. Learned some basic commands so far.
Those links were pretty good, I created a few programs already, looks great smile.gif

Regards,
Extremeboy
Axephilic
QUOTE(extremeboy @ Aug 16 2008, 09:54 AM) *
I know that VB.net is more simple than VB6 but I don't have that program as I only have VB6. C++ takes a longer time to learn and I think its alot more difficult then VB, and takes more effort learning it.

What bugs are there with VB6? Haven't encoutered any bugs yet?

With VB6, if you start releasing software, you will find that a lot of people will not be able to use it. This will be due to different errors, because people don't have fm20.dll (I think that's the dll it was) and some other error messages unless they are on Win 98. You could create an installer that would put those files there but it would probably double, even triple your workload. I gave up on it and started using VB .NET. You can make software for free with the express version, and it works just fine. I don't even see the need to upgrade to Standard or Professional yet. It does what I need it to.

You can get the express versions of Visual Studio 2008 here. Only downside I have found is they need to have .NET Framework 3.0 installed.


QUOTE(extremeboy @ Aug 16 2008, 05:58 PM) *
One question, if anyone knows.
For squareroot in C++ is sqrt is it the same for VB??I tried it today it always gives this error message about subs??
Not sure why? So is it the same or not..Couldn't find much on the language so far. Learned some basic commands so far.
Those links were pretty good, I created a few programs already, looks great smile.gif


For square rooting with VB6, you would just raise it to the power of 1/2, there is no actual function that I know of for it.

CODE
Dim sqrt As Integer
sqrt = 8
sqrt = sqrt ^ (1 / 2)


Regards,
Adam
Keithuk
QUOTE(extremeboy @ Aug 16 2008, 03:07 AM) *
I couldn't find much articles on the language of VB6 any other recomendations??

I know the original VB is 18 years old now and I've been using it for 12 but you won't get me changing to VB.Net. I'm in 40 VB forums so you must have been searching for the wrong things. Check and join my VB forum in signature.

QUOTE(Axephilic @ Aug 16 2008, 06:46 AM) *
You will have a real fun time with bugs with VB6 and compatibility issues to no end. I also recommend learning C++, it is an awesome language to know.

With VB6, if you start releasing software, you will find that a lot of people will not be able to use it. This will be due to different errors, because people don't have fm20.dll (I think that's the dll it was) and some other error messages unless they are on Win 98.

There are no bugs in VB6 that you can't overcome. I tried VC++ before I tried VB and it was a terrible language to learn compared with Basic.

There is no problem installing your application if you use the correct installer and I don't mean P & D Wizard that comes with VB, check out Inno Setup.

Fm20.dll is a dll that is used for additional controls and according the M$ you aren't allowed to redistribute it but there other controls you can use to do the same job.

QUOTE(extremeboy @ Aug 16 2008, 03:54 PM) *
I know that VB.net is more simple than VB6 but I don't have that program as I only have VB6.

What bugs are there with VB6? Haven't encoutered any bugs yet?

VB.Net is not simple compared with VB6.

No I haven't either.

QUOTE(extremeboy @ Aug 16 2008, 11:58 PM) *
One question, if anyone knows.
For squareroot in C++ is sqrt is it the same for VB??

VB has its own Sgr function. dry.gif

CODE
MsgBox Sqr(7)
extremeboy
Thanks everyone smile.gif
QUOTE
Dim sqrt As Integer
sqrt = 8
sqrt = sqrt ^ (1 / 2)

So it is sqrt. Didn't work when I tried it. Also setting sqrt as a variable doesn't work with my VB...

@Kethuik
QUOTE
VB.Net is not simple compared with VB6.

It seems its a personal question. I think its simpler as I have read some books on it and also tried it a couple of times at my friends PC.
Thanks for the help, it worked smile.gif
Back to programming again.

Thanks to all.

Regards,
Extremeboy
Keithuk
QUOTE(extremeboy @ Aug 17 2008, 07:22 PM) *
Dim sqrt As Integer
sqrt = 8
sqrt = sqrt ^ (1 / 2)
Didn't work when I tried it. Also setting sqrt as a variable doesn't work with my VB...

No it isn't sqrt read again. VB has its own Sgr function.
CODE
MsgBox Sqr(7)

'Or
Dim sqrt As Single 'because it can be a decimal number

sqrt = Sqr(Yournumber)

QUOTE(extremeboy @ Aug 17 2008, 07:22 PM) *
It seems its a personal question. I think its simpler as I have read some books on it and also tried it a couple of times at my friends PC.

Well if your happy with VB.Net then go for it. I think the free M$ version of Visual basic 2008 has a 90 day time limit to try it. dry.gif
groovicus
The express edition is free. smile.gif

http://www.microsoft.com/express/vb/
Keithuk
QUOTE(groovicus @ Aug 17 2008, 09:34 PM) *
The express edition is free. smile.gif

Yes I know its free to download groovicus but I'm told on other VB forums it has a 90 trial period I don't know if its true. I downloaded it but I haven't found a way of burning it to CD's yet, I've talked about this problem before. dry.gif
nigglesnush85
I've been using all the express versions from that site for a while now, longer than 90 days. I have never seen any trial limit.
extremeboy
Hi,
QUOTE
No it isn't sqrt read again. VB has its own Sgr function.

That's what I ment...sorry spelling error... It works now.
I have VB6 already so I don't need to download VB 2008 trial I think its pretty good.

Thanks smile.gif
Keithuk
QUOTE(extremeboy @ Aug 18 2008, 12:08 AM) *
I have VB6 already so I don't need to download VB 2008 trial I think its pretty good.

So all you need to do is join a good VB forum. As I said earlier join mine (read signature) and I have links to well over a 100 VB sites and forums. dry.gif
extremeboy
Thanks for the suggustion and help, I'll join and see if I can learn anything new smile.gif

Regards,
Extremeboy
Romeo29
Why learn VB6? VB6 support ended in April 2004. VB6 does not support newer operating systems than Windows 2000. It doesnt support even Windows XP. You can do things with VB6 but they require lots of work-arounds, lots of code.

I suggest you to learn VB.net instead. It is supported by Microsoft. It is FREE. You can download express editions from Microsoft. You can use sharpdevelop opensource which supports C#, VB.NET, Boo, F# and IronPython (You dont need professional Visual Basic.Net).

VB.net supports all newer MS operating systems. It can be used even on linux.

SharpDevelop
tossy
The following links have information on Visual Basic6 Programming Language articles, info. links, groups, etc.. hope these could help you.
http://www.programmersheaven.com/tags/Visu.../Forum%20Posts/
http://www.programmingtutorials.com/
http://dir.yahoo.com/Computers_and_Interne...s/Visual_Basic/

Keithuk
QUOTE(Romeo29 @ Aug 19 2008, 04:33 AM) *
VB6 does not support newer operating systems than Windows 2000. It doesnt support even Windows XP. You can do things with VB6 but they require lots of work-arounds, lots of code.

You obviously don't use it then or your using it wrong. VB6 supports every Windows operating system without any problem. I've made apps for 2000, XP and Vista. dry.gif
Romeo29
QUOTE(Keithuk @ Aug 19 2008, 05:14 AM) *
QUOTE(Romeo29 @ Aug 19 2008, 04:33 AM) *
VB6 does not support newer operating systems than Windows 2000. It doesnt support even Windows XP. You can do things with VB6 but they require lots of work-arounds, lots of code.

You obviously don't use it then or your using it wrong. VB6 supports every Windows operating system without any problem. I've made apps for 2000, XP and Vista. dry.gif



I have used VB6 for years, starting back in 1999. You are reading wrong buddy. I said VB6 does not officially support systems later than Win2000. You can use workarounds adding huge amount of code and make apps for XP and Vista. While same can be done with few lines in .NET or other C family languages. Even MSDN library later than 2002 edition cannot be integrated with VB6. Although you can use it separately.

I stopped using VB6 in 2004 when MS ended official support. Even great websites like vbaccelerator.com started gearing towards .net, I realised its time to move on to .net.
Keithuk
QUOTE(Romeo29 @ Aug 19 2008, 04:33 AM) *
VB6 does not support newer operating systems than Windows 2000. It doesnt support even Windows XP. You can do things with VB6 but they require lots of work-arounds, lots of code.


QUOTE(Romeo29 @ Sep 1 2008, 12:38 AM) *
I have used VB6 for years, starting back in 1999. You are reading wrong buddy. I said VB6 does not officially support systems later than Win2000. You can use workarounds adding huge amount of code and make apps for XP and Vista. While same can be done with few lines in .NET or other C family languages. Even MSDN library later than 2002 edition cannot be integrated with VB6. Although you can use it separately.


I'm just reading it how its written Romeo. WinNT system does support VB6 as I've said, I've made apps for 2k\XP and Vista and they all work without any modifications. They aren't just simple VB apps they are large database apps. dry.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.