-
Im in a bit of a bind. I need to have my app on a cd by morning. I am attempting to make a splash screen that gives the user an option to install my app or to click on various links that open their default browser and navigate them to a specific website. I already know how to make the autorun.inf and use the shellexecute to open their default browser. What I dont know is how to run this splash screen app without first installing it on their system? Dont I have to install the required .dll's before they can even view the splash screen app? Or can I just place the required files onto the root of the CD?
Please help!!! Any info would be more than helpful.
Thanks
Dubi
-
First off I'm guessing your splash screen is written in VB. If so the user will need the VB runtime dlls installed (or available on the root of the CD - I *think*). If it's just a splash screen that should do you, but why not just do the spash screen in HTML and get the browser to display it?
Alternativly, there are some programs out there that will make you stuff like that, compile it to a stand-alone exe and allow you to put it on CD. We've used one here before, but the name escapes me. If you want to, email me & I'll dig it out for you.
-
Found A Solution
Well....with a little research and a whole lot of frustration I managed to figure out the problem. All I needed to do was create a .bat file that determined if the application dependent .dll's were already on the user's computer. Then if not.......install them with the copy command in the .bat file. I used the autorun.inf to open the batch file and then the batch file launches my splash screen app. It took me til 4AM but I finally got it done and it works like a charm.
Thanks anyway for the input kleve. I appreciate it.
dubi
-
oops...one more question
anyone know how to do a mouseover effect in VB6? Im using an image control and would like to replace one image with the other upon mouse over. I noticed that there is a mouseMove Event but I cant set the properties to determine the coordinates of the image control.
Just curious....not that big of a deal.
Thanks
dubi
-
MouseMove is what you want. Try this :
Code:
Private imageLoaded As Boolean
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If imageLoaded Then
imageLoaded = Not imageLoaded
Picture1.Picture = LoadPicture("Picture to show when mouse over form")
End If
End Sub
Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Not imageLoaded Then
imageLoaded = Not imageLoaded
Picture1.Picture = LoadPicture("Picture to show when mouse over image")
End If
End Sub
Note that I'm using the imageLoaded to stop it loading the same thing over and over again. A boolean test should be a bit quicker than loading a file :)
There's probably a more elegant way to do it, but this works.