473,569 Members | 2,984 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 1315
Cor
Hi,

First of all start with sending things like this to the

microsoft.publi c.dotnet.langua ges.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.myadre s.myname. This you can also use for the
instructions from a namespace.
System.net.stri ng is a methode from System.Net
System.Net.form s.form is a class from System.net.Form s.
Microsoft.Visua lBasic.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.publi c.dotnet.langua ges.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
2135
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 send to the database a script file to run, as done by: "@FullPath\FileName" in SQL PLUS ? If not, then I need your help with something else: I tried...
13
1306
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 'About' screen info): Microsoft Visual Basic.Net Microsoft. Net Framework 1.1.4322 SP1
8
4467
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 Basic? When I search through Google it seems to me that most of the introduction think that Visual Basic is pre-installed. But I did not found a...
10
2094
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 #these are the operations + = , - = , * = , 1/ = only if 0 not in .
14
1567
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. I am still new in design and analysis, so any extra informations are greatly appreciated. Right now, it is the initial phase, planning. So I need...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3662
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
950
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.