by desertofwater Banned
21 replies
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?
#basic #visual
  • Profile picture of the author mywebwork
    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
    {{ DiscussionBoard.errors[1450932].message }}
  • Profile picture of the author TrafficMystic
    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
    {{ DiscussionBoard.errors[1452262].message }}
    • Profile picture of the author Steve Wells
      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.
      Signature
      Need Custom Graphics Work? - Message Me For A Design Quote!
      {{ DiscussionBoard.errors[1452395].message }}
      • Profile picture of the author da1fitz
        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
        {{ DiscussionBoard.errors[1452645].message }}
      • Profile picture of the author Johnny12345
        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
        {{ DiscussionBoard.errors[1452761].message }}
      • Profile picture of the author jminkler
        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.
        {{ DiscussionBoard.errors[1950236].message }}
      • Profile picture of the author phpbbxpert
        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).
        {{ DiscussionBoard.errors[2786929].message }}
  • Profile picture of the author techgirl
    What type of application you are developing? If you are developing simple database application it would be easy
    {{ DiscussionBoard.errors[1455563].message }}
  • Profile picture of the author VisualWebEffects
    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.
    Signature
    VisualWebEffects- Web Application Development, PC Software Development and Identity Design services
    {{ DiscussionBoard.errors[1455910].message }}
  • Profile picture of the author HomeBizNizz
    PHP is a script language.
    You don't compile it to machine code.

    And you should go for Object Oriented code.
    {{ DiscussionBoard.errors[1456925].message }}
  • Profile picture of the author Adam Carolla
    It is an user defined language,But comparatively good than others.
    {{ DiscussionBoard.errors[1458382].message }}
  • Profile picture of the author countkenshin
    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
    {{ DiscussionBoard.errors[1468957].message }}
    • Profile picture of the author stellamary
      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.
      {{ DiscussionBoard.errors[1469136].message }}
  • {{ DiscussionBoard.errors[1474494].message }}
    • Profile picture of the author Sheraton
      Hello all My name sheraton and my wife and I are new to the forum. Warm welcome to all.
      {{ DiscussionBoard.errors[1939975].message }}
  • Profile picture of the author sandy007
    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
    {{ DiscussionBoard.errors[1941426].message }}
  • Profile picture of the author Rembo
    Why not write it in Excel/VBA?
    Fairly easy to do, lots of help forums on the internet to assist you.
    Signature
    Smarter Affiliate Money. Work Smarter, Earn More.
    {{ DiscussionBoard.errors[1949666].message }}
  • Profile picture of the author LynxSI
    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.
    Signature

    Ben Swayne
    Lynx System Integrators Ltd.
    Ben Swayne's Blog | Barcode Scanners and Label Printers

    {{ DiscussionBoard.errors[1958802].message }}
  • Profile picture of the author LaurenJadeTaylor
    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.
    {{ DiscussionBoard.errors[1968066].message }}
  • Profile picture of the author lucasdean123
    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.
    {{ DiscussionBoard.errors[2728208].message }}
  • Profile picture of the author margaritamaker
    use VB.net it really easy to use and has OOP.
    {{ DiscussionBoard.errors[2785858].message }}

Trending Topics