Tip of day form

Posted on 2002-04-14
Last Modified: 2010-05-02
I've got 2 problems getting the default "Tip of Day Form" to work in my project.

I have a stock standard splash screen that launches my Main Menu Form.

I want the Tip of Day form to display after the Main form has loaded. How do I do this????

The Tip of Day Form has a checkbox that that gives you the option of showing tip of Day form on startup or not showing it. This value is written to the registry. When I uncheck the checkbox ,the Tip of Day form no longer loads on startup. The only problem is I haven't worked out how to get the form to show again.

What's the best way to get it to start??
Question by:backflash
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
LVL 45

Expert Comment

ID: 6940003
You will need to include a checked menu option or option dialog checkbox accessable from somewhere in your application.

I assume you are storing/retrieving this setting upon shutdown/startup.  If not, you will always show the tip form with EVERY startup.

Expert Comment

ID: 6940285
u can show it in Help menu. as IE provides.


Expert Comment

ID: 6941218

If I've interpreted yourt question correctly, what you could do is this:

In the form_load event of your startup form, Hide your startup form, load the mian form and set it's visible property to true, followed by showing your startup form.

If you want to put the option of showing the startup form in your main form, you could create a menu to show "Tips of the day" that sort of thing.

That's it!

glass cookie : )
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.


Author Comment

ID: 6943451
Thanks for the comments people,
But I was  at that stage when I posted the question.

When I show the Tip of Day form and then unchek the checkbox to not show it in future, I cant work out how to get it to show again.
If I use the command I just produces an error message

Expert Comment

ID: 6944250

How about trying:

Tip.Visible = True

If you still get an error, then I suppose it's got something to do with some coding in your Form_Load event or any other events related to your Tip form being visible.

Did you use any API calls that deals with your GUI, and what was your error message?

That's it!

glass cookie : )
LVL 45

Accepted Solution

aikimark earned 50 total points
ID: 6945023
In the Tip form, do the following:

Sub Form_Load()
  If boolShowTip Then
    Unload Me
  End If
End Sub

Note 1: you still need to add code to save the ShowTip setting, both from the Tip form and in the main form with the Option menu item.
Note 2: Your Tip form will need to retrieve the saved ShowTip value.

Author Comment

ID: 6962484
Good Enough

Thanks aikmark

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 131
Zip Folders Using Chilkat Routines 1 86
IF ELSE Statement in Excel Macro VBA 16 103
Powerpoint 2013: Change cell reference in excel link 3 140
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question