CR Techies: Visual Basic

Home Forums Computers / Electronics / Online CR Techies: Visual Basic

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #603966
    Chortkov
    Participant

    Does anybody here have any experience with Visual Basic programming? I have learnt the basics, but i was wondering if anybody wants to share code snippets here.

    I have basically worked out the code, but not how to implement it powerfully – i can make programs like calculators, word processors, spell checkers and the like, but nothing that will link with the external computer. For example – using the Visual Basic GUI to create a taskbar button, or to change the wording on the ‘Start’ button at the bottom-left corner of the screen. Does anybody know how to import system information into the program?

    And also, although this is really basic, can somebody teach me the Do…Loop..Until command sequence?

    #885525
    jbaldy22
    Member

    try w3schools they are a very good resource and will have all the answers you need – personally unsure as to why you are learning visual basic and not java.

    #885526
    Chortkov
    Participant

    Is Java a Graphic User Interface (GUI)? Is it code or can you actually design the program yourself by drawing up the buttons and text boxes, and simply filling in the code yourself?

    Also, I found the program on my computer (the visual basic 6 interface), and i just started on it. VBA is also useful for macros in any Microsoft Office program.

    What are the pros and cons of Java? What are the pros and cons of VB?

    #885527
    ItcheSrulik
    Member

    Pros of Java: It’s a powerful cross-platform programming language that is similar to C++ but easier to learn

    Cons: you can’t do low-level systems stuff with it. Some things are counterintuitive and hard to learn

    Pros of VB: You can start writing complex GUI programs as soon as you start learning

    Cons: You can’t do anything serious beyond macros.

    #885528
    pcoz
    Member

    mamash ah shaygetz – I used to work for a corporate running approx $150m printing business on a VB app

    #885529
    HaLeiVi
    Participant

    Using VB you can start with VB.NET, and build pretty advanced applications. However, you still can’t do low level programming.

    #885530
    pcoz
    Member

    It is incredibly unlikely that the shoel wants to do low level programming that would not be possible in VB.net

    #885531
    Chortkov
    Participant

    RPT: Does anybody know how to access information on VB from a different source on the computer? [E.g. to get the Username of the current logged on user, or to work out the Version of WIndows, or anything tiny like that]

    #885532
    pcoz
    Member

    All these things are pretty much command line utilities that are included in a standard windows install. You could call the exe’s from within the VB app, there are probably fancier ways of doing this though.

    Maybe have a look for command line utilities that will give you the info you need and then figure out how to call them

    #885533
    jbaldy22
    Member

    you could just use a simple shell command if thats what you are looking for

    #885534
    2scents
    Participant

    Some of our systems are written in VB, the Pro is that anyone with just a little programing knowledge can right away see how the software is constructed.

    in reality, almost anything can be done with any language, you would just need a different approach.

    #885535
    Chortkov
    Participant

    Can somebody like give me an example? A sample code line?

    #885536
    pcoz
    Member

    look for SystemInformation.UserName on msdn

    #885537
    2scents
    Participant

    A great book, Sam Teach yourself programming in 24 hours.

    #885538
    HaLeiVi
    Participant

    2scents, one thing I tried to do and found no work-around for, is to recover data. There is just no way to access the hard drive raw.

    #885539
    pcoz
    Member

    Try python

    #885541
    dash™
    Participant

    2scents, one thing I tried to do and found no work-around for, is to recover data. There is just no way to access the hard drive raw.

    This isn’t an VB issue, in VB you can make any API call including those involving RawDisk and it will work if you run it on older versions of Windows. The problem is that any User Mode program has limited access to RawDisk regardless of group membership.

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.