Results 1 to 4 of 4

Thread: Visible propertys...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    240
    I want to make a program thats invisible to the user....can i do it by setting the forms visible property to false? or do i have to use VBscrpit to accomplish this? or what do i need?
    i appreciate any help....thank you


    //"Screams"..BASIC!!!!//

  2. #2
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    If you mean that you want to write a program that has no user interface (i.e, no forms), you can do this:
    1. In a new project, remove Form1 from the project.
    2. Go to the Project menu and add a new module.
    3. Go to the Project menu again and make sure the "Start up object" is set to "Sub Main"
    4. Write all your code in the module. The module must have a Sub called "Main", and this is where your program will start.

    You can still use MsgBox and InputBox in a program like this. For example, you might want to display a MsgBox that says "Done" right before the End statement.

  3. #3
    Lively Member Backbraker's Avatar
    Join Date
    Dec 2000
    Location
    Lummen, Belgium
    Posts
    117
    You can also use :

    me.visible = false
    Breaker

    (VB 6.0 ENT SP3 WIN 2000 PROF)=> WORK
    (VB 6.0 ENT SP3 WIN ME)=> HOME -> Upgrade to .NET is coming

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    why not juz set the Visible properties to False during design time?

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