Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Visual Basic (https://www.warriorforum.com/programming/151152-visual-basic.html)

desertofwater 2nd December 2009 08:40 AM

Visual Basic
 
Hello guys, my name is Raakam (Really) and im a major, and im taking programming. Now I am trying to write a program for class. The program is supposed to tell you when assignments are due and what time to do them, with a friendly user interface but i don't know where to start. Could some one help me?

ereadergold 2nd December 2009 09:06 AM

Re: Visual Basic
 
What aspect do you need help with? As you are in a programming class couldn't you enlist the help of one of your professors?

Basically you start by defining the problem that your program will solve. Consider what features you will need, and then design an interface for it - as you are using VB that part is easy. Then write the code to provide functionality for all the objects in your user interface.

Good luck

Bill

TrafficMystic 2nd December 2009 03:12 PM

Re: Visual Basic
 
yeah bill is right.. basically create a list of your requirements and section them off into logical groups.. then you need to define the inputs and outputs of each logical group and interaction between them..

from there break down your groups and define any functionality they are to have and from there you can define any objects you want to create (which would become a class)..

ie.. you would have an assignment object which may have the properties
- assignment id
- assignment name
- assignment description
- assignment due date
- assignment author (linked to an author obejct)

Author:
- author id
- author first name
- etc

in you screen you may have a drop down box of authors or a list of assignments. Click on an item and it will be displayed -> get id -> goto your database and read the table (maybe via a stored proc or direct sql) -> fill your object up and display...

This should give you some idea..

basically though dont jump into coding without first defining what you need to do and how you will do it..

steve

Steve Wells 2nd December 2009 04:02 PM

Re: Visual Basic
 
When do you think VB will be outdated? Will it always be supported? If not what will replace it VB.net? Is it wise to learn VB6?

I am not a mathmatics guru but have heard that VB6 is one of the simpliest to learn, I am planning on learning PHP programming soon, it seems to be pretty easy, just coding with alot of memory of syntax and commands, am I right? Much like a more complicated HTML language.

da1fitz 2nd December 2009 05:28 PM

Re: Visual Basic
 
Quote:

Originally Posted by EWGQDD (Post 1452395)
When do you think VB will be outdated? Will it always be supported? If not what will replace it VB.net? Is it wise to learn VB6?

I am not a mathmatics guru but have heard that VB6 is one of the simpliest to learn, I am planning on learning PHP programming soon, it seems to be pretty easy, just coding with alot of memory of syntax and commands, am I right? Much like a more complicated HTML language.

(1) Don't ever presume that you have unlimited memory resources when programing in any language, and (2) I doubt very much that vb will be outdated in the near future.
That said learning php and almost definitely java seriously won't hurt your future career aspirations :)

Johnny12345 2nd December 2009 06:10 PM

Re: Visual Basic
 
Quote:

Originally Posted by EWGQDD (Post 1452395)
When do you think VB will be outdated? Will it always be supported? If not what will replace it VB.net? Is it wise to learn VB6?

There is no way I would waste my time learning a dead language like VB6 -- especially when VB.NET is better in so many ways. The Dot NET framework has lots of pre-written classes (code you can use) and better database support... among many other things.

And VB.NET isn't difficult to learn. Download the "Express" version from Microsoft (it's FREE) and then buy a basic, beginner's book on it (avoid the books from Deitel and WROX). My best advice? Go to a bookstore and scan through some VB.NET books until you find one that "clicks" for you.

VB.NET is a great programming language -- and it's very readable (as opposed to some that are highly cryptic... like C++). And once you know a bit about VB.NET, you can easily learn to start using ASP.NET for web pages, as well. It's like learning two languages in one.

Plus... VB.NET is fun. :)

Johnny

techgirl 3rd December 2009 11:18 AM

Re: Visual Basic
 
What type of application you are developing? If you are developing simple database application it would be easy

VisualWebEffects 3rd December 2009 12:51 PM

Re: Visual Basic
 
VB is a great language. Easy to learn and quite powerful.

If I were you i would start by designing your database schema. For a database i would recommend using XML/XSLT. Visual Studio comes with some pretty good tools to design your xml schema.

Once your schema is done, on paper or in a program like Visio work out the flow of your application, and also us it to prototype an interface layout.

Once you get through all that you can use your Visio layout as a work flow model and start building the actual program interface and code.

As a rule i always test each major piece of code as i go along. Test it throughly, try to make it crash. Fix, move on to next major functionality.

HomeBizNizz 3rd December 2009 06:11 PM

Re: Visual Basic
 
PHP is a script language.
You don't compile it to machine code.

And you should go for Object Oriented code.

Adam Carolla 4th December 2009 04:09 AM

Re: Visual Basic
 
It is an user defined language,But comparatively good than others.

countkenshin 7th December 2009 01:53 AM

Re: Visual Basic
 
At first..
define your problem
difficulties that end users might be experiencing
inputs you will be needing
process you ill be doing
outputs you will be producing
errors you might encounter during the process

create a flowchart

stellamary 7th December 2009 02:58 AM

Re: Visual Basic
 
Good information.Your answer is short and exact I really had the meaning of the problem solving with the output producing development of the managerial process of the programming.

milo_pl 8th December 2009 09:06 AM

Re: Visual Basic
 
You might want to check out some VB programming forums like Xtreme Visual Basic Talk - Powered by vBulletin or VBForums - Visual Basic and VB .NET Discussions and More!

Sheraton 1st April 2010 07:20 PM

Re: Visual Basic
 
Hello all My name sheraton and my wife and I are new to the forum. Warm welcome to all.

sandy007 2nd April 2010 06:24 AM

Re: Visual Basic
 
This is for example for you research moreon date and time functioni am helping ith part of codes:
Dim dtmTest As Date

dtmTest = DateValue(Now)

Dim dtmTest As Date

dtmTest = TimeValue(Now)

intDOW = Weekday(Now) ' intDOW = 6


When necessary to refer to a day of the week in code, VB has a set of built-in constants that can be used instead of the hard-coded values 1 thru 7:

Constant Value

vbSunday 1

vbMonday 2

vbTuesday 3

vbWednesday 4

vbThursday 5

vbFriday 6

vbSaturday 7


Example:

intMonth = Month(Now) ' intMonth = 8

Example:

intDay = Day(Now) ' intDay = 31try to arrange in logic

best of luck



SANDY

Rembo 4th April 2010 03:20 PM

Re: Visual Basic
 
Why not write it in Excel/VBA?
Fairly easy to do, lots of help forums on the internet to assist you.

jminkler 4th April 2010 07:50 PM

Re: Visual Basic
 
Quote:

Originally Posted by EWGQDD (Post 1452395)
When do you think VB will be outdated? Will it always be supported? If not what will replace it VB.net? Is it wise to learn VB6?

I am not a mathmatics guru but have heard that VB6 is one of the simpliest to learn, I am planning on learning PHP programming soon, it seems to be pretty easy, just coding with alot of memory of syntax and commands, am I right? Much like a more complicated HTML language.

VB will be outdated much the same as when IE 6 will be outdated, when corporations stop using it.

LynxSI 6th April 2010 09:05 PM

Re: Visual Basic
 
desertofwater:
I realize this thread is spread out over a long period of time. But at the chance that you are receiving email notifications I thought I'd respond.

VB6 is already long outdated. I am a programmer who began my journey in VB4 more than 15 years ago and have followed the various replacement technologies ever since.

I would recommend skipping straight to VB.net if you can. This jump was pretty big from VB to VB.net, but each successive jump after that is not as hard. My current favorite language/environment is C#.

Eitherway your original question is the same regardless of the language. Define your problem, then your requirements for the program. Prototype an interface and then add funcitonality.

LaurenJadeTaylor 8th April 2010 11:43 PM

Re: Visual Basic
 
Visual Basic is the third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model. VB is also considered a relatively easy to learn and use programming language, because of its graphical development features and BASIC heritage.

lucasdean123 15th October 2010 01:01 AM

Re: Visual Basic
 
Basically produce a list of your requirements as well as section them off into logical groups then you need to define the inputs as well as outturns of each logical group as well as interaction between them.

margaritamaker 27th October 2010 08:07 PM

Re: Visual Basic
 
use VB.net it really easy to use and has OOP.

phpbbxpert 28th October 2010 02:35 AM

Re: Visual Basic
 
First to the OP

If you are in a class for programming, you should not be requesting others on the internet to help you figure out how to do it.
Outsourcing homework is just wrong and you wont learn a thing!
If your in the class then you should have learned something and gotten some type of resources to work with, eg. book, links etc...

Quote:

Originally Posted by EWGQDD (Post 1452395)
When do you think VB will be outdated? Will it always be supported? If not what will replace it VB.net? Is it wise to learn VB6?

I am not a mathmatics guru but have heard that VB6 is one of the simpliest to learn, I am planning on learning PHP programming soon, it seems to be pretty easy, just coding with alot of memory of syntax and commands, am I right? Much like a more complicated HTML language.

The current is VB10 - Visual Basic 2010

Also PHP is nothing like HTML.
PHP is a server language and is the business end of the code.
Completely different items, syntax and levels of knowledge required to successfully use it (securely).


All times are GMT -6. The time now is 12:13 AM.