July 2, 2012 10:13 pm at 10:13 pm #603966
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?July 2, 2012 10:48 pm at 10:48 pm #885525jbaldy22Member
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.July 2, 2012 10:55 pm at 10:55 pm #885526
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?July 2, 2012 11:50 pm at 11:50 pm #885527ItcheSrulikMember
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.July 3, 2012 2:37 am at 2:37 am #885528
mamash ah shaygetz – I used to work for a corporate running approx $150m printing business on a VB appJuly 3, 2012 12:28 pm at 12:28 pm #885529HaLeiViParticipant
Using VB you can start with VB.NET, and build pretty advanced applications. However, you still can’t do low level programming.July 3, 2012 11:08 pm at 11:08 pm #885530
It is incredibly unlikely that the shoel wants to do low level programming that would not be possible in VB.netJuly 4, 2012 1:03 pm at 1:03 pm #885531
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]July 5, 2012 5:03 am at 5:03 am #885532
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 themJuly 5, 2012 5:32 am at 5:32 am #885533jbaldy22Member
you could just use a simple shell command if thats what you are looking forJuly 5, 2012 10:42 am at 10:42 am #8855342scentsParticipant
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.July 5, 2012 12:37 pm at 12:37 pm #885535
Can somebody like give me an example? A sample code line?July 6, 2012 2:01 am at 2:01 am #885536
look for SystemInformation.UserName on msdnJuly 16, 2012 7:22 pm at 7:22 pm #8855372scentsParticipant
A great book, Sam Teach yourself programming in 24 hours.July 17, 2012 2:07 am at 2:07 am #885538HaLeiViParticipant
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.July 17, 2012 2:23 am at 2:23 am #885539
Try pythonJuly 17, 2012 10:48 pm at 10:48 pm #885541dash™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.
- You must be logged in to reply to this topic.