473,508 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1310
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
2124
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
1302
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
4460
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
2087
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
1554
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
7224
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
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.