|
-
Aug 17th, 2012, 12:56 PM
#1
Thread Starter
Junior Member
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.
-
Aug 18th, 2012, 11:15 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|