Just App.Path.... this would return the folder of your application.
Printable View
Just App.Path.... this would return the folder of your application.
but there is a problem how to change dynamic path.
Dim pathdd As String
pathdd = App.Path
Const dd As String = "\11.chm"
Dim dd1 As String
dd1 = pathdd & dd
ShellExecute 0&, vbNullString, _
"dd1", _
vbNullString, "c:\", SW_SHOWNORMAL
but it's can't do anything.
VB Code:
Dim pathdd As String pathdd = App.Path Const dd As String = "\11.chm" Dim dd1 As String dd1 = pathdd & dd ShellExecute 0&, vbNullString, _ dd1, _ vbNullString, "c:\", SW_SHOWNORMAL
(no quotes)
yes. you are very clever.
thank u
Thank you
I got it working, thanks! Now to try and remember how to make the program call my Close function when the X in the menu bar is clicked. I can get it to close the way I want when a button is clicked, but I can't remember for the life of me how to have it call a function when the X is clicked. Tommorow I will make a new post. It's soo late.
Steve