-
Need Some Help!
Hello
i have make little tool for my CD
I want if some 1 click on the button' i have make so open the file what i need to be
my coding
Private Sub XPButton1_Click()
Shell "\autorun.hta"
End Sub
the file i need to open in button its format to *hta
some 1 please help me for that
thank you.
-
Re: Need Some Help!
"hta" file extension must be associated with some program that "knows" what to do with that file type.
If you know the program then you will need to create "file association" first and then use ShellExecute (this windows api function is much more powerful then ordinary Shell) api function to run the file.
All of the above can be found using forum search.