Results 1 to 7 of 7

Thread: I need help with a program

  1. #1
    Join Date
    Jul 2005
    Location
    SC
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I need help with a program

    Ok i'm new to the hole programing thing with visual basic. I have visual basic 6 on the computer, and i have created a program. The only problem is that it will not save an exe. How would i go about saving the vb1 file and my form file with all of that code into a exe file? I know wht the visual studios you can just save it and it will turn into a exe file inside of my bin foulder, but with visual basic 6. I'm totally lost. I had to downgrade because my last computer exploded.... Well someone help please.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    If I remember correctly (haven't used VB in several years), there's an "export as EXE" option somewhere in the File menu.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2005
    Location
    SC
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah i looked for that, i could find it anywhere. I think i might have a bad virson.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Hm... stick with a real programming language Perl, Python and PHP are all good for beginners.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jul 2005
    Location
    SC
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah i'm new to the whole computer thing. My little brother got me introested in websites, and so i'm trying to learn everything i can. So far i have made a calculator for my taxes that are coming up soon. Also i made a oops bug. I mistaked a do loop thingy with a for next. So basicly i had a never ending error box. Oopps. I think i'm going to look into php some because my brother seems to know a little about it. I'm proud of myself because i have already surpassed him in everything he knows. oh i have another problem with the visual basic. Num3 = num1 + num2. It added the virables together like this Num1 = 95 num2 = 52 and num3 = 9552. Why did it do that? I had to use, num3 = num1 - (num2 * -1) That worked, but the other one didn't. What did i do wrong? Well, thanks for the help you have given me so far twey.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The problem, from your description, is that the "numbers" you're trying to add together aren't numbers at all, but strings. If you declared them as strings, don't. Use integers instead. If you declared them as Variant, remove the quotes from around the values when you assign them.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Jul 2005
    Location
    SC
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah i delcared them as doubles, i tried the integers and it worked. Thanks for your help.

Bookmarks

Posting Permissions

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