Results 1 to 17 of 17

Thread: please help me

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    please help me

    My question is how can i open a single .exe file that i created in Visual Basic 6.0

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: please help me

    Double-click it.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    i created an enrollment system that is made in vb6,my problem is when m enrollment system is running you can open an exe file of my enrollment again which results to multiple login.

  4. #4
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: please help me

    If App.PrevInstance = True Then
    MsgBox "Stop it"
    End
    End If

  5. #5
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: please help me

    That's a totaly different question. To prevent multiple instances, in your main load event you need to check for: App.PrevInstance, if that returns True it means your application is already running and you need to prevent (Unload) it from running again.

  6. #6

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    is there a code in visual basic 6.0 that can manipulate that?

  7. #7

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    where should i put that code?

  8. #8
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: please help me

    The message box was a joke...

    In the Form_load - First thing

    If App.PrevInstance = True Then
    End
    End If

  9. #9

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    thanks!

    how about on the system tray?when i click the minimized button my exe file will be on the system tray.

  10. #10
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: please help me

    ????

  11. #11

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    the minimized button on the form.if you click that button the form will be minimized but not in the taskbar instead it is in the system tray.

  12. #12
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: please help me

    Use the Forum search feature. Start with "minimize taskbar".

  13. #13
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: please help me

    Using End is not a very good idea. You should take steps to properly unload and exit your application.

  14. #14
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: please help me

    What will be loaded at that point?

  15. #15

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    .yo!

    do you know how to use the tree view?

  16. #16
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: please help me

    You should probably try to do one thing at a time. That being said, you can find answers to a lot of questions by Searching the Forum, also check out the FAQ question where you'll find a lot of info on how to do most common things.

  17. #17

    Thread Starter
    New Member
    Join Date
    Aug 2010
    Posts
    8

    Re: please help me

    ,yeah..

    ^_^

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