Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 2nd Dec 2009, 08:40 AM   #1
Banned
 
Join Date: 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Visual Basic
Share on: 
fb share twitter share gplus share more share

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?
desertofwater is offline  
Unread 2nd Dec 2009, 09:06 AM   #2
VIP Warrior
War Room Member
 
ereadergold's Avatar
 
Join Date: 2008
Location: Montreal Canada
Posts: 2,390
Thanks: 1,017
Thanked 836 Times in 572 Posts
Blog Entries: 1
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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
ereadergold is offline  
Unread 2nd Dec 2009, 03:12 PM   #3
Steve Hawkins
War Room Member
 
TrafficMystic's Avatar
 
Join Date: 2009
Location: Whitleybay, uk
Posts: 1,880
Thanks: 67
Thanked 1,125 Times in 221 Posts
Blog Entries: 3
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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

TrafficMystic is offline  
Unread 2nd Dec 2009, 04:02 PM   #4
Graphic Artist & Designer
War Room Member
 
Steve Wells's Avatar
 
Join Date: 2009
Location: Kansas City, MO
Posts: 2,063
Thanks: 123
Thanked 447 Times in 249 Posts
Blog Entries: 3
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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.

Need Custom Graphics Work? - Message Me For A Design Quote!
Steve Wells is offline  
Unread 2nd Dec 2009, 05:28 PM   #5
Paul Fitzpatrick
War Room Member
 
Join Date: 2009
Posts: 108
Thanks: 80
Thanked 9 Times in 9 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

Originally Posted by EWGQDD View Post

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
da1fitz is offline  
Unread 2nd Dec 2009, 06:10 PM   #6
John Palmieri, Copywriter
War Room Member
 
Johnny12345's Avatar
 
Join Date: 2007
Location: USA
Posts: 859
Thanks: 298
Thanked 409 Times in 250 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

Originally Posted by EWGQDD View Post

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

Johnny12345 is offline  
Unread 3rd Dec 2009, 11:18 AM   #7
Active Warrior
 
Join Date: 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

What type of application you are developing? If you are developing simple database application it would be easy
techgirl is offline  
Unread 3rd Dec 2009, 12:51 PM   #8
Active Warrior
War Room Member
 
VisualWebEffects's Avatar
 
Join Date: 2009
Location: Canada
Posts: 95
Thanks: 4
Thanked 36 Times in 19 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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.

VisualWebEffects- Web Application Development, PC Software Development and Identity Design services
VisualWebEffects is offline  
Unread 3rd Dec 2009, 06:11 PM   #9
A rat after money...
War Room Member
 
HomeBizNizz's Avatar
 
Join Date: 2009
Location: Inside a cheese...
Posts: 770
Thanks: 365
Thanked 80 Times in 68 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

PHP is a script language.
You don't compile it to machine code.

And you should go for Object Oriented code.
HomeBizNizz is offline  
Unread 4th Dec 2009, 04:09 AM   #10
Warrior Member
 
Join Date: 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

It is an user defined language,But comparatively good than others.

Adam Carolla is offline  
Unread 7th Dec 2009, 01:53 AM   #11
silentscope
 
countkenshin's Avatar
 
Join Date: 2009
Posts: 30
Thanks: 3
Thanked 4 Times in 2 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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

countkenshin is offline  
Unread 7th Dec 2009, 02:58 AM   #12
Active Warrior
 
Join Date: 2009
Posts: 70
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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.

stellamary is offline  
Unread 8th Dec 2009, 09:06 AM   #13
HyperActive Warrior
 
milo_pl's Avatar
 
Join Date: 2009
Location: EU
Posts: 120
Thanks: 8
Thanked 7 Times in 5 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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!


milo_pl is offline  
Unread 1st Apr 2010, 07:20 PM   #14
Sheraton Walls
 
Join Date: 2010
Location: NC
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

Hello all My name sheraton and my wife and I are new to the forum. Warm welcome to all.
Sheraton is offline  
Unread 2nd Apr 2010, 06:24 AM   #15
New Warrior Member
 
sandy007's Avatar
 
Join Date: 2009
Location: India
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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

sandy007 is offline  
Unread 4th Apr 2010, 03:20 PM   #16
Active Warrior
 
Rembo's Avatar
 
Join Date: 2010
Location: Netherlands
Posts: 54
Thanks: 8
Thanked 18 Times in 13 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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

Smarter Affiliate Money. Work Smarter, Earn More.
Rembo is offline  
Unread 4th Apr 2010, 07:50 PM   #17
WebNinja
 
jminkler's Avatar
 
Join Date: 2010
Location: Atlanta GA
Posts: 444
Thanks: 19
Thanked 54 Times in 34 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

Originally Posted by EWGQDD View Post

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.
jminkler is offline  
Unread 6th Apr 2010, 09:05 PM   #18
Active Warrior
 
Join Date: 2010
Location: Vancouver, BC, Canada
Posts: 47
Thanks: 1
Thanked 7 Times in 5 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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.

Ben Swayne
Lynx System Integrators Ltd.
Ben Swayne's Blog | Barcode Scanners and Label Printers
LynxSI is offline  
Unread 8th Apr 2010, 11:43 PM   #19
Warrior Member
 
Join Date: 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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.
LaurenJadeTaylor is offline  
Unread 15th Oct 2010, 01:01 AM   #20
Warrior Member
 
Join Date: 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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.

lucasdean123 is offline  
Unread 27th Oct 2010, 08:07 PM   #21
Warrior Member
 
Join Date: 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

use VB.net it really easy to use and has OOP.
margaritamaker is offline  
Unread 28th Oct 2010, 02:35 AM   #22
Web Developer
 
Join Date: 2010
Location: Wisconsin
Posts: 322
Thanks: 2
Thanked 80 Times in 74 Posts
Default
Re: Visual Basic
Share on: 
fb share twitter share gplus share more share

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...

Originally Posted by EWGQDD View Post

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).

phpbbxpert is offline  
Closed Thread


Bookmarks

Tags
basic, visual


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




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