473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Need help transistion from Procedural to Visual Basic.Net

I am attempting to learn how to program in VisualBasic.Net after many
years as a Cobol programmer. I've done some simple things in
VisualBasic.net and have a good understainding of SQL, but I still
have trouble with the concept of Objects and how to use the code
sharing features of VisualBasic. Can anyone suggest a method of
training that works well with older Cobol programmers?

Thanks.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 22 '05 #1
1 1302
Cor
Hi,

First of all start with sending things like this to the

microsoft.public.dotnet.languages.vb newsgroup

Than some of my short advices just to change your way of thinking if there
are little errors, just ment as the way to go not all syntax is right I
think.

Forgot all you did learn about a "working storage section" try to use it
never anymore. WS is called making things global.

Are not afraid to create memory everywhere, when a function is done it wil
when it is not "static" or "shared" everytime be removed.

If you are a good Cobol programmer you did already not, but try to avoid
everything that looks like a goto, exits etc (it is not bad, but it helps
you on the good route although it is not real only OO)

When you see something that repeats, try to make reusable class from it
(routines in Cobol).
After a while you use it to inherit from it to make it more specific or give
it overloaded methods.

A simple thing to remember that a (non shared) class is a template, you
always have to make a New object from it.

Instead of the cobol sentence myname in myadres in myrecord you say in OO
languages myrecord.myadres.myname. This you can also use for the
instructions from a namespace.
System.net.string is a methode from System.Net
System.Net.forms.form is a class from System.net.Forms.
Microsoft.VisualBasic.Mid is a function from VisualBasic

This is not complete, just what came now first in my mind.

But as I mentioned, visit the newsgroup

Microsoft.public.dotnet.languages.vb there are a lot of people who wants to
help you there.

I hope this helps?

And merry christmas

Cor
I am attempting to learn how to program in VisualBasic.Net after many
years as a Cobol programmer. I've done some simple things in
VisualBasic.net and have a good understainding of SQL, but I still
have trouble with the concept of Objects and how to use the code
sharing features of VisualBasic. Can anyone suggest a method of
training that works well with older Cobol programmers?

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tom Rahav | last post by:
Hello all! I develop application in Visual Basic .NET and ORACLE database. My question is how do I "send" script file to the database using visual basic .net. Other words, is there any way to...
13
by: jbraly | last post by:
I am BY NO MEANS a developer or a programmer... I just do tech purchases for a school system. A teacher wants about 20 licensse for the following program (He said he got this info from the...
8
by: Frank Callone | last post by:
Until now I programmed a lot with C++ and Java. Now I want (have) to do some programming with Visual Basic. Which software do I need for this ? Which is the best GUI development tool for Visual...
10
by: CuTe_Engineer | last post by:
hii, i have cs assignment i tried to solve it but i still have many errors , plzz help mee :"< it`s not cheating becuz i`ve tried & wrote the prog. i just wanna you to show me my mistakes ...
14
by: Leah | last post by:
I am a student and are required to build a website that provide services (client-server). I need advice in choosing approach or to be exact the methodology that appropriate for such development....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.