I have a very small program that opens up internet explorer (here it is):

Private Sub Form_Load()
Page$ = "d:\myfile.html"
ShellX = Shell("explorer.exe " + Page$)
End Sub

There are two things I would like to do with thism but I have no clue how to do it.

1) I am using Form_OnLoad which automatically launches IE once the program is activated. The problem, however, is the form actually pops up too. I would like the program to just run and have IE start but do not have the form from my program to show up.

2) This program will be located on a CD Rom and I want it to open a .html file that will be on this CD Rom. The problem, however, is that I cannot hard code the pathway for the CD rom because the CD Rom will be different from machine to machine.

How can I set Page$ = "d:\myfile.html" so that it will open myfile no matter what drive it is on?

Can someone please help? I have no clue how to do either of these.

Thanks,
Master Incubus