Results 1 to 15 of 15

Thread: Help me please!

  1. #1
    Guest

    Exclamation


    Help me PLEASE!
    Does anybody here know HOW to build an application in VB?

    I've tried:
    • Everything
    • Anything
    But with no success whatsoever!

    Here is my code so far, my friends helped me a lot with it!
    Code:
    Option Explicit
    Please help me soon!
    And what does this do?
    Code:
    On Error Goto Bed

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Cool

    OK, will help you with this one:
    Code:
    Private Sub Form_Load()
    Dim i as integer
        For i = 1 To 10
            MsgBox "Hello World!"
        Next i
    End Sub
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Guest

    Thumbs down Thanks but...

    Where does that code go? How do you put controls on the class module? Why don't you use Dim I As Internet? Where does the Option Explicit go? And why does On Error do a GoTo Bed? What is a massage box? What do I do for I? Who's next? Is this sub really privately mine? I thought I live in a house. Why can't I do "Private Ship" instead?
    HEEEEEELP!!!

  4. #4
    Guest

    Question Why doesn't this work?

    Why doesn't this work?
    Code:
    Nonprivate Ship Sea_Cutter(I Am As If Smart)
        Massage For I And For U
        Say "NEXT!!!"
    Start_A_New Ship
    HEEEEEEEEELP!!!

  5. #5
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    I suggest you take a course. Nobody here can teach you vb from scratch over the internet.

  6. #6
    Guest

    Unhappy Re: Take a course...

    I don't have enough money...
    Can't you just Dim Guide As Internet???

  7. #7
    Guest

    Post Answer me please...

    My good friend Aaron Young told me that I can post any VB question I have on this forum and I will definitely get an answer from all you experts!

    I guess you aren't like that

  8. #8
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    If you have any specific question, I am glad to help. But with questions like
    Does anybody here know HOW to build an application in VB?
    I can only say, Yes I do know how to build an application in VB. It's my job for almost 2 years now.

    About the Dim Guide as Internet question:

    With Dim you dimension a variable as a specific type.
    This type can be native to VB, or one specified in an object library connected to your application. To connect an object library to your application, you can select it with: Project --> References

    eg If you add a reference to the Microsoft Internet Controls library your able to use Dim Guide As InternetExplorer

    So if there is an object library with an Internet object, and you have added a reference to it, you can use Dim Guide As Internet.



  9. #9
    Guest

    Angry How dare you?!?

    How dare you?!? I have my references!!!
    I think the local library has many objects... They're called "books". But they have no books on VB, even if I give them my references.
    How can you program a 2-year job in VB?
    I've tried, this is my code so far:
    Code:
    Option Explicit
    How did you learn to program in VB? It's impossible, it's such a hard language. C++, Assembler, Pascal, those are easy... But VB is hard!
    I don't understand the concept of forms. Where do you send the 10h interrupt to display the graphics?
    Why doesn't this work:
    Code:
    Option Explicit
    asm INT 10h
    HELP! Any serious people here?

  10. #10
    Guest
    Just incase your not B.S. us all.....

    First get a copy of VB for dummies to start off with. This will help you immensely.

    The forms are your main item in VB. The form holds controls, such as buttons labels pictureboxs and all the other "Tools" in VB. VB is also a event driven language, unlike Basic which is a inline language. To write your first VB app do the following.

    Load the standard project.

    Add one command button on to the form.

    Double click on the command button. This will bring up the code section for the command button. You should see something like this

    Code:
    Private Sub Command1_Click()
    
    End Sub
    In here you will add the code to make the button do what you want it to.

    Code:
    Private Sub Command1_Click()
      
      msgbox "Hello World"
      
    End Sub
    The code that I added will bring up a message box that says "Hello World" when you run the program and click on the command button.

    This is the very bare bones basics of VB programming. I would suggest to you to look at the sample programs in VB and to read the "Getting Started" section of the online books in VB.

    Good luck,

    Roger

    [Edited by RvA on 04-16-2000 at 10:23 AM]

  11. #11
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Thumbs up

    Ok, I think you should start with Qbasic, to learn the language, then you could use VB
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  12. #12
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Wink You will get it !

    Dont worry friend VB is not at all tough. just Download some tutorials from vbworld.com and you will learn everything in VB. Also don't forget to view threads daily and post if you dont know anything. Uwas also like you a few month back and at present I know major part of Vb. I have written my own program too of 768 lines !!

  13. #13
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Angry

    Are you anonymoshe trying to pull our legs???



  14. #14
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    By the sound of things you're going from C++ tyo VB, in VB you have to do F*** All, you don't need to build an App, just press F5 and the program will run, If you want to compile the App so you can put it on your HD and run it without using VB you can use Make Project 1 from the file menu.

    Hope this helps.

  15. #15
    Junior Member
    Join Date
    Mar 2000
    Posts
    23

    Smile

    Hi, if you want me to teach you vb from scratch i will be glad to. Just e-mail me at: [email protected] and we can start a course of free by e-mail. K. C-Ya Soon bye...
    Rember to visit my website at www.c-interactive.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width